OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Persist ozw-admin settings (allinone image) #111

Closed kpine closed 2 years ago

kpine commented 4 years ago

It looks like the ozw-admin settings file is saved in /root/.config/OpenZWave/ozw-admin.conf. If you follow the docker example instructions this path is not specified as a volume, so once you re-create the container you will lose the settings.

Is the path configurable in ozw-admin? If so, should the allinone image modify the path to default it to something like the USER directory (or a subdir of that)? Or are users responsible for configuring their own persistent volume, and so the docker examples should be updated, e.g. -v $PWD/ozwd/ozw-admin:/root/.config/OpenZWave?

kpine commented 4 years ago

Alternatively, exposing some of the settings via environment variables? Specifically, I was looking at the Network Object Cache setting.

davidkaplan commented 3 years ago

same issue here. Network Object Cache does not persist between sessions.