you can try domoticz.variables('SoundSiren').set(domoticz.variables('SoundSiren'))
I think that the queued items are cleared when you set a new value.
afterSec(x)
Moderator: leecollings
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: afterSec(x)
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
-
- Posts: 39
- Joined: Thursday 08 December 2016 20:50
- Target OS: Linux
- Domoticz version:
- Contact:
Re: afterSec(x)
Sorry for being stupid here, but are you suggesting that setting the variable to its own value will cancel the queued items?
/M
/M
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: afterSec(x)
Yes, that's the educated guess 

Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
-
- Posts: 39
- Joined: Thursday 08 December 2016 20:50
- Target OS: Linux
- Domoticz version:
- Contact:
Re: afterSec(x)
Hi,
Are you sure it shouldn't be:
domoticz.variables('SoundSiren').set(domoticz.variables('SoundSiren').value)
With you suggestion I get a value like:
Handling variable-events for: "SoundSiren", value: "table: 0x7f2c800b7ef0"
BR,
M
Are you sure it shouldn't be:
domoticz.variables('SoundSiren').set(domoticz.variables('SoundSiren').value)
With you suggestion I get a value like:
Handling variable-events for: "SoundSiren", value: "table: 0x7f2c800b7ef0"
BR,
M
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: afterSec(x)
Ah, yeah, uf curse. Just checking if you were paying attention here :-p
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Who is online
Users browsing this forum: No registered users and 1 guest