I’m running OH2 and have installed the mapdb persistence addon.
However, I see nothing about storing the states and is also does not restore them on restart.
Do I need to install something extra in the OS?
All I need to do is get my states to be remembered. I’ve built a sprinkler system using a Pi but running on a 500mA USB PSU which restarts the Pi as soon as the 8th relay latches. This makes any further programming impossible. Every change on the items file causes the Pi to restart which causes a further 6min delay while I wait for everything to start up.
I even looked into using Logging (log file driven state storage which would be perfectly fine)