Trying to control ventilation via a dimmer (device WTW) based on CO2 values (device MS1 CO2). The blockly script gets triggered every minute according to log, but nothing seems to be executed. Global user variables (WTWspeed & WTWtarget) are not updated, nothing is written to log, devices doesn't get set.
EventSystem is enabled, so is dzVents.
Manual operation of WTW dimmer via slider or event works fine.
Am I overlooking something that causes the instructions of the script not to work?
Blockly script doing nothing
Moderator: leecollings
-
- Posts: 16
- Joined: Friday 16 October 2015 16:06
- Target OS: Linux
- Domoticz version: 2023.1
- Location: The Netherlands
- Contact:
Blockly script doing nothing
- Attachments
-
- devices.png (91.11 KiB) Viewed 811 times
-
- blockly script.png (83.66 KiB) Viewed 811 times
-
- user variables.png (41.68 KiB) Viewed 811 times
-
- Posts: 16
- Joined: Friday 16 October 2015 16:06
- Target OS: Linux
- Domoticz version: 2023.1
- Location: The Netherlands
- Contact:
Re: Blockly script doing nothing
Simple test script to write CO2 value directly to log shows that it's empty.
All other values of the sensor do come throug. See images.
All other values of the sensor do come throug. See images.
- Attachments
-
- blockly all sensors.png (113.96 KiB) Viewed 795 times
-
- log all sensors.png (80.05 KiB) Viewed 795 times
Who is online
Users browsing this forum: No registered users and 0 guests