This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

EnOcean Remote Controle
#6
Create virtual bit object, to which you will link your switch. Create event based script on your virtual object and past this.
Code:
lampAddress= '0/0/7'
value = event.getvalue()

lamp = grp.getvalue(lampAddress)
if value == false then
  if (lamp == true) then
    grp.write(lampAddress, false)

    else
    grp.write(lampAddress, true)
    end
end
Change the lampAddres which is group of your light.
------------------------------
Ctrl+F5
Reply


Messages In This Thread
EnOcean Remote Controle - by Tee_Trinker - 17.01.2020, 15:35
RE: EnOcean Remote Controle - by Daniel - 20.01.2020, 08:25
RE: EnOcean Remote Controle - by Tee_Trinker - 21.01.2020, 15:08
RE: EnOcean Remote Controle - by Daniel - 21.01.2020, 15:16
RE: EnOcean Remote Controle - by Tee_Trinker - 21.01.2020, 16:34
RE: EnOcean Remote Controle - by Daniel - 21.01.2020, 16:46
RE: EnOcean Remote Controle - by Tee_Trinker - 21.01.2020, 18:17
RE: EnOcean Remote Controle - by Daniel - 21.01.2020, 18:47
RE: EnOcean Remote Controle - by Tee_Trinker - 21.01.2020, 18:54
RE: EnOcean Remote Controle - by Daniel - 22.01.2020, 08:20
RE: EnOcean Remote Controle - by Tee_Trinker - 22.01.2020, 14:00
RE: EnOcean Remote Controle - by Daniel - 22.01.2020, 14:36
RE: EnOcean Remote Controle - by Daniel - 22.01.2020, 14:54
RE: EnOcean Remote Controle - by Tee_Trinker - 22.01.2020, 15:26
RE: EnOcean Remote Controle - by Tee_Trinker - 22.01.2020, 14:53
RE: EnOcean Remote Controle - by Daniel - 22.01.2020, 15:31
RE: EnOcean Remote Controle - by Tee_Trinker - 22.01.2020, 15:48
RE: EnOcean Remote Controle - by Daniel - 22.01.2020, 15:56
RE: EnOcean Remote Controle - by Tee_Trinker - 22.01.2020, 16:55
RE: EnOcean Remote Controle - by Daniel - 22.01.2020, 17:31
RE: EnOcean Remote Controle - by Tee_Trinker - 22.01.2020, 19:31

Forum Jump: