Search found 3 matches

by Harmvv
Monday 11 May 2020 18:58
Forum: dzVents
Topic: If multiple devices are "On" then [Solved]
Replies: 4
Views: 1442

Re: If multiple devices are "On" then [Solved]



Just found out that the time is not working as well


can you try this ?

return
{
on =
{
devices =
{
23,
9,
},
timer =
{
'at 08:00-07:00',
}
} ,

logging =
{
level = domoticz.LOG_DEBUG,
},

execute = function(dz, item, info)
if item.isDevice then
dz.log('script is now ...
by Harmvv
Monday 11 May 2020 17:56
Forum: dzVents
Topic: If multiple devices are "On" then [Solved]
Replies: 4
Views: 1442

Re: If multiple devices are "On" then [Solved]

Just found out that the time is not working as well
by Harmvv
Monday 11 May 2020 17:02
Forum: dzVents
Topic: If multiple devices are "On" then [Solved]
Replies: 4
Views: 1442

If multiple devices are "On" then [Solved]

Hi I'm new to Domoticz,

I'm trying to write a script that that wil turn on/off some other devices.
The script is working so far with 1 condition but i would like that the script works with multiple conditions.

The script i have so far is:


return {
on = {
devices = {23,9} ,
timer = {'at 08 ...