set action not triggering other script
Posted: Friday 07 June 2019 16:22
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
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