InfluxDB bundle generates incomplete database queries at openHAB startup #1879
Comments
openHAB should be run with oracle Java (1.7 or 1.8) due to compability problems |
Thanks for the advice @udo1toni, I will try installing Oracle Java instead and will report back! |
I installed Oracle Java 1.8, but unfortunately, the behaviour I described above still persists. Any other ideas? |
I can confirm the behaviour @hoalex has described. What has changed in 1.7? |
I will have a look at it. |
I found the bug. The State is null but the Operator is not null. Why? I will prepare a Pull Request. |
Influxdb persistence Bugfix for #1879
fix merged into master |
Thanks @theoweiss. Just downloaded the compiled .jar from CloudBees, restoreOnStartup now works perfectly 👍 |
Cool, thanks for testing. |
* master: (23 commits) Add support for Aeotec 5th generation keyfob influxdb persistence bugfix for issue 1225 openhab#1225: log warnings not errors influxdb persistence bugfix for issue 1879 openhab#1879 fixed page handling Set exeuction environment to 1.7 in XMPP action. influxdb persistence bugfix for issue 1879 openhab#1879 Log if XMPP connection is encrypted or not Remove reconnectionFailed callback in XMPP action Improve connectionClosedOnError logging in XMPP action Let the server choose an XMPP resource for openhab Don't use reconnectionSuccessful() callback Add Smack sources to XMPP action Raise javac source/target level to 1.7 in XMPP action Fix for http binding not responding to wildcard outgoing commands Update to allow launch from Eclipse IDE added Wago Binding to build Bugfix openhab#1980: if refresh rate is not set in anel-configuration, the default rate for refresh thread (60s) was not read properly, so it used 0s instead. This caused the refresh rate to call 'execute()' every 0s which results in 100% cpu usage. Nibe heat pump: Fixed wrong compressor total operation time divider. Add a test for parsing exec binding IN config Use StringUtils.isEmpty in XMPP action Add xpp3 to Eclipse config of XMPP action ...
* zwave-database_updates: (24 commits) Add support for Aeotec 5th generation keyfob Add Linear PD300Z-2 openhab#2001 influxdb persistence bugfix for issue 1225 openhab#1225: log warnings not errors influxdb persistence bugfix for issue 1879 openhab#1879 fixed page handling Set exeuction environment to 1.7 in XMPP action. influxdb persistence bugfix for issue 1879 openhab#1879 Log if XMPP connection is encrypted or not Remove reconnectionFailed callback in XMPP action Improve connectionClosedOnError logging in XMPP action Let the server choose an XMPP resource for openhab Don't use reconnectionSuccessful() callback Add Smack sources to XMPP action Raise javac source/target level to 1.7 in XMPP action Fix for http binding not responding to wildcard outgoing commands Update to allow launch from Eclipse IDE added Wago Binding to build Bugfix openhab#1980: if refresh rate is not set in anel-configuration, the default rate for refresh thread (60s) was not read properly, so it used 0s instead. This caused the refresh rate to call 'execute()' every 0s which results in 100% cpu usage. Nibe heat pump: Fixed wrong compressor total operation time divider. Add a test for parsing exec binding IN config Use StringUtils.isEmpty in XMPP action ...
I'm using the InfluxDB persistence bundle to store the temperature values of my FHT80b devices. I also have defined "restoreOnStartup" in "influxdb.persist", so that the last temperature values are set after restarting openHAB. Sadly, this does not work for me.
When restarting openHAB, I get the following messages at stdout for every item that I have defined in influxdb.persist:
Obviously, there is a part missing after the "where" clause.
New temperature values are correctly saved in InfluxDB, and can be queried by the InfluxDB web interface and also Grafana, so the "saving" part works just fine. It's only the initial startup, i.e. the "restoreOnStartup" part, that fails.
I'm using the following versions:
openHAB: 1.7.0 nightly from 24/12/2014
InfluxDB persistence bundle: 1.7.0 nightly form 24/12/2014
InfluxDB: 0.8.7
running on Debian Wheezy 7.7 (64-bit)
Any help on this?
The text was updated successfully, but these errors were encountered: