Logic Machine Forum
EnOcean Remote Controle - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Hardware (https://forum.logicmachine.net/forumdisplay.php?fid=12)
+--- Thread: EnOcean Remote Controle (/showthread.php?tid=2428)

Pages: 1 2


RE: EnOcean Remote Controle - Tee_Trinker - 22.01.2020

value press: 1879048192
value release: 0


RE: EnOcean Remote Controle - Daniel - 22.01.2020

Code:
lampAddress= '0/0/7'
value = event.getvalue()

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

    else
    grp.write(lampAddress, true)
    end
end
The same only with the 4byte object as trigger


RE: EnOcean Remote Controle - Tee_Trinker - 22.01.2020

YES....it Works Cool Big Grin Big Grin Big Grin

Thank you!!!!!!!!