Henk31 wrote: ↑Monday 09 August 2021 15:53
Following this guide I've managed to switch form the Jadahl package to the domoticz-docker. Domoticz is up and running but the P1 meter doesn't show the gasmeter. In the logs I've found the following error: P1 Slimme Meter: Gas meter clock is -1628516650 seconds ahead - wait for my clock to catch up. How can I solve this problem? Time and timezone in my Synology and docker are correct.
Had the same problem. Check the docker environment. Is will be USA. I installen another Domoticz container and made sure it is correct time zone. P1 works now.
Anyone solve the error when you try to save Settings?
Henk31 wrote: ↑Monday 09 August 2021 15:53
Following this guide I've managed to switch form the Jadahl package to the domoticz-docker. Domoticz is up and running but the P1 meter doesn't show the gasmeter. In the logs I've found the following error: P1 Slimme Meter: Gas meter clock is -1628516650 seconds ahead - wait for my clock to catch up. How can I solve this problem? Time and timezone in my Synology and docker are correct.
Had the same problem. Check the docker environment. Is will be USA. I installed another Domoticz container and made sure it is correct time zone. P1 works now.
Anyone solve the error when you try to save Settings?
finally had a moment to move to the docker image version.
1 created the docker container with all the correct mount points
2 created all the directories on the synology where the docker container maps to
3 copied al the unix scripts
4 made a backup from current running domoticz
5 stopped domoticz
6 started docker image
7 restored database(docker image is stopped automatically)
8 VERY IMPORTANT, clear the browser cache(i did not see anything until i did)
9 started docker image.
10 everything working, no write errors, i did not even had to install the usb 6.2 drivers
no i will have to wait to see everything works as axpected but a quick check learns that zwave is working as well as the RFXCOM
the only error i got was this
Status: Aeonlabs Z-wave stick Gen5: A DNS Error Occurred
this was explained in the first post
- Tab 'Volume' -> 'add folder' and select (or create and select) 'docker/domoticz', then 'connect path' -> /opt/domoticz/userdata
what you are doing here is map internal directory of the docker container(/opt/domoticz/userdata) to an external Read/write directory on your synology /volume1/docker/domoticz
so the docker container thinks it is writing to userdata but it actually writes to an external directory on your synology.
Gravityz wrote: ↑Sunday 29 August 2021 20:55
this was explained in the first post
- Tab 'Volume' -> 'add folder' and select (or create and select) 'docker/domoticz', then 'connect path' -> /opt/domoticz/userdata
what you are doing here is map internal directory of the docker container(/opt/domoticz/userdata) to an external Read/write directory on your synology /volume1/docker/domoticz
so the docker container thinks it is writing to userdata but it actually writes to an external directory on your synology.
and what is inside the scripts directory.
please check if you have the same directories as i have, if not create them.
also create the backup directorie and enable automatic backups
automatic backups are enabled from domoticz-settings-system.(but first create the directories below)
please note that write errors are most of the times caused because domoticz can not find an existing directory.
so please look at my directory structure and compare it with yours.
please open the complete directory structure like i did
you need to have these directories on your synology
volume1/docker/domoticz/backups
volume1/docker/domoticz/scripts
volume1/docker/domoticz/scripts/dzvents
volume1/docker/domoticz/scripts/logrotate
volume1/docker/domoticz/scripts/templates (this directory has to include the templates from container /opt/domoticz/scripts/templates)
volume1/docker/domoticz/scripts/dzvents/data
volume1/docker/domoticz/scripts/dzvents/dumps
volume1/docker/domoticz/scripts/dzvents/generated_scripts
volume1/docker/domoticz/scripts/dzvents/scripts
Henk31 wrote: ↑Monday 09 August 2021 15:53
Following this guide I've managed to switch form the Jadahl package to the domoticz-docker. Domoticz is up and running but the P1 meter doesn't show the gasmeter. In the logs I've found the following error: P1 Slimme Meter: Gas meter clock is -1628516650 seconds ahead - wait for my clock to catch up. How can I solve this problem? Time and timezone in my Synology and docker are correct.
Had the same problem. Check the docker environment. Is will be USA. I installen another Domoticz container and made sure it is correct time zone. P1 works now.
THX! Installed another domoticz container which solved the problem
Anyone else has made the jump to DSM 7.0 yet? And got synology on dockers running?
Like to know more experience.
famous wrote: ↑Thursday 05 August 2021 22:58
I just updated my synology (DS218+) this evening to DSM7.
Domoticz didn't work ....like expected, but after backup, remove and install from synology package ...it did install successful and it runs. Before it did never and choose manual install.
After restore my database there were some missing files and directories which i solved with copy those folders from https://github.com/domoticz/domoticz/re ... tag/2020.2
After that it runs without errors, only the P1 meter is still a problem.
I followed what earlier was mentioned about the insmod of those 2 modules. Now i see the USB in Domoticz but still don't work.
When i 'cat' the usb-device i see it is communicating (i see data) so, there must be something missing on synology side.
I'm not sure about giving admin rights to Domoticz. I did it from services and then applications. I choose group and admins giving rights ...
Still the P1 meter doesn't work ... i guess i make some mistake on that giving admin rights to domoticz.
Anyone who knows?
Further my house is working again with domoticz on DSM7.0
Hello,
Update to DSM7.0 ok, the last docker contains python and very soon curl, so it's really easy to use it.
Download the official image (domoticz/domoticz), create with autostart and high privilege, complete the folder part (docker/domoticz - /opt/domoticz/userdata) and the ports (replace Auto, avoid 443 used by the system).
Create a plugin folder in userdata and that's it !
Deufo wrote: ↑Tuesday 05 October 2021 15:51
Hello,
Update to DSM7.0 ok, the last docker contains python and very soon curl, so it's really easy to use it.
Download the official image (domoticz/domoticz), create with autostart and high privilege, complete the folder part (docker/domoticz - /opt/domoticz/userdata) and the ports (replace Auto, avoid 443 used by the system).
Create a plugin folder in userdata and that's it !
Thanks for your reply. Do you also use the USB ports, for RFXCOM, zigbee2mqtt, or something like that? Also had a discussion ongoing about this topic on FB, and there it was mentioned that dockers and DSM7 is a no-go if you want to keep using USB.
See this for more info: https://www.youtube.com/watch?v=S2Uu35xi11E