I am trying to have a graph with a count of the times a door or the gate gets opened. Both variables are using "Yes" and "No" as values. But it does not seem to work, so help me understand, when I add a variable and select:

- average will calculate the average values of the variable on the sample period of one minute for the minute graph or one hour for the hour graph if I am correct. In my case it would count the "Yes" states as 1 and the "No" sates as 0, so if the door opens and closes in a one minute period the average would be 0.5 ? not what I would use in my case but I trying to make sure I understand correctly.

- count: does it count each change or only the "Yes" ? is it a count per period of one minute for the minute graph and one hour for the hour graph ?

- what about Max and Min: in my case, it would always be 1 for Max and 0 for Min ? it would be a good choice to show if a door has been opened during the minute or hour ?

- I don't understand the "Events UP", "Events Down" and "Events Change" choice, as I don't see the effects on the graphs. What is a typical use for these ?

And thank you for the great plugin, seeing the data in a graphical way is really useful !