Sorry if this has been asked before but I couldn't find it in a search
I have a blockly that, If door sensor = ON and someone home = OFF send notification. The issue is, my door sensor is always ON. So, if the last person leaves the house, the someone home switch turns OFF and I get a notification because both are now true. However, I only want to be notified if the door sensor changes status when someone home = OFF. Is it possible to specify only one status change to trigger a Blockly event?
Trigger Blockly on specific device status change
Moderator: leecollings
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Trigger Blockly on specific device status change
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
-
- Posts: 141
- Joined: Saturday 14 March 2020 13:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Location: Germany
- Contact:
Re: Trigger Blockly on specific device status change
A quite old posting without any reply. I have a similar challenge: A Blockly script should trigger something only if a value has changed. In my case I want to change a user variable if the the energy meter (Watt) changes.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Trigger Blockly on specific device status change
This is not possible in Blockly. You wil have to script this in one of the other script alternatives.imautohuttraeger wrote: ↑Sunday 06 December 2020 14:27 A quite old posting without any reply. I have a similar challenge: A Blockly script should trigger something only if a value has changed. In my case I want to change a user variable if the the energy meter (Watt) changes.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 141
- Joined: Saturday 14 March 2020 13:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Location: Germany
- Contact:
Re: Trigger Blockly on specific device status change
OK, many thx for your quick reply!
Who is online
Users browsing this forum: No registered users and 1 guest