-
-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Item value no more persisted => problem in persistence strategy loading ? #3617
Comments
@J-N-K : could it be rather your PR #2871 that would have broken the loading of the persistence strategy ? |
Can you show the .persist file? |
File unchanged since a very very long time:
And the item no more persisted is
I have removed the file and I am restarting OH to be sure that the RRD file is not created again. |
I see my temperatures in |
So "everyChange" is not working? |
I see that storing every minute for GTemperature* and GSuiviConsoElec* is done. |
Items in GVirtualData are also stored ! |
Either
Was there a change in what return item.getStateAs(DecimalType.class) for a switch item ? I will have to add logs in this method to be sure. |
It seems to be an RRD4J issue, because it works with InfluxDB |
Ok, after adding more traces, I can tell you that |
@J-N-K : are you sure it is not the new |
No, but I just created a new Item
and I see every change in my influxdb. |
I can restore the snapshot 3440 which I think was a build from the third of May and certainly before your PR was merged and see if it works again ? |
I can also try to change the group of my switch item to move it in GVirtualData as I see that Number items in that group are persisted. That could help to understand if the problem is the group or the item type ? |
Interesting, if I change the group of my item (from GParametres to GVirtualData) , then it works !
So, apparently, the second "group" of this line is now ignored ?
|
If I replace in my file rrd4j.persist this line
by
Now it works for my items in group GParametres. So there is certainly something broken in the handling of these lines when there are more than one group ? |
That's strange, because I don't remember having changed something there, but I'll check that. |
I have a persisted switch item (RRD4j).
This item is linked to nothing, it is used as a parameter for my rules.
When I restart OH, its value is not restored (I see nothing in events.log).
It was set to OFF using UI before stopping OH.
It is with snapshot 3470 but I believe the problem appeared in previous snapshots.
As there were only one change regarding RRD4j (making the service writing asynchronously to DB), I suspect that change.
The text was updated successfully, but these errors were encountered: