Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
  1. Home
  2. Hardware
  3. Z-Wave.me
  4. Docker container for Z-Way
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
UZB/RaZberry Firmwares - Update
S
Topic thumbnail image
Z-Wave.me
Docker container for Z-Way
S
Hey guys ... I've started creating a Docker container for Z-Way. I was previously using the Razberry2 but found it a bit slow on my Raspberry Pi 3. I could upgrade to a Raspberry Pi 4 but since I already run a dedicated Linux server and many Docker containers I thought it might make more sense to run Z-Way on there. GitHub: https://github.com/sofakng/docker-zway DockerHub: https://hub.docker.com/repository/docker/sofakng/zway This container is based on other containers that are no longer updated: (ruimarinho/docker-z-way) and (EugenMayer/docker-image-zway) I'd love to hear feedback and any improvements that might be needed. One thing I want to add immediately is to separate the configuration files from the Docker volume but it looks like Z-Way has several user configuration files/directories? $ZWAY_DIR/config/Configuration.xml $ZWAY_DIR/config/Rules.xml $ZWAY_DIR/config/maps $ZWAY_DIR/config/zddx $ZWAY_DIR/automation/user_syscommands $ZWAY_DIR/automation/storage $ZWAY_DIR/automation/userModules $ZWAY_DIR/htdocs/smarthome/user $ZWAY_DIR/config.xml
Z-Wave.me
Migration to Virtualisation
CatmanV2C
Not 100% sure this is the best place, but this seems to be the sticking point. Background: My NotVera system has been working perfectly now for some years. USB Z wave stick in an old Intel NUC. The NUC has a bare metal install of Debian buster, and on that we have: Z-wave Smart Home OpenLuup AltUI MSR Mosquito server Home Automation Bridge. I also have a bare metal Raspian install of Home Assistant running on a Pi Due to my Buffalo Linkstation doing some odd stuff (like suddenly disconnecting, while maintaining everything was fine) I bit the bullet and bought a Synology DS224+ Now, given the age of my NUC I'm thinking that I should probably start thinking about how to replace / safeguard it. Pretty happy that I can make an image of the existing disk and drop it onto a virtual machine in the Synology, or re-install / restore or do some other things (not decided what yet) but I get stuck on the USB dongle. Can I connect that to a VM on the NAS, or do I need another solution? TIA C
Z-Wave.me
Razberry firmware upgrade from 5.04 to 5.27
S
I have a Razberry v2 with firmware v5.04, and Bootloader v8aaa with CRC 35498 (I did manage to upgrade to this version using the "ZMESerialUpdater" tool ). I want to upgrade the firmware to v5.27, which Z-Wave.me Support say is the newest version that my hardware can handle without bricking it. Firmware v5.27 introduces the Analytics tab, according to Poltos, which is what I want. I have been studying the firmware map (https://service.z-wave.me/expertui/uzb-stats/versions-graph.html?with_hidden) which I sort-of understand. I have also got the "ZMESerialUpdater" tool to do the update, and could use it if I knew which binaries to use. My question is, what firmware update route do I use to get from v5.04 to v5.27? What exactly are the URLs of the binaries (as in "UPD_FIRMWARE_Razberry500_from_05_04_to_05_07.bin")? Somewhat confused! ScotsDon
Z-Wave.me
UZB Firmware update failed!
D
Topic thumbnail image
Z-Wave.me
Z-Wave RF optimization
rafale77R
Topic thumbnail image
Z-Wave.me
Use Scenes (2x/ 3x click) from Fibaro Roller Shutter 2 in openluup with zway bridge
E
Topic thumbnail image
Z-Wave.me
z-way-server new release
rafale77R
Lagging a little here but I just upgraded my z-way-server version and couldn't find much information on their website or even forum. https://storage.z-wave.me/z-way-server/ What is interesting for the ubuntu/debian version is that it is now released as a .deb package making upgrades much easier. I just downloaded the package and ran: dpkg -i z-way-*.deb and nothing else. The previous versions required some manual work since it was just a bunch of files for us to overwrite our installations. From the release note, there could be interesting things for some folks here. It is a pretty long list compared to the previous incremental release.
Z-Wave.me
Z-way backup strategy
A
For all systems backup is a vital part of the long-term usability. I thought that I describe my set up with Z-way so far. Hopefully others can fill in with their backup thoughts as well. I am sure that there are much more streamlined ways of doing this and hope to learn from you all. I run Z-way on a Raspberry Pi 3B+ with a daughter RaZberry card. In order to reduce the risk of getting corrupt SD cards I have it running off an SSD. So far this works very well. Setting it up was really easy just reading a standard Raspbian image onto the SSD. The only minor obstacle was that I had to test a few old 2.5" enclosures to find one that the Pi liked. The Pi is then also powered via an UPS, hopefully this will avoid problems in the event of power outages. In order to backup Z-way I have so far done manual backups from the regular Smarthome backup & restore function creating .zab files and from the Expert UI creating .zbk files. As far as I have understood the .zab files which are bigger contain more information than the .zbk files. The strategy so far has been to make backup files after each inclusion/exclusion. Also before updating Z-way. I have yet to test restoring from these files. From Smarthome it is also possible to set up cloud backup. I have not yet set up this as I need to decide that it is safe enough to do so. On the other hand I had this set up on my two Veras. It would have been nice to be able to schedule a local backup of Z-way instead of having to put them in the cloud, perhaps from OpenLuup via the Z-way bridge? In addition to the built in backup function I try to do complete image copies of the SD cards on my Pi's with Win32DiskImager. When I moved to an SSD the image file grew to the size of the SSD since it is a raw copy including all the empty space. Image files of 160GB are not practical to handle so I found a good instruction on how to shrink the .img file with Gparted in Linux: https://steemit.com/raspberrypi/@wizzle/shrink-raspberry-pi-images-using-windows-virtualbox-running-raspberry-pi-desktop By shrinking the .img file with Gparted it is now a more reasonable 4GB. These file are stored on my NAS for safekeeping. The strategy here so far is to make a new image file before updating Z-way and to use these in combination with more frequent Z-way backups. I have tested restoring a Gparted shrinked .img file to the SSD when my Z-way for some strange reason became unreachable through the regular UI but remained reachable through the Expert UI. Always good to test the restore function and to see that it works. The downside of the .img strategy is that I need to power-off the Pi for a while when making the backup. However if the Z-way backup files work then the complete .img backup need not be done so very often. //ArcherS
Z-Wave.me
Z-way video tutorials
P
Have found these videos very informative as a zway(ve) novice .... https://www.youtube.com/watch?v=kW8UXYxSI2k&t=2902s https://www.youtube.com/watch?v=wbNL0ISw58s&t=3230s https://www.youtube.com/watch?v=VU4SXNBfQx4
Z-Wave.me
Lifeline/TKB switches
P
Have a number of TKB plug switches (TZ68) that are not reporting to the controller. Believe they should be associated to Z-Way in Group 1 but am not able to get the devices to report groups in the interview/call for NIF process and so there are no associations possible. Thermosat is telling them to come on/off (hurrah!) but they don't report their on/off status in the gui. In Associations tab: Can not configure associations: groups were not reported by the device. Do interview.
Z-Wave.me
Switched from RaZberry to UZB
K
Night and day difference for me. I think I was getting a lot of interference in my media closet. Devices were very slow to respond and sometimes not at all. Switched to UZB and used a USB extender to place it a good 5 ft from the location of my pi. Now things are fast and reliable.
Z-Wave.me
UZB and Zway server installation
P
(Solved - presume pijuice hat was upset battery wasn't connected. Took out the plastic protector and UZB now showing. Next - upgrade UZB firmware) Have I missed something? UZB not showing up in Zway ... Downloaded Raspberry Pi Imager and used to set up os (Buster) on an 8gb SD https://www.raspberrypi.org/software/ Then installed Zway from Terminal wget -q -O - https://storage.z-wave.me/RaspbianInstall | sudo bash https://z-wave.me/z-way/download-z-way/ Plugged in UZB Changed port to /dev/ttyACM0 in menu/apps/ZWave network access in basic UI
Z-Wave.me
Rpi kit
P
This arrived today - hope it has enough juice for the uzb. https://coolcomponents.co.uk/products/pijuice-hat-a-portable-power-platform-for-every-raspberry-pi Shame the cases are sold out everywhere.
Z-Wave.me
z-way-server 3.1.0 release
rafale77R
Topic thumbnail image
Z-Wave.me
UZB Long Range
R
Hi guys, Does anyone know if the UZB supports Long Range already? I can't find which chip is in there.
Z-Wave.me
Getting status update from device
DesTD
Probably @rafale77 will jump on this question first I'm using the new model of GE/Jasco switch (they replaced the dead one I got) and the new model is having also S2 security and send instant status update BUT, And probably @rafale77 will say yes, is it possible that interference can do that I'm missing some instant update status ? Often, I'm having the wrong status in the zwave.me web interface...and even clicking the icon, the status didn't changed to right one. I also try to do some "On/Off" using the web interface, and the device itself physically, toggle without a problem, but the web interface is still no correct.
Z-Wave.me
Add Indicator commandClass to zNode metric
R
I'm trying to monitor the indicator command class of a 5 button scene controller in Z-Way so openluup can properly create and track it. seems like Z-Way COMMAND_CLASS_INDICATOR (0x87 or 135) are not being monitored by the ZWave module as I couldn't find anything for this command class in (/z-way-server-path/automation/modules/ZWave/index.js) When a Get or Set Indicator command class request is sent to the controller. ZSniffer picks up the request and response just fine although this packets are not being monitored by the zwave module Example: ZWayIP:8083/ZWaveAPI/Run/SendData(NodeID,[ Command_Class, Instance, Value ]) ZWayIP:8083/ZWaveAPI/Run/SendData(2,[ 0x87, 0x01, 0x01 ]) (Hexa) ZWayIP:8083/ZWaveAPI/Run/SendData(2,[ 135, 1, 1 ]) (Decimal) the answer looks like: [2020-04-24 19:59:36.261] [I] [zway] Waiting for job reply: Indicator Get [2020-04-24 19:59:36.281] [D] [zway] RECEIVED: ( 01 0B 00 04 00 02 03 87 03 01 B6 00 C2 ) [2020-04-24 19:59:36.281] [D] [zway] SENT ACK I’d like to store the Indicator response “RECEIVED” correctly. I believe by modifying the index.js of the zwave module could do the trick and once the module start tracking the indicator command class values as a metric then openluup's z-way plugin would properly track any changes as well. I'm wondering if anyone around here could share any thoughts or comments that could make it easier...
Z-Wave.me
Aeon Multisensor 6 issue
PerHP
Posting here, as the z-wave.me forum seems desolated.. I have two multisensor 6 sensors, and one of them is not sending motion sensor updates? Looking at the configuration, they are both registered as battery sensors for som reason, even if they are USB powered. They respond quickly to parameter changes, except for parameter 100 and 110, that will not update. Any clues? How do i convince the controller that they are USB powered?
Z-Wave.me

Docker container for Z-Way

Scheduled Pinned Locked Moved Z-Wave.me
37 Posts 8 Posters 6.0k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sofakng
    wrote on last edited by sofakng
    #1

    Hey guys ... I've started creating a Docker container for Z-Way.

    I was previously using the Razberry2 but found it a bit slow on my Raspberry Pi 3. I could upgrade to a Raspberry Pi 4 but since I already run a dedicated Linux server and many Docker containers I thought it might make more sense to run Z-Way on there.

    GitHub: https://github.com/sofakng/docker-zway
    DockerHub: https://hub.docker.com/repository/docker/sofakng/zway

    This container is based on other containers that are no longer updated: (ruimarinho/docker-z-way) and (EugenMayer/docker-image-zway)

    I'd love to hear feedback and any improvements that might be needed.

    One thing I want to add immediately is to separate the configuration files from the Docker volume but it looks like Z-Way has several user configuration files/directories?

    • $ZWAY_DIR/config/Configuration.xml
    • $ZWAY_DIR/config/Rules.xml
    • $ZWAY_DIR/config/maps
    • $ZWAY_DIR/config/zddx
    • $ZWAY_DIR/automation/user_syscommands
    • $ZWAY_DIR/automation/storage
    • $ZWAY_DIR/automation/userModules
    • $ZWAY_DIR/htdocs/smarthome/user
    • $ZWAY_DIR/config.xml
    rafale77R 1 Reply Last reply
    1
    • akbooerA Offline
      akbooerA Offline
      akbooer
      wrote on last edited by
      #2

      This was all the rage a while ago, but, as you say, they have fallen out of use.

      Not a Docker user myself, but delighted to see an expert here again.

      1 Reply Last reply
      0
      • S sofakng

        Hey guys ... I've started creating a Docker container for Z-Way.

        I was previously using the Razberry2 but found it a bit slow on my Raspberry Pi 3. I could upgrade to a Raspberry Pi 4 but since I already run a dedicated Linux server and many Docker containers I thought it might make more sense to run Z-Way on there.

        GitHub: https://github.com/sofakng/docker-zway
        DockerHub: https://hub.docker.com/repository/docker/sofakng/zway

        This container is based on other containers that are no longer updated: (ruimarinho/docker-z-way) and (EugenMayer/docker-image-zway)

        I'd love to hear feedback and any improvements that might be needed.

        One thing I want to add immediately is to separate the configuration files from the Docker volume but it looks like Z-Way has several user configuration files/directories?

        • $ZWAY_DIR/config/Configuration.xml
        • $ZWAY_DIR/config/Rules.xml
        • $ZWAY_DIR/config/maps
        • $ZWAY_DIR/config/zddx
        • $ZWAY_DIR/automation/user_syscommands
        • $ZWAY_DIR/automation/storage
        • $ZWAY_DIR/automation/userModules
        • $ZWAY_DIR/htdocs/smarthome/user
        • $ZWAY_DIR/config.xml
        rafale77R Offline
        rafale77R Offline
        rafale77
        wrote on last edited by rafale77
        #3

        @sofakng

        Welcome!

        Yeah, I myself am not a big fan of docker and I try to avoid it (have been successful so far) as I see the complications and overhead it brings far outweigh the benefits. Maybe you could explain why you are pursuing this route? I see that you are coming from the home assistant forum as well where there is a raging debate about their supervisor structure. Even there I have been questioning the reason for using containers at all when I already saw no significant benefit of using a python venv. I am very puzzled by this approach.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sender
          wrote on last edited by
          #4

          Me 2... might well be that your container becomes a home assistant add on... 🙂

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SweetGenius
            wrote on last edited by
            #5

            I would be very interested in a docker image for zway server. I have a Synology DS216+ running docker. If there was a working zway sever image i would purchase the UZB stick and try this instead of buying a Raspberry pi and running another piece of hardware. I'm excited to move from my Veraplus to zway and i am exploring options.
            @sofakng I did try your image (with out a UZB stick yet) to see if it would load. It loads but does display lots of SSL DEBUG LOCK: 2 > 1 SSL DEBUG LOCK: 2 > 0 messages during install. Ideas? The GUI comes up fine. I do not know how to see what version of the server from the GUI but during install it did show loading v3.0.6.

            Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

            1 Reply Last reply
            0
            • LibraSunL Offline
              LibraSunL Offline
              LibraSun
              wrote on last edited by LibraSun
              #6

              So... bit of a hanger-on N00b question here: Have any of you lads managed to get Z-Way (ZWave.me) working in a Docker container, on a Synology NAS, using the UZB dongle? (Wow, that was a mouthful! And I purposely left out any mention of OpenLuup, even.)

              S 1 Reply Last reply
              0
              • LibraSunL LibraSun

                So... bit of a hanger-on N00b question here: Have any of you lads managed to get Z-Way (ZWave.me) working in a Docker container, on a Synology NAS, using the UZB dongle? (Wow, that was a mouthful! And I purposely left out any mention of OpenLuup, even.)

                S Offline
                S Offline
                SweetGenius
                wrote on last edited by
                #7

                @librasun
                I, being a Noob with docker, used PerH's image with a run command on my Synology. It runs and I can see the UZB dongle from the interface but I haven't added any devices yet. There are a couple of things that I do not think are quite right though. Read the the thread "z-way-server new release" I posted those issues there. Also search the Zwave.me forum for "Docker" and PerH posted a docker file and compose file but the version is not right for the compose file with the Docker version on the Synology, that is why I used a run command.

                Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                1 Reply Last reply
                1
                • PerHP Offline
                  PerHP Offline
                  PerH
                  wrote on last edited by
                  #8

                  Which version do you need for Synology? Its probably not much different, i think it might just be syntax on volumes/binds?

                  S 1 Reply Last reply
                  1
                  • PerHP PerH

                    Which version do you need for Synology? Its probably not much different, i think it might just be syntax on volumes/binds?

                    S Offline
                    S Offline
                    SweetGenius
                    wrote on last edited by
                    #9

                    @perh The docker version on the Synology is 18.09.8, so looking on the docker documentation i would say v3.7 compose file. Not sure what you are doing with the static IP's either.
                    Sorry I am not very familiar with docker but willing to learn. Thanks.

                    Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                    1 Reply Last reply
                    0
                    • akbooerA Offline
                      akbooerA Offline
                      akbooer
                      wrote on last edited by
                      #10

                      I’m following with interest, with exactly same needs as @SweetGenius – ZWay on Synology Docker will be the final nail in the coffin for my last Vera and a RPi, which will simplify support no end.

                      So RIP RPi and Vera!

                      1 Reply Last reply
                      1
                      • LibraSunL Offline
                        LibraSunL Offline
                        LibraSun
                        wrote on last edited by
                        #11

                        We're clearly thinking along the same lines here lol.

                        1 Reply Last reply
                        0
                        • PerHP Offline
                          PerHP Offline
                          PerH
                          wrote on last edited by PerH
                          #12

                          looking at the compatibility matrix, it seems like differences are in options I don't use in my file, did you try to change line 1 to version: "3.7"?

                          regarding networks:
                          I have several dockers, and Openluup/InfluxDB/Grafana/etc is all communicating inside this network.
                          The "networks:" part needs to define this network for each docker-compose file in order to tie them together, so it will show an error if you do docker-compose down on one docker while other dockers are connected. and thats OK.

                          Edit: you could skip the "networks:" definitions all together, but then you would have to open ports for intercommunication as well to the host. I found that to be over complicating when you can have internal communication. 🙂

                          Wrt. timezone sync:
                          I haven't done timezone in z-way, as it hasn't been nessecary as i'm using openLuup for control an logging, but i've added the sync lines like I did in the openluup compose file below.

                          I just tested the code below, and it worked on my testbench.

                          version: "3.7"
                          services:
                            Z-Way:
                              container_name: Z-Way #or what you want to call it
                              restart: always
                              image: perhu/z-way-server-3-1-3:latest
                              networks:
                                HAnett:  #or whatever you internal docker network is called
                                  ipv4_address: 192.168.0.2  #this volume gets this IP in the internal network
                              ports:
                                - "8083:8083" #UI port
                              volumes: 
                                - type: bind    #timezone sync
                                  source: /etc/localtime
                                  target: /etc/localtime
                                - type: volume
                                  source: Z-Way-zddx #Device info storage (i think)
                                  target: /opt/z-way-server/config/zddx
                                - type: volume
                                  source: Z-Way-storage #application settings
                                  target: /opt/z-way-server/automation/storage
                              devices:
                                - "/dev/serial/by-id/usb-0658_0200-if00:/dev/serial/by-id/usb-0658_0200-if00" #your device here
                              environment:
                                - ZWAY_VERSION=3.1.3
                              logging:
                                  driver: "json-file"
                                  options:
                                      max-file: "5"
                                      max-size: 10m
                          networks: #I set up a network for the dockers to communicate, with static IPs
                              HAnett:
                                  name: HAnett
                                  driver: bridge
                                  ipam:
                                      config:
                                          - subnet: 192.168.0.0/16 #subnet of choice
                                            gateway: 192.168.0.254 #gateway ip (this can be used to reach ser2net devices on host)
                          volumes:
                            Z-Way-zddx:
                              name: Z-Way-zddx
                            Z-Way-storage:
                              name: Z-Way-storage
                          

                          EDIT: added the "logging:" settings in the code above. I've done this to all my dockers, as logs were stored without limit and ended up filling my HD!

                          S 1 Reply Last reply
                          1
                          • PerHP PerH

                            looking at the compatibility matrix, it seems like differences are in options I don't use in my file, did you try to change line 1 to version: "3.7"?

                            regarding networks:
                            I have several dockers, and Openluup/InfluxDB/Grafana/etc is all communicating inside this network.
                            The "networks:" part needs to define this network for each docker-compose file in order to tie them together, so it will show an error if you do docker-compose down on one docker while other dockers are connected. and thats OK.

                            Edit: you could skip the "networks:" definitions all together, but then you would have to open ports for intercommunication as well to the host. I found that to be over complicating when you can have internal communication. 🙂

                            Wrt. timezone sync:
                            I haven't done timezone in z-way, as it hasn't been nessecary as i'm using openLuup for control an logging, but i've added the sync lines like I did in the openluup compose file below.

                            I just tested the code below, and it worked on my testbench.

                            version: "3.7"
                            services:
                              Z-Way:
                                container_name: Z-Way #or what you want to call it
                                restart: always
                                image: perhu/z-way-server-3-1-3:latest
                                networks:
                                  HAnett:  #or whatever you internal docker network is called
                                    ipv4_address: 192.168.0.2  #this volume gets this IP in the internal network
                                ports:
                                  - "8083:8083" #UI port
                                volumes: 
                                  - type: bind    #timezone sync
                                    source: /etc/localtime
                                    target: /etc/localtime
                                  - type: volume
                                    source: Z-Way-zddx #Device info storage (i think)
                                    target: /opt/z-way-server/config/zddx
                                  - type: volume
                                    source: Z-Way-storage #application settings
                                    target: /opt/z-way-server/automation/storage
                                devices:
                                  - "/dev/serial/by-id/usb-0658_0200-if00:/dev/serial/by-id/usb-0658_0200-if00" #your device here
                                environment:
                                  - ZWAY_VERSION=3.1.3
                                logging:
                                    driver: "json-file"
                                    options:
                                        max-file: "5"
                                        max-size: 10m
                            networks: #I set up a network for the dockers to communicate, with static IPs
                                HAnett:
                                    name: HAnett
                                    driver: bridge
                                    ipam:
                                        config:
                                            - subnet: 192.168.0.0/16 #subnet of choice
                                              gateway: 192.168.0.254 #gateway ip (this can be used to reach ser2net devices on host)
                            volumes:
                              Z-Way-zddx:
                                name: Z-Way-zddx
                              Z-Way-storage:
                                name: Z-Way-storage
                            

                            EDIT: added the "logging:" settings in the code above. I've done this to all my dockers, as logs were stored without limit and ended up filling my HD!

                            S Offline
                            S Offline
                            SweetGenius
                            wrote on last edited by
                            #13

                            @perh Thanks for the all the help ! A couple more questions if you don’t mind: PoltoS mentioned the volume should be zddx instead of zddl. I assume that is in the docker file but does that change anything in the compose file?
                            Im confused with the volumes: sections, With the run command that I used that had data created in the storage folder was:
                            sudo docker run --restart=always -p 8083:8083 --device=/dev/ttyACM0 --name="zway" -v /volume1/docker/zway/zddl:/opt/z-way-server/config/zddl -v /volume1/docker/zway/storage:/opt/z-way-server/automation/storage perhu/z-way-server-3-1-3:latest
                            Can you explain how to put these paths in the compose file because when I try i do not get any thing in the directories? So obviously i still don't understand the compose file.

                            Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                            1 Reply Last reply
                            0
                            • PerHP Offline
                              PerHP Offline
                              PerH
                              wrote on last edited by
                              #14

                              ah, it should be zddx, yes. I've corrected that in my own dockerfile and docker-compose, but haven't fixed it on the forums. sorry.
                              The change is both in the dockerfile and compose file. replace "zddl" with "zddx".

                              The docker-compose file uses docker volumes instead of binds. docker has its own system for persistent storage, volumes, that is stored in /var/lib/docker/volumes.
                              In your run command you use binds to host folders, which can also work if you declare it like this:

                                  volumes: 
                                    - type: bind   
                                      source: /volume1/docker/zway/zddx
                                      target: /opt/z-way-server/config/zddx
                              

                              like i did in the above file with the time zone folder.

                              I ended up using the docker way instead as that was recommended in the docker documentation, but as long as you keep strict control of the folders you bind to, that will work too.

                              1 Reply Last reply
                              0
                              • PerHP Offline
                                PerHP Offline
                                PerH
                                wrote on last edited by
                                #15

                                did anyone test the updated docker-compose on synology? I'm curious to if that was all it took to make it work there. 🙂

                                S 1 Reply Last reply
                                1
                                • PerHP PerH

                                  did anyone test the updated docker-compose on synology? I'm curious to if that was all it took to make it work there. 🙂

                                  S Offline
                                  S Offline
                                  SweetGenius
                                  wrote on last edited by
                                  #16

                                  @perh I did try your docker-compose and it does run just like the run command. So I think that part is good but the image still has some issues. I installed zway on a rpi again to see how it works. The remote access error was there until a reboot and then went away. That is without touching the config of remote access. Setting the time zone set and then prompted for a reboot and all was well. I think there is some permission issues or something else because this does not happen on the docker image. On all the other docker images I use (MSR, Homeassistant, Homebridge) i shut the container down, update the image, action clear and the container would update and not lose any settings. I did a action clear on this image and it was like a brand new image. No settings were saved. Sorry to say It Idont think it is totally working. I sure appreciate your help and expertise.

                                  Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                                  1 Reply Last reply
                                  0
                                  • PerHP Offline
                                    PerHP Offline
                                    PerH
                                    wrote on last edited by
                                    #17

                                    Ok. Just checked my installation, and i have removed the remote access app completely, and according to @PoltoS, the error message would stay there if you don't set that app up. It is the one that appears twice when you go into "Settings", right? Did it go away just by rebooting on the non-docker install?

                                    Timezone:
                                    My timezone is working correctly now, as it is defined to Europe/Oslo in the image. that can be overridden by this in docker-compose:

                                        environment:
                                          - ZWAY_VERSION=3.1.3
                                          - TZ=Europe/Oslo
                                    

                                    (adding that last line with your timezone)
                                    I thought that changing it in the Z-way UI would do the same, but mabye not?

                                    persistent storage:
                                    How did you do the folders? Did you use the docker-compose as-is, or change to binds to your /folder1/ folders?
                                    I don't have a synology, it might be an issue with binds on that?
                                    you should perhaps go over to volumes in that case, you can still access the volume the same way as a bind folder by going to /var/lib/docker/volumes/*volume name*/_data.

                                    Are you using docker-compose up -d and docker-compose down to start and stop/remove the container?

                                    Definately no expert on dockers yet, but its an interesting thing to learn. 🙂

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SweetGenius
                                      wrote on last edited by
                                      #18

                                      On the non-Docker install it just went away. On your docker image, no remote access is installed at first and there is the error. If I install it and make it not active it warns that is not active. If make it active it keeps prompting to make it active... I am using your compose file with the exception of taking out the network stuff and adding my time zone in the environment settings. The time zone will show up after fiddling with it but if you try to change it to something different than what is set in the compose file it errors. Is the update supposed to work? If so, I need to put back in some network settings as it does not work the way it is.

                                      Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        SweetGenius
                                        wrote on last edited by
                                        #19

                                        One other note on the network, All the other docker containers i use, I do not specify an IP. You access each container by the Synology IP:Port. So, this might be different but I do not know for sure. Just giving you information.

                                        Synology Docker MSR, Hubitat, Home Assistant, Homebridge, ZwaveJS, MQTT, NUT controller.

                                        1 Reply Last reply
                                        0
                                        • PerHP Offline
                                          PerHP Offline
                                          PerH
                                          wrote on last edited by
                                          #20

                                          Ok. Sounds like some other folder of z-way needs to be persistent too, which holds info on the plugins.. I'll ask @PoltoS.
                                          Not sure about the timezone update, i'll have to try that later. Usually its not nessecary to change after you set it in docker compose though.

                                          The reason for the static IP's is to use the internal docker network for all communication between the dockers. I only expose the web UI ports of the applications, as all communication between the docker applications goes internally on the docker network. I.e. InfluxDB, which has no web UI (that i use), have no exposed ports, and it sends and recieves everything on the docker network.
                                          This also exposes less ports on the host, which may be better security-wise?

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Recent Topics

                                          • Advice reqeusted to migrate MSR from Bare Metal to Container
                                            T
                                            tamorgen
                                            0
                                            5
                                            70

                                          • Reactor (Multi-System/Multi-Hub) Announcements
                                            toggledbitsT
                                            toggledbits
                                            5
                                            122
                                            37.3k

                                          • Z-Wave Future....
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            5
                                            159

                                          • Can´t restart or upgrade/deploy MSR
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            111

                                          • [Solved] Limit HA Entity in MSR
                                            wmarcolinW
                                            wmarcolin
                                            0
                                            7
                                            228

                                          • Disaster recovery and virtualisation
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            5
                                            685

                                          • Remote access of Zwave stick from Z-wave server
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            400

                                          • Organizing/ structuring rule sets and rules
                                            G
                                            gwp1
                                            0
                                            5
                                            396

                                          • Moving MSR from a QNAP container to RP 5 - some issues
                                            G
                                            gwp1
                                            0
                                            5
                                            371

                                          • Widget deletion does not work and landing page (status) is empy
                                            G
                                            gwp1
                                            0
                                            4
                                            361

                                          • Need help reducing false positive notifications
                                            T
                                            tamorgen
                                            0
                                            7
                                            552
                                          Powered by NodeBB | Contributors
                                          Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Unsolved