naofireblade / homebridge-weather-plus

A comprehensive weather plugin for homebridge.
MIT License
314 stars 63 forks source link

Direction of temperature change #61

Open dkahia opened 5 years ago

dkahia commented 5 years ago

This is an enhancement request. It would be helpful to know if the current temperature is decreasing or increasing. There might be better ideas on how to implement this, but it might work if the current reading is higher than the last two readings, then a value would indicate the temperature was rising. If the current reading is lower then the last two, then the temperature is going down. If previous readings are the same, or higher and lower, or no readings are available, then the value would indicate staying steady.

dacarson commented 7 months ago

In the Eve application, the temperature is history is shown. For just an understanding if the temperature is going up or down, you can take a look at the graph.

If you would like to add automation events based on if the temperature is going up or down, then a new sensor would be needed so that it can report if it is going up or down. Though I am not sure the value of this.