Update device with no trigger stopped working - Dzvents

Post Reply
Milifax
Posts: 72
Joined: Friday 23 June 2017 9:27
Target OS: Raspberry Pi
Domoticz version: v3.8094
Location: The Netherlands
Contact:

Update device with no trigger stopped working - Dzvents

Post by Milifax » Thursday 12 October 2017 11:01

Hi all,

In my Dzvents sctipt I used this line to update a sw switch to an on state without really triggering it. The switch is used in another script, so I needed to update it in script #1 without setting it of in script #2.This was working great.

Code: Select all

domoticz.devices('Huiskamer Lampen').update(1,1)
However, I now updated to v3.8564 of Domiticz and the funciton seems to not work anymore. Instead it does trigger the script #2.

Has anything changed on this issue with a new Dzvents version maybe?

Thanks in advance

User avatar
emme
Posts: 644
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Update device with no trigger stopped working - Dzvents

Post by emme » Thursday 12 October 2017 12:48

domoticz.devices('Huiskamer Lampen').update(1,1).silent()

maybe?
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

Milifax
Posts: 72
Joined: Friday 23 June 2017 9:27
Target OS: Raspberry Pi
Domoticz version: v3.8094
Location: The Netherlands
Contact:

Re: Update device with no trigger stopped working - Dzvents

Post by Milifax » Thursday 12 October 2017 20:45

emme wrote:
Thursday 12 October 2017 12:48
domoticz.devices('Huiskamer Lampen').update(1,1).silent()

maybe?
Thanks for pointing that out to me.

The command

Code: Select all

domoticz.devices('Huiskamer Lampen').switchOn().silent()
works. It switches to the on-state but doesn't execute any other scripts. Great!

dannybloe
Posts: 1086
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: Update device with no trigger stopped working - Dzvents

Post by dannybloe » Friday 13 October 2017 10:41

Yes, that's new functionality. I deliberately made it so that a followup event is always issued unless you use the silent() option. Just to make things more predictable and controllable.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests