Hi,
I made a block;y script that triggers on time. It checks the time and temp and if applicable sets a aircondition switch from "Off" to "Cool".
If you do this manually on the dashboard, the device changed event triggers another script acutally sending the appropiate command to the AC unit.
For some reason using the set command in the blocky script isn't working. I was quite sure this was working before upgrade to 4.10717
for testing purpose I was changing the time and temp to make sure the thing triggers. I did see the log entry "Running evening AC script" but the script listening to the device change on AC Mode never fired.
I did gave the hardware and the virtual device the same 'AC Mode' name.
Any ideas?
Kind regards,
Jeroen
set action not triggering other script Topic is solved
Moderator: leecollings
-
- Posts: 11
- Joined: Thursday 17 May 2018 16:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: set action not triggering other script
I don't work very often with Blockly and have not tested with versions before V4.10717 but to get it working with this version you will have to use a Level(%) Block because using the level-name does not set the level.Jheronymus wrote: ↑Friday 07 June 2019 16:22 I made a Blockly script that triggers on time. It checks the time and temp and if applicable sets a air condition switch from "Off" to "Cool".
If you do this manually on the dashboard, the device changed event triggers another script actually sending the appropriate command to the AC unit.
For some reason using the set command in the Blockly script isn't working. I was quite sure this was working before upgrade to 4.10717
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: 11
- Joined: Thursday 17 May 2018 16:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: set action not triggering other script
thx! That solved it.
Who is online
Users browsing this forum: No registered users and 1 guest