Hi, my raspberry pi didnt start, so i used a backup.
for this i copied var/lib/openhab and etc/openhab to a fresh openhabian install.
Now my Influx Database isnt working anymore. i deleted via “sudo apt-get remove influxdb” and reinstalled it again.
I always get this error, when trying to use .previousState(true)
Script execution of rule with UID 'Tageszeit_gBewohner-2' failed: An error occurred during the script execution: Could not invoke method: org.openhab.core.model.script.actions.BusEvent.sendCommand(org.openhab.core.items.Item,java.lang.String) on instance: null in Tageszeit_gBewohner
Exactly this rule worked flawless before my raspberries crash. The influxDB isnt storing the data/isnt storing it correctly.
Can someone help me get rid of this error?
influxdb.persist
Strategies {
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
}
Items {
* : strategy = everyChange
}