user variables in blockly

Moderator: leecollings

Post Reply
jenicek
Posts: 2
Joined: Tuesday 03 September 2019 19:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

user variables in blockly

Post by jenicek »

Hello.
I create in blockly control of boiler operation. When I enter data for switching times in numbers, everything is OK. When I use a variable, the system is not working properly. Example: switch on after 60 sec. works correctly.

but

turn on after entering the user variable in the integer format NO.

Other variables work (temperatures).

What am I doing wrong?

Thank you
J.
jenicek
Posts: 2
Joined: Tuesday 03 September 2019 19:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

yet: user variables in blockly

Post by jenicek »

yet: it's about process timing, breaks, etc. When entered into fields in blockly data in numbers, everything is functional. If I replace the number field with a variable, the system behaves differently and badly. The logic in blockly is the same
DaanT
Posts: 14
Joined: Friday 23 August 2019 10:11
Target OS: Windows
Domoticz version: 2020.2
Location: Belgium
Contact:

Re: user variables in blockly

Post by DaanT »

Hi jenicek,

A user variable does not trigger events when changed.
Maybe that's your problem, an event with just a user variable in the if statement will never run.

Daan
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest