Page 1 of 1
Error with Blockly scirpt
Posted: Friday 14 June 2024 13:25
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
- dom1.png (64.57 KiB) Viewed 1605 times
The error it produces is

- Error message
- dom2.png (11.99 KiB) Viewed 1605 times
Re: Error with Blockly scirpt
Posted: Friday 14 June 2024 13:44
by jvdz
I believe that the "On For" is wrong and should simply be "On for 4 minutes".
Re: Error with Blockly scirpt
Posted: Friday 14 June 2024 14:00
by Jelle2882
I now have this

- dom3.png (53.08 KiB) Viewed 1599 times
but the error keeps accuring
Re: Error with Blockly scirpt
Posted: Friday 14 June 2024 14:27
by gizmocuz
Instead of using Level(%) use a number like you do for the temperature
Re: Error with Blockly scirpt
Posted: Friday 14 June 2024 14:33
by Jelle2882
The sensor is a humidity sensor that doesnt detect temprature
Re: Error with Blockly scirpt
Posted: Friday 14 June 2024 14:44
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.