-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid sensor values reported when equipment is offline #22
Comments
I'm seeing this too. I'll try to help with finding the max values. |
Did some testing and it was kind of a bust. Method was this...
ran 4 conditions and pasted the results of the above template into the attached spreadsheet.
DaikinOne Integration Power Loss testing.xlsx When everything is off, the Daikin Android app showed the thermostats offline after 5 or so minutes. |
OK, so took another look. What seems to happen is that there is a temporary spike in a lot of values when the equipment is powered ON or OFF. The values do not remain high while the equipment is powered off. I looked at the history graphs for the 4 devices (Thermostat, Heat pump, Furnace, EEV). You can see the spikes in the images: You can't really tell from the pics which lines are spiking. The middle area of the graph between the spikes is when all the equipment is powered off (breakers off). I went through each of the graphs and these are the ones that spike high temporarily at power on or off transitions: So the high values on those sensors should be ignored. As for detecting when the devices have lost power (or internet), the other thing that happens is that there are actually no updates while the equipment is off. When I download the history graphs and look at the timestamps on each data point that is obvious. |
I’ve been seeing this behavior as well. I’m guessing the equipment has returning a value of -1, as all of the spiked values are 2^x -1. For example, several fields return 65535, or the max value in a 16 bit field. |
When equipment stops reporting, for example due to being powered off, the values for at least some sensors go to their max values. I've seen outdoor unit temperature sensors at 215 after flipping the breaker.
We should likely return
None
from the sensor in these cases. The tedious part will be determining the max values for different API fields so they can be filtered out.The text was updated successfully, but these errors were encountered: