DaveL17 wrote:Can you say a bit more about what you'd like to accomplish? Maybe you don't yet know what you want (totally understandable), but if you have any visualization ideas, it would help.
Are you looking for a chart per room? Are you looking for a graphic that represents your whole home at once? If you have data on a room like this: empty = 0 / occupied = 1 (or False/True, etc.), we can work with it in the Matplotlib plugin.
A good question indeed....
I need a rethink on how MatPlotLib works.
At the moment - as far as I can tell, every 15 minutes the current state of the motion detector is taken - whatever that state is, It is recorded to the csv. Then a graph plotted against that.
I guess I am looking for something more..
Well I don't really know.
Some sort of representation of the room usage.
i.e. Lounge in use for multiple hours, but a hallway/loo/bathroom/kitchen for shorter periods.
For the current way I use MPL it only captures longer term usage and will only capture transitory room usage occasionally.
I guess I need a way to capture date and time each time motion is triggered and its duration then represent that usage in a graph of multiple rooms.
Nothing fixed but I guess @elmwood's Graph maybe what I want.
Just casting around at the moment.
Appreciate the input form people, very much appreciated