Hello,
it does look like my Group:Number:AVG is not persisted by standard rules for some reason.
All “normal” items are persisted when belongs to the group
gStore10
which is persisted every 10minutes
But none of these are:
Group:Number:AVG House_Pressure "Avg. Pressure [%.1f hPa]" <pressure> (gStatus, gStore10)
Group:Number:AVG House_Temperature "Avg. House Temperature [%.1f °C]" <temperature> (gStatus, gStore10)
Group:Number:AVG House_Humidity "Avg. House Humidity [%.0f %%]" <humidity> (gStatus, gStore10)
Group:Number:AVG House_Quality "Avg. House Air [%.1f %%]" <carbondioxide> (gStatus, gStore10)
Group:Number:AVG FF_Temperature "Avg. First Floor Temperature [%.1f °C]" <temperature> (gStatus, gStore10)
Group:Number:AVG GF_Temperature "Avg. Ground Floor Temperature [%.1f °C]" <temperature> (gStatus, gStore10)
gStore10* means to persist all members of a group named gStore10.
That’s ambiguous when a group is itself a member - here you want the group value, but its equally valid to interpret as all members of the “subgroup”.
I think you must specify each group individually (with no *).
well my thinking was House_Temperature is member of the group gStore10 so it would be stored as well.
So you are suggesting to specify those Group items separately in persistence?
But wouldnt this solution store each value in that average group (which is not wanted)? I would like to store that avg value somehow
Is there any reason why Group which is member of other group is not stored? Eg. This is kind of special group which has got value on top of it, which would be nice to be able to store
I don’t remember the reason but what rossko57 says is the case. The only way to persist the state of a Group Item is to list that Item individually in the .persist file.
so I’ve tried to put AVG group there and nothing.
I mean, I do have stored values which are in that group by having tham in gStore10 anyway, but I wanted to store AVG
Do I really need to compute it again from originals? It does not seem to be right
I can’t draw graph based on Group:Number:AVG then ;/
because why not as I haven’t have specific group in persistence, just gStore10* before.
Anyway, it’s not storing desired number even after restart sadly.
2.5.1 snap, influx
I doubt its a factor that your target group is also still a member of gStore10, where recording of it’s value will be rejected.
But maybe persistence only gives us one bite at the apple - I know it is clever enough to avoid duplicates.
Try removing target from other group (and sadly, once more reboot).
That was a momentary bug that appeared somewhere around snapshot build #1638 and was fixed somewhere around build #1640. You just need to upgrade to a newer snapshot.