This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed Solved
Logic Question - Boolean
I have a Flow which sets a Boolean Value Alarm_Active to ticked
This ends up with a logic value of Yes
I have then set up a (currently test flow) to detect an NFC tag (right now, any NFC tag) and then change the status
However, no matter what I do, the status of Alarm_Active is reported as True on the notification.
Oddly, I also seem to get a new logic variable being created:
So, what I'm confused about is:
1) Why is my variable not changing state?
2) What am I doing wrong?!
And also
3) Are all these variations still talking about the same things?! Why are there so many different representations of boolean variables? Depending where the tag is used you seem to use a tick box, it's true/false or it's Yes/No - am i misunderstanding or is this all over the place?!
This ends up with a logic value of Yes
I have then set up a (currently test flow) to detect an NFC tag (right now, any NFC tag) and then change the status
However, no matter what I do, the status of Alarm_Active is reported as True on the notification.
Oddly, I also seem to get a new logic variable being created:
So, what I'm confused about is:
1) Why is my variable not changing state?
2) What am I doing wrong?!
And also
3) Are all these variations still talking about the same things?! Why are there so many different representations of boolean variables? Depending where the tag is used you seem to use a tick box, it's true/false or it's Yes/No - am i misunderstanding or is this all over the place?!
Tagged:
This discussion has been closed.
Comments
Alternatively, if you mean flip to other options then they are text or numeric, which this is neither as it's boolean
U can set the boolean to true or false then. Am not at home so cannot check.
How do I update a variable value? I've tried the set a numeric variable card in the when column
For example:
This shouldn't do anything but check that #Alarm=1 and then change #Alarm to 0...
Instead it has the effect of creating a numeric tag called 1 whcih is set to 0 and doesnt change Alarm?
That's not just funky, it's plain wrong...
How can we report this to Athom?
Is an open issue that will be probably be fixed in the new homey app, not possible to be fixed how it is implemented now.
Don't suppose you happen to know how I can interrupt and stop a flow midway through?! That's my next challenge... disable doesnt work as that just disables the entire flow...
You could try to work around it if it is something you can deactivate with another flow.
One flow will be essentially "sound alarm", which I want to sound continuously until a deactivation command is given (say NFC on Homey)...
In fairness, it was relevant to the conversation in any of the places I mentioned it - most people don't read every thread so if there is a relevant discussion ongoing then I don't think it hurts to bring it up in a different thread - with different people answering there is different knowledge to tap.