Hi
I have a small 4 button remote and a Fibaro dimmer. All is want is to push button one to turn the light on, if its off, or off, if its on.
This is what I have so far…
[code]local value = luup.variable_get(“urn:schemas-upnp-org:device:DimmableLight:1”, “Status”, 7)
if (value = “1”) then
luup.call_action(“urn:schemas-upnp-org:device:DimmableLight:1”, “SetStatus”, {NewStatus = “0”}, 7)
else luup.call_action(“urn:schemas-upnp-org:device:DimmableLight:1”, “SetStatus”, {NewStatus = “1”}, 7)
end[/code]
Any suggestions please
Many thanks
Martin