I try to do a LUUP with Work With VEra (Nest), but I have a problem my Luup don’t work.
I think my Get ModeState not working but why ?
local state = luup.variable_get(“urn:upnp-org:serviceId:HVAC_UserOperatingMode1”,“ModeState”,33)
if state == ‘Heating’
then
luup.call_action(“urn:upnp-org:serviceId:SwitchPower1”, “SetTarget”, {newTargetValue = “0”}, SCirculateur)
end