I'm trying to use a scene state as a condition for turning off some lights in the morning, but the code says my scene has state 'On' when the web UI reports is as being mixed?
When i used code:
domoticz.scenes().forEach(function(device)
domoticz.log(device.name .. ' ' .. device.state)
end)
It lists my scenes with their state:
2018-02-05 10:12:57.198 dzVents: Info: ------ Start internal script: Status: Device: "Status (Dummy)", Index: 381
2018-02-05 10:12:57.230 dzVents: Info: Rörelse för 133 min sen, sänglampa tändes/släcktes för 540 minuter sen och scen släck allt är On
2018-02-05 10:12:57.230 dzVents: Info: Släck allt On
2018-02-05 10:12:57.230 dzVents: Info: Släck tak Off
2018-02-05 10:12:57.231 dzVents: Info: Vakna On
2018-02-05 10:12:57.232 dzVents: Info: Hemma Mixed
2018-02-05 10:12:57.233 dzVents: Info: Ingen hemma Mixed
2018-02-05 10:12:57.233 dzVents: Info: ------ Finished Status
The status according to web UI is
Släck allt = Mixed
Släck tak = Off
Vakna = On
Hemma = Mixed
Ingen hemma = Mixed
I'm trying to use that the "Släck allt" is mixed but it's reporting 'On', why is it the only scene reporting different state from the UI? Should it not report the same state?
Version: 3.8875
Build Hash: 3674fa59
Compile Date: 2018-02-02 16:03:49
dzVents Version: 2.4.1
Thanks
Pär
dzVents scenes report different state than UI
Moderator: leecollings
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: dzVents scenes report different state than UI
Interesting. I didn't know that scenes could have a mixed state. I'll add it to the todo list to look into this.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Who is online
Users browsing this forum: No registered users and 1 guest