Add "events" to history graphs to show cause-and-effect #81
Unanswered
Grayda
asked this question in
Experimental ideas
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your idea
It's cold in my room, so I turned the heater on. To work out the temperature increase, I looked at the graph for my temperature sensor. And while I did see an increase, I don't remember exactly when I turned my heater on. Yes I could look at when I turned my heater on via Developer Tools > States (or Settings > Devices) and then go back to the graph, but it'd be nice to be able to make relationships between entities so you could see what effect X has on Y.
My idea is to let you "link" states and entity events to entities. You'd set them up similarly to triggers for automations and when viewing historical graphs, they'll show up so you can mouse over them and see what happened at that moment.
Why is this exciting?
This would let people do things like primitive energy usage tracking. For example if you've got a vibration sensor on your dryer, and a Rainforest Eagle-200 that measures your total home electricity usage, you could link the sensor to the dryer, then look at your energy consumption and see "vibration detected at 5pm, energy usage went up 2 kW/h" to know what effect something has on something else.
Potential use cases
Anything else?
Here's a simple mockup. Stuff would appear maybe as a vertical line, or maybe a dot along the line, and mousing over it would show the change in state that caused the line or dot to appear.
Binary sensors, basic events and simple true / false comparisons would work best. For example, "door open", "room occupancy > 3", "camera motion detected", "humidity < 50%", "helper is on AND TV is on" so you don't get a line / dot every time the temperature increases by 0.1 degrees or whatever.
Beta Was this translation helpful? Give feedback.
All reactions