Hi,
Anybody got a clue why the heater in the heater in the garage is not turning on?
Today all three conditions were met; temp below 8 degrees, solarpanels producing more than 1000 watts and heater was off.
Blockly script not working
Moderator: leecollings
-
- Posts: 7
- Joined: Monday 02 January 2023 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Eindhoven
- Contact:
Blockly script not working
Raspberry 3B with Raspberry PI OS
- waltervl
- Posts: 5293
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Blockly script not working
What is the trigger for the script? Should be device or time or All (not preferred).
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5293
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Blockly script not working
It seems you need the if-then block (without the blue gearwheel).
You used the else-if block....
You used the else-if block....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 625
- Joined: Saturday 21 September 2019 17:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.1
- Location: The Netherlands
- Contact:
Re: Blockly script not working
Your script tests for actuals > 1000 kWh while your mail mentions > 1000 Watts?
Which unit does your sensor show? Factor 1000?
-
- Posts: 7
- Joined: Monday 02 January 2023 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Eindhoven
- Contact:
Re: Blockly script not working
Hi,
Thx for the replies!
I changed the if then block to one without gearwheel.
Hopefully this works!!
Triggers are in the script.
Solaredge reports watts and kwh (although i named it kWh).
I've got it on a different system where it's responding to watts.
Thx for the replies!
I changed the if then block to one without gearwheel.
Hopefully this works!!
Triggers are in the script.
Solaredge reports watts and kwh (although i named it kWh).
I've got it on a different system where it's responding to watts.
Raspberry 3B with Raspberry PI OS
-
- Posts: 7
- Joined: Monday 02 January 2023 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.7
- Location: Eindhoven
- Contact:
Re: Blockly script not working
Hi,
An update; the script is running as expected by now!
Thx for the help.
An update; the script is running as expected by now!
Thx for the help.
Raspberry 3B with Raspberry PI OS
Who is online
Users browsing this forum: No registered users and 1 guest