How to use tags in a flow on 2.0.x
There are a lot of questions about using the tags in the 2.0.x firmware of Homey. So here i give you a simple explanation of using tags in 2.0.x.
We start with the WHEN part
When making a flow you select a device in the WHEN part of the flow. In this example i used a Fibaro plug.
When selecting the device you get the option to choose “The power changed” f.e.
When clicked you will see the tag(s) coming with this card. We gonna use that tag later, no need in clicking it at this point!
Hit the check mark at the top right!
Your WHEN part should now look like this:
Now we make the AND part
Here is where we actually start using/clicking the tags.
For some occassions we can use the tags in the AND part for like checking if power goes up.
We get the logic card in here and we check “is greater than”. Then we click the tag and a page will open with all your tags. We choose the tag at the top where it states “Local tags”. We choose, in my case, the “power” tag. In the next screen we click the middle, empty line, and we fill in the value we need. In my case i used 100. Hit the check mark!
Your AND part should now look like this:
And the THEN part
We can do whatever we like with this. Just send a push notification to your phone.
But we can also use the tags here. For example to send the actual power in a message to your phone:
After adding a card in the THEN part we choose “Mobile” and after that we choose “Send a push notification”.
Then we have to pick a user ofcourse. And then, in the “Your message” line you can type something like: The power of your device changed and is (Now click the tag on the right side of the very same line you are typing in, select the “Power” tag on the top under Local Tags).
Don’t forget to hit the save icon on the top ofcourse.
Your THEN part should look like this: