pgielen wrote: ↑Wednesday 24 July 2019 23:11
I am also having the same problem. Dzvents just turns off randomly, it seems.
Sorry but I need a bit more information to be able to help.
Do you see anything in the log around the time dzVents stops
Did you check for an unexpected camera in your domoticz
What suggestions made in this topic did you already try
Is your domoticz system accessible from the internet and if so did you check that it can only be accessed using a strong password / VPN or similar security level
Is your LAN or any system on it that can access domoticz accessible from the internet and if so; secure enough
I'll have to check. It's a bit of a problem now that I am still on vacation, but is there a way to check every 10 minutes or so if dzvents is still active, from within another scripting language (since only dzvents turns off, not the other languages) so I can get a notification when it happens again?
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring
pgielen wrote: ↑Saturday 27 July 2019 19:07
Is there a way to check every 10 minutes or so if dzvents is still active, from within another scripting language (since only dzvents turns off, not the other languages) so I can get a notification when it happens again?
Sure. Create a virtual switch 'dzVents' and use this combination of dzVents and Blockly
return
{
on = { timer = { "every minute" }},
execute = function(dz)
local dzVents = dz.devices('dzVents')
dzVents.cancelQueuedCommands()
dzVents.switchOn().afterSec(120)
end
}
dzVents check alive Blockly
dzVents.png (62.94 KiB) Viewed 2875 times
copy code below to your clipboard and import into a device triggered Blockly script. The Blockly is set to send an alert using the pushover subsystem but you can easily change that to one of the other notification subsystems.
Thanks done it and checked it; it works! Now I can wait and see if it happens and examine the log on the right time. Apparently the delayed switch command, once triggered, does not depend anymore on the dzvents systems being active. I only have to remember to switch off the virtual switch manually after turning dzVents back on, otherwise it will stay on.
https://robothuis.nl, RPi4B, RFXCOM XL, Aeotec Z-Stick, ESP Easy, Weatherstation, several switches and sensors, Ikea Trädfri, Philips Hue, Foscam, Reolink, Lyric T6, Ring