Remember item status on OPEN HAB server restart


#1

I want to remember the status of the item even after restarting of my server.
Now, If i restart my server, all the item state is in OFF state.


#2

Try to install MapDB persistence in the addons section of paper UI, and create a file in persistence / mapdb.persist with the following syntax:

    Strategies {
            default = everyUpdate
    }
    Items {
            // persist all items on every change and restore them from the db at startup
            * : strategy = everyChange, restoreOnStartup
    }

#3

thank you… i will try this and come back soon…


#4

thank you …its working great…