Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with domoticz docker image #5

Closed
kipusoep opened this issue Jan 13, 2022 · 4 comments
Closed

How to use with domoticz docker image #5

kipusoep opened this issue Jan 13, 2022 · 4 comments

Comments

@kipusoep
Copy link

Hi!

The apt packages are not all available inside the official domoticz docker image.
Following the installation steps will work for the running container, but whenever it gets recreated, it'll be all gone.
So how could I use this with the docker image? I'm afraid that I'll have to create my own image based on the official image, or are there other ways?

@kipusoep
Copy link
Author

And isn't it possible to have the wideq_state.json file inside the userdata folder? That would be much better for the docker setup, because userdata is a docker volume and thus accessible.

@majki09
Copy link
Owner

majki09 commented Jan 13, 2022

And isn't it possible to have the wideq_state.json file inside the userdata folder? That would be much better for the docker setup, because userdata is a docker volume and thus accessible.

Hi @kipusoep!
I created an issue for that and will check if this is possible.
Thanks for this notice!

@majki09
Copy link
Owner

majki09 commented May 25, 2022

Hi @kipusoep.
I have played with domoticz and docker recently and found that both plugin and wideq_state.json file have to be under /userdata folder. Since that folder is a docker volume this will keep them safe while container re-creations. Also I've made changes (392f5c1) to the code to have state file in the plugin folder - no more moving after generation! 😄

@kipusoep
Copy link
Author

Works now :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants