switching on user var

Moderator: leecollings

Post Reply
netric
Posts: 2
Joined: Tuesday 03 March 2020 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

switching on user var

Post by netric »

Hello,

I'm trying to create a tester for domoticz, in which does a series of actions, and in the end is checking if everything is in the correct state. I was planning to use a user_var to determine in what phase the test is, and what action then is needed.
But for some reason I can't get further than the next 'if statement'.
I created a smaller version which contain the same issue. It won't go to the 'if statement' with the scene_initial_phase = 2.
Can you help me what I do wrong?
Attachments
Knipsel2.JPG
Knipsel2.JPG (26.86 KiB) Viewed 344 times
Knipsel.JPG
Knipsel.JPG (116.5 KiB) Viewed 344 times
wouterlet
Posts: 109
Joined: Tuesday 02 October 2018 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: switching on user var

Post by wouterlet »

Changing a variable won't make your if work, if you make a dummy instead of a variable it might work...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest