Search found 4 matches

by Tjalling94
Tuesday 22 September 2020 22:13
Forum: dzVents
Topic: Notification script [Solved]
Replies: 26
Views: 3653

Re: Notification script [Solved]

You can also check the current state of your light.

Code: Select all

if domoticz.devices('lamp').state == 'Off' then
   domoticz.devices('lamp').switchOn();
end
That's enough to prevent duplicate notifications
by Tjalling94
Tuesday 22 September 2020 22:01
Forum: dzVents
Topic: lastUpdate from triggered device is now (0 seconds ago) [Solved]
Replies: 1
Views: 784

lastUpdate from triggered device is now (0 seconds ago) [Solved]

I'm running some dzVents scripts that use the 'lastUpdate' from the triggeredDevice. For some months the lastUpdate is the current time (or 1-2 sec old) while expect it to be the time it was updated before this script was called. I can't figure out what's wrong. When I call the device using domoticz ...
by Tjalling94
Sunday 01 September 2019 16:30
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 347
Views: 89913

Re: Python Plugin: Zigbee2Mqtt

That didn't solve my problem. I ended up with adding custom logging to the scripts and figured out that I entered the wrong device type (one letter). However, thanks for your help!
by Tjalling94
Sunday 25 August 2019 15:01
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 347
Views: 89913

Re: Python Plugin: Zigbee2Mqtt

Hi guys! Working with the plugin for some months, without problems. Yesterday I bought a IKEA TRADFRI LED bulb E12/E14 600 lumen, dimmable, white spectrum, opal white. This one is in Zigbee2mqtt, but not in this plugin. So I added it in devices/__init__.py and restarted domoticz: 'LED1536G5 ...