Error with Blockly scirpt

Moderator: leecollings

Post Reply
Jelle2882
Posts: 3
Joined: Friday 14 June 2024 13:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Error with Blockly scirpt

Post by Jelle2882 »

Hi,

I have a problem with my blockly script,
I have tried a couple of solutions that are posted on here but nothing seems to work
Anyone who can help ?

The script im running is
Blockly script
Blockly script
dom1.png (64.57 KiB) Viewed 1147 times
The error it produces is
Error message
Error message
dom2.png (11.99 KiB) Viewed 1147 times
User avatar
jvdz
Posts: 2206
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Error with Blockly scirpt

Post by jvdz »

I believe that the "On For" is wrong and should simply be "On for 4 minutes".
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Jelle2882
Posts: 3
Joined: Friday 14 June 2024 13:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error with Blockly scirpt

Post by Jelle2882 »

I now have this
dom3.png
dom3.png (53.08 KiB) Viewed 1141 times
but the error keeps accuring
User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Error with Blockly scirpt

Post by gizmocuz »

Instead of using Level(%) use a number like you do for the temperature
Quality outlives Quantity!
Jelle2882
Posts: 3
Joined: Friday 14 June 2024 13:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Error with Blockly scirpt

Post by Jelle2882 »

The sensor is a humidity sensor that doesnt detect temprature
User avatar
jvdz
Posts: 2206
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Error with Blockly scirpt

Post by jvdz »

Why do you have the Trigger set to all? Shouldn't that be to trigger only on device changes?
I am not sure about the hum percentage either. Could be that should simply be the value too.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests