Hi Rene,
Does the setTarget action still work in your setup? Because when I run it through a scene or directly from the device menu nothing happens. I’m trying to set it to 0.
I see this in the log:
2019-01-02 11:22:54.879 luup_log:3: ALTUI: debug: >>>evaluated trueSince(((tonumber((luup.variable_get("urn:upnp-org:serviceId:Dimming1", "LoadLevelTarget", 10024)))) < 50 and (tonumber(new)) > 7), 600), index:1 LastEval:false
2019-01-02 11:22:54.879 luup_log:3: ALTUI: debug: -----> DataProviders() null
2019-01-02 11:22:54.881 luup_log:3: ALTUI: debug: registeredWatches: {"0-10003":{"urn:upnp-org:serviceId:SwitchPower1":{"Status":{"Expressions":{"workflow":[{"WorkflowAltuiID":"0-1"}]}}},"urn:micasaverde-com:serviceId:SceneController1":{"LastSceneTime":{"Expressions":{"((luup.variable_get(\"urn:micasaverde-com:serviceId:SceneController1\", \"LastSceneID\", 10003)) == '26')":[{"SceneID":10}],"workflow":[{"WorkflowAltuiID":"0-4"}]}}}},"0-10591":{"urn:micasaverde-com:serviceId:EnergyMetering1":{"Watts":{"LastUpdate":1546424519,"LastOld":"65.35","Expressions":{"tonumber(new)<1":[{"LastEval":false,"SceneID":23}],"tonumber(new)>10":[{"LastEval":true,"SceneID":21}]},"LastNew":"61.83"}}},"0-10322":{"urn:upnp-org:serviceId:SwitchPower1":{"Status":{"Expressions":{"new=='1'":[{"SceneID":13}]}}}},"0-43":{"urn:upnp-org:serviceId:VContainer1":{"Variable1":{"LastUpdate":1546424519,"LastOld":"On","Expressions":{"new=='Off'":[{"LastEval":false,"SceneID":22}],"new=='On'":[{"LastEval":true,"SceneID":20}]},"LastNew":"On"}}},"0-2":{"openLuup":{"HouseMode":{"Expressions":{"new=='4'":[{"SceneID":37},{"SceneID":36},{"SceneID":3}],"trueSince((new == '3' and (luup.variable_get(\"urn:upnp-org:serviceId:SwitchPower1\", \"Status\", 10342)) == '1'), 240)":[{"SceneID":19}],"workflow":[{"WorkflowAltuiID":"0-3"}],"new=='1'":[{"SceneID":11}],"trueSince((new == '4' and (luup.variable_get(\"urn:upnp-org:serviceId:SwitchPower1\", \"Status\", 10342)) == '1'), 240)":[{"SceneID":19}],"trueSince((new == '2' and (luup.variable_get(\"urn:upnp-org:serviceId:SwitchPower1\", \"Status\", 10342)) == '1'), 240)":[{"SceneID":19}],"new=='3'":[{"SceneID":37},{"SceneID":36},{"SceneID":7}],"new=='2'":[{"SceneID":37},{"SceneID":36},{"SceneID":8}]}}}},"0-10583":{"urn:micasaverde-com:serviceId:LightSensor1":{"CurrentLevel":{"LastUpdate":1546424471,"LastOld":"32","Expressions":{"workflow":[{"WorkflowAltuiID":"0-3"}]},"LastNew":"30"}}},"0-10337":{"urn:dcineco-com:serviceId:MSwitch1":{"Status3":{"Expressions":{"workflow":[{"WorkflowAltuiID":"0-4"}]}},"Status2":{"Expressions":{"workflow":[{"WorkflowAltuiID":"0-4"}],"new=='1'":[{"SceneID":26}]}},"Status6":{"Expressions":{"workflow":[{"WorkflowAltuiID":"0-4"}],"new=='1'":[{"SceneID":30},{"SceneID":27}]}},"Status5":{"Expressions":{"new=='1'":[{"SceneID":29}]}},"Status1":{"Expressions":{"((luup.variable_get(\"urn:dcineco-com:serviceId:MSwitch1\", \"Status4\", 10337)) == '1' and new == '1')":[{"SceneID":25}],"workflow":[{"WorkflowAltuiID":"0-4"}]}}}},"0-10359":{"urn:micasaverde-com:serviceId:SceneController1":{"LastSceneTime":{"Expressions":{"((luup.variable_get(\"urn:micasaverde-com:serviceId:SceneController1\", \"LastSceneID\", 10359)) == '12')":[{"SceneID":33}],"((luup.variable_get(\"urn:micasaverde-com:serviceId:SceneController1\", \"LastSceneID\", 10359)) == '13')":[{"SceneID":31}]}}}},"0-50":{"urn:upnp-micasaverde-com:serviceId:Weather1":{"PrecipProbability":{"Expressions":{"((tonumber((luup.variable_get(\"urn:upnp-org:serviceId:Dimming1\", \"LoadLevelTarget\", 10024)))) < 100 and (tonumber(new)) >= 50)":[{"SceneID":32}]}},"icon":{"Expressions":{"((tonumber((luup.variable_get(\"urn:upnp-org:serviceId:Dimming1\", \"LoadLevelTarget\", 10024)))) < 100 and new == 'rain')":[{"SceneID":32}]}},"WindSpeed":{"LastUpdate":1546424574,"LastOld":"5.5","Expressions":{"trueSince(((tonumber((luup.variable_get(\"urn:upnp-org:serviceId:Dimming1\", \"LoadLevelTarget\", 10024)))) < 50 and (tonumber(new)) > 7), 600)":[{"LastEval":false,"SceneID":32}]},"LastNew":"5.55"}}},"0-47":{"urn:micasaverde-com:serviceId:EnergyMetering1":{"Watts":{"LastUpdate":1546424467,"LastOld":"135","Expressions":{"trueSince(((tonumber(new)) >= 1200 and ((timeOf(lastupdate)) >= (12*3600+00*60+00) and ((timeOf(lastupdate)) < (20*3600+00*60+00) and ((tonumber((luup.variable_get(\"urn:upnp-micasaverde-com:serviceId:Weather1\", \"WindSpeed\", 50)))) <= 7 and ((tonumber((luup.variable_get(\"urn:upnp-org:serviceId:Dimming1\", \"LoadLevelTarget\", 10024)))) == 100 and (tonumber((luup.variable_get(\"urn:upnp-micasaverde-com:serviceId:Weather1\", \"PrecipProbability\", 50)))) <= 0.6))))), 900)":[{"LastEval":false,"SceneID":28}]},"LastNew":"180"}}}}
2019-01-02 11:22:55.389 openLuup.http:: GET /data_request?id=lu_status2&output_format=json&DataVersion=421580808&Timeout=60&MinimumDelay=1500&_=1546424074991 HTTP/1.1 tcp{client}: 0x1de9f28
2019-01-02 11:22:56.438 luup.variable_set:: 10352.urn:micasaverde-com:serviceId:EnergyMetering1.KWHReading was: 1546424443 now: 1546424574 #hooks:0
2019-01-02 11:22:56.438 luup.variable_set:: 10352.urn:micasaverde-com:serviceId:EnergyMetering1.Watts was: 46.39 now: 45.13 #hooks:0
2019-01-02 11:22:56.547 openLuup.http:: GET /data_request?id=action&output_format=json&DeviceNum=69&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=GetStatus HTTP/1.1 tcp{client}: 0x1f87da8
2019-01-02 11:22:56.548 luup.call_action:: 69.urn:upnp-org:serviceId:SwitchPower1.GetStatus
2019-01-02 11:22:56.548 openLuup.context_switch:: ERROR: [string "L_Harmony.lua"]:2745: attempt to call global 'varGet' (a nil value)
2019-01-02 11:22:56.548 openLuup.http:: request completed (44 bytes, 1 chunks, 0 ms) tcp{client}: 0x1f87da8
2019-01-02 11:22:57.054 openLuup.http:: request completed (15903 bytes, 1 chunks, 1665 ms) tcp{client}: 0x1de9f28
2019-01-02 11:22:57.711 openLuup.http:: GET /data_request?id=user_data&output_format=json&DataVersion=421568685&_=1546424074992 HTTP/1.1 tcp{client}: 0x1de9f28
2019-01-02 11:22:57.822 openLuup.http:: request completed (997922 bytes, 63 chunks, 111 ms) tcp{client}: 0x1de9f28
2019-01-02 11:22:59.904 openLuup.http:: GET /data_request?id=lu_status2&output_format=json&DataVersion=421580812&Timeout=60&MinimumDelay=1500&_=1546424074993 HTTP/1.1 tcp{client}: 0x1de9f28
2019-01-02 11:23:01.942 luup.variable_set:: 10352.urn:micasaverde-com:serviceId:EnergyMetering1.Log was: 46,44,59,1546424444,3045 now: 45,44,59,1546424576,3177 #hooks:0
2019-01-02 11:23:01.942 luup.variable_set:: 10352.urn:micasaverde-com:serviceId:ZWaveNetwork1.LastPollSuccess was: 1546424384 now: 1546424576 #hooks:0
2019-01-02 11:23:02.451 openLuup.http:: request completed (15903 bytes, 1 chunks, 2545 ms) tcp{client}: 0x1de9f28
2019-01-02 11:23:02.457 openLuup.http:: GET /data_request?id=user_data&output_format=json&DataVersion=421568686&_=1546424074994 HTTP/1.1 tcp{client}: 0x1de9f28
2019-01-02 11:23:02.582 openLuup.http:: request completed (997922 bytes, 63 chunks, 124 ms) tcp{client}: 0x1de9f28
2019-01-02 11:23:03.833 openLuup.http:: GET /data_request?id=action&output_format=json&DeviceNum=69&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0 HTTP/1.1 tcp{client}: 0x1de9f28
2019-01-02 11:23:03.833 luup.call_action:: 69.urn:upnp-org:serviceId:SwitchPower1.SetTarget
2019-01-02 11:23:03.834 openLuup.http:: request completed (62 bytes, 1 chunks, 0 ms) tcp{client}: 0x1de9f28
2019-01-02 11:23:03.834 openLuup.context_switch:: ERROR: [string "L_Harmony.lua"]:2729: attempt to call global 'varGet' (a nil value)
2019-01-02 11:23:03.834 openLuup.scheduler:: job aborted : [string "L_Harmony.lua"]:2729: attempt to call global 'varGet' (a nil value)
2019-01-02 11:23:06.930 openLuup.http:: GET /data_request?id=lu_status2&output_format=json&DataVersion=421580816&Timeout=60&MinimumDelay=1500&_=1546424074995 HTTP/1.1 tcp{client}: 0x1de9f28
2019-01-02 11:23:07.456 luup.variable_set:: 10076.urn:micasaverde-com:serviceId:ZWaveNetwork1.LastPollSuccess was: 1546424391 now: 1546424585 #hooks:0
EDIT
Same error when trying actions GetTarget and GetStatus.
“openLuup.context_switch:: ERROR: [string “L_Harmony.lua”]:2729: attempt to call global ‘varGet’ (a nil value)”