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.
Virtual flow button in Homey app
Jeroenvano
Member
I would like to have a virtual button/card in the app to execute flows. I've tried to play around with Better logic BitFlip buttons but these do not seem to trigger/execute flows when they are flipped. Any suggestions?
Comments
In Homeseer I create a virtual device to store a certain time, luminance or state.
I have seen multiple simular questions on here. But can anyone tell if there will actuall be virtual devices, or only work arounds?
Don't know if this helps?
Flow 1: On NFC - No condition - Increment variable 'NFC scanned' by 1
Flow 2: On var change 'NFC Scanned' - And variable 'Lamp state' is exactly 0 - Turn on lamp, Set variable 'lamp state' to 1
Flow 3: On var change 'NFC Scanned' - And variable 'Lamp state' is exactly 1 - Turn lamp green, Set variable 'lamp state' to 2
Flow 4: On var change 'NFC Scanned' - And variable 'Lamp state' is exactly 2 - Turn off lamp, Set variable 'lamp state' to 0
Advanced:
You can modify this to use a boolean value for 'NFC scanned', flip this value in flow 1. Now you can use a virtual bitflip device OR the scanning of an NFC tag to change your lamp status
I've been asking Emile for this since the early firstbackers testing periode and he kept suggesting to use the kaku workaround.
But it never felt right triggering a flow with a card that showed a lamp as an icon while sometimes the flow didn't even contain any lamps...
So thanks very much, this will up the WAF by a 1000%!
Am I right that with the virtual button, I don't need the boolean?