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.
Comments
Assuming that the 'Verwarming...' devices in the trigger, condition and action cards are all for the same tado-zone...
- Your flow is triggered once when the target temperature setting is changed.
- The flow-condition will be true when this target temperature is NOT between 6...21 degrees. So the upper flow-actions will only be activated when you set the target temperature to 5 degrees or to 22 degrees or higher. Any temperature setting from 6 to 21 degreees will activate the lower (Anders) flow-actions.
The temperature that is used by the trigger will be the temperature that you set it to.
So when you change the temperature setting from 23 to 21 degrees, the flow-token '#Temperature' will offer the number 21.
... the condition-card will activate the lower actions (Anders) in your flow.
21 = between 6 and 21, but the check mark in the condition card makes it valid when the value is NOT between 6 and 21.
When you set the temperature again, for example to 19 degrees, the flow will trigger again, and again the lower actions will be activated. When you then set the temperature back to 23, the flow will trigger, but this time the upper actions will be triggered. (setting is not between 6 and 21)
So... as I read your flow...
- If you set the temperature somewhere between 6 and 21 degrees, the zone 'Verwarmin...' in the lower actions (Anders) will be switched off (= set to 5 degrees). If that is the same zone as the zone for the trigger card, it will switch ITSELF to 5 degrees!
Then the flow will trigger again because of the 5 degrees setting... and activate the upper action cards... because now the setting is NOT between 6 and 21 anymore, which makes the condition card valid.
Also: the number variable 'Verwarming E(ntree?)' will NEVER get the values 6 to 21 because the upper actions will only be activated when the temperature is set to 5 or to 22 (or higher) (= not between 6 and 21).
Thx for the info. Restructuring flows. Till now no errors.
status at the moment:
homey app distance home area in homey-app: 115 meters
and
in tado-app: 400 meters
i get simultan push mesages by homey with this
so when i will make 200 meters in the tado-app it should be a little bit before homeys own push message.
i will test ;-)
NOTE:
This isn't mentioned in the app's documentation but in case you didn't discover it yet... There are some Insights available for mobile devices. You'll not find them with the 'Home' device but with the 'tado' device. Because of a small imperfection of Homey it is not possible to show these Insights with the 'Home' device (yet?).As soon as the Location-based control for a phone/tablet is enabled, the logs for that device will be created and appear at Insights... and stay available as long as the mobile device is registered with your tado account.
The Insights for a mobile device will be deleted when you remove the device from your tado account at `Settings - People - YourAccount - Mobile Devices`
When I install the "Homey Logger" app it shows output like you can see below, and it just keeps on going and going and going and going.... Perhaps the developer of the app can change the polling intervals or something? Don't think it's necessary to poll the Tado devices so frequently (look at the timestamps!)
////edit:
After uninstalling the app the cpu load is decreased a lot.
Hope this problem can be investigated because I do like the app :-)
Hey Robert,
Could it be that you didn't remove all the devices (from an older version) when you installed v2.0.0?
I can imagine that this could cause this strange behavior because things have changed in the device-polling.
Nevertheless... I'm glad it seems to be working ok now.
Some extra information about the polling behavior of the tado-app:
- Polling for Device data (like temperature) is done every 7 seconds
- Device batteries: Every 60 seconds.
- Home device, weather info: Every 30 seconds.
- Home device, mobile phone/tablet data: Every 7 seconds, at the same time as device data.
I choose the longer poll-intervals for less important data like batteries and weather to relieve Homey's CPU a little bit.
tado's own web-app (https://my.tado.com/) seems to poll all data every 10 seconds. The 'Empty battery' email-warnings from tado are sent automaticly as soon as LOW is detected. Because Homey polls the batteries every 60 seconds, it is not unusual that you may get an email from tado before Homey detects a LOW... but it will always be within a minute.
I did not remove any devices before installing the app because it was a freshly installed homey (did a factory reset before). I have just installed the Tado app again and the frequent polling is still going on, the Homey logger app is being flooded with battery measurement events from the Tado app.
Also when I check my devices the battery status keeps blinking from 30% to 0% to 30% to 0%.
Do you've got any clue about what's going on? Or perhaps I can do some things for you so you can get additional logging, like run the app from the Atom CLI ?
This is what is logged every second:
That is the blinking of the battey indicators!
tado does not report an acurate battery status but only 'NORMAL' an 'LOW'. When the batteries get 'LOW', there's energy left for about a week (or a little longer).
I made the battery indicator blink once a second between 0 and 30% to indicate this LOW-status.
So:
You have (almost) empty batteries in bijkeuken, woonkamer and two slaapkamers.
A change once every minute would be confusing... you could think that the batteries are ok if you don't look at it for a minute.
I used this blinking as a warning because the batteries are almost empty and really need to be changed.
tado has no indication for batteries that are completely empty... it's just NORMAL or LOW. So if you wait too long, you might think that the batteries are almost empty when in fact they are totally empty.
I think since you can't get a "real" battery percentage from the Tado API it would be best to just go with the information Tado provides you: normal, or low.
Just like you stated in your earlier reply: Tado is gonna send you e-mails to replace the batteries anyways so why don't leave it with that for now?
We could make an improvement suggestion to Tado to provide percentages instead of "normal or low" status in their API of course.
I had almost empty batteries for one of my valves and decided to wait a while before changing them... and then forgot about them. The continues blinking battery indicator in the Homey app kept reminding me.
I will see if I can think of another solution as I don't expect tado to change their battery notice to a percentage or something like that.
I'm affraid I can only change this to a LOW or NORMAL indicator, which would mean a sudden change from full green to full red.
About 'flooding': The battery-blink is just one very small data message for each device that has almost empty batteries, once every second. I would not call this flooding. When batteries are NORMAL, the blinking stops and data exchange will return to the usual intervals.
Could you check: https://developer.athom.com/tools/app-profiling and select `com.tado`?
This will show you the CPU-use for the app during blinking. At this moment I have a value of about 2.5% in my Homey during normal use (no empty batteries)
I use the Prometheus app to export Homey data and visualize it with Grafana. Have a look at the increased CPU usage after installing the Tado app (around 18:30), and the decrease after uninstalling it (at 18:50):
I did have the same troubles, all connections were lost.
My follow up procedure:
De-install Tado app
Restart Homey
Install Tado app
Create devices in separate rooms
It's ugly, I'm aware but couldn't find any other solution.
Good luck