I re-saved as dzVent, and errors went away, but the other member in the group is not triggering correctly. I don't see anything coming up in the logs. Is my formatting correct with the "GROUP: SWITCH" entries?waaren wrote: Tuesday 26 May 2020 9:42 You saved the script as a Lua event script and not as a dzVents.
Search found 3 matches
- Tuesday 26 May 2020 17:42
- Forum: Examples & Solutions
- Topic: Auto-On, Auto-Off and Auto-OnOff
- Replies: 36
- Views: 11733
Re: Auto-On, Auto-Off and Auto-OnOff
- Tuesday 26 May 2020 7:41
- Forum: Examples & Solutions
- Topic: Auto-On, Auto-Off and Auto-OnOff
- Replies: 36
- Views: 11733
Re: Auto-On, Auto-Off and Auto-OnOff
In the following format?
SETTINGS = {
{ "GROUP1: SWITCH1", "GROUP1: SWITCH2" },
{ "GROUP2: SWITCH1", "GROUP2: SWITCH2" },
{ "GROUP3: SWITCH1", "GROUP3: SWITCH2" }
}
I currently have only one group set up in the script:
SETTINGS = {
{ "GROUP1: SWITCH1", "GROUP1: SWITCH2" }
}
But I'm getting the ...
SETTINGS = {
{ "GROUP1: SWITCH1", "GROUP1: SWITCH2" },
{ "GROUP2: SWITCH1", "GROUP2: SWITCH2" },
{ "GROUP3: SWITCH1", "GROUP3: SWITCH2" }
}
I currently have only one group set up in the script:
SETTINGS = {
{ "GROUP1: SWITCH1", "GROUP1: SWITCH2" }
}
But I'm getting the ...
- Tuesday 26 May 2020 3:46
- Forum: Examples & Solutions
- Topic: Auto-On, Auto-Off and Auto-OnOff
- Replies: 36
- Views: 11733
Re: Auto-On, Auto-Off and Auto-OnOff
I'm just getting started w/ Domoticz scripting, and these scripts are great. Are you able to explain the formatting for the OnOff one? Am I reading it correctly that the switches and groups go in the SETTINGS array, and the triggers and groups arrays will be built by the script?