The issue is opened :
opened 08:24PM - 21 Dec 20 UTC
closed 01:21PM - 29 Dec 20 UTC
bug
With an influxdb v1 database, OH3 always read historical historical state of swi… tch items as `OFF`. Yet, values are well stored in the database (can be seen with grafana).
These community posts are related to this problem:
- https://community.openhab.org/t/oh3-restoreonstartup-not-working/110592
- https://community.openhab.org/t/oh3-graph-of-switch-item/109811.
- https://community.openhab.org/t/oh3-rule-check-in-a-rule-if-item-was-on-in-past-30-minutes/110567
Please feel free to add any relevant information.
3 Likes
sirpreis
(Mario Preis)
December 21, 2020, 8:31pm
23
Thank you! Unfortunately my OH3 is broken after trying to upgrade from RC2 to the stable release… so I can’t do anything at the moment. But you said everything in the issue anyway.
sirpreis
(Mario Preis)
January 2, 2021, 4:05pm
24
The issue was fixed. I built and the latest version of the InfluxDB binding and now historicState and changedSince seem to be working.
But as was stated in the issue, it might take a while (3.1 or later) until it reaches openHAB stable.
1 Like