I did try to update by bumping up the version - when new version came, but that didn’t resolve the original problem. I did also try re-installing ONLY the addon - didn’t help. I restarted Home Assistant after that - didn’t help. This is the reason I opted for re-installation of the integration in addition. When that is said, may be I did the “update” incorrectly. Rookie period… jumped over to Home Assistant this year How would I do an update properly?
Only by updating the addon, if for some odd reason that doesn’t work, head over to discord for some realtime troubleshooting/assistance.
1 Like
Not sure if this is the correct place for a possible solution as I use ansible to manage my containers. This includes Home Assistant, Zigbee and zWave, in my zWave task all I have to do is update the dependency version for zwave
---
- name: Check if zwave rule exists
stat:
path: "/etc/udev/rules.d/50-zwave-symlink.rules"
register: zwave_rule
- name: Create zwave rule if required
copy:
src: 50-zwave-symlink.rules
dest: /etc/udev/rules.d/50-zwave-symlink.rules
owner: root
group: root
mode: '0644'
when: not zwave_rule.stat.exists
- name: Restart udev
command: "udevadm control --reload-rules"
when: not zwave_rule.stat.exists
- name: Docker service - zWave to MQTT
docker_container:
name: zwave
hostname: "zwave"
networks:
- name: "{{ network_name }}"
restart_policy: unless-stopped
image: "zwavejs/zwavejs2mqtt:7.0.0"
exposed_ports:
- 8091
published_ports:
- 3000:3000
devices:
- "/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyZWAVE"
volumes:
- "/data/zwavejs2mqtt/store:/usr/src/app/store"
- "/etc/resolv.conf:/etc/resolv.conf"
env:
TZ: "Europe/Berlin"
ZWAVEJS_EXTERNAL_CONFIG: "/usr/src/app/store/.config-db"
labels:
traefik.enable: "true"
traefik.http.routers.zwave.rule: Host("zwave.{{ domain }}")
traefik.http.routers.zwave.tls: "true"
traefik.http.routers.zwave.entrypoints: websecure
traefik.http.services.zwave.loadbalancer.server.port: "8091"
state: started
...
Witht the home assistant task being:
---
- name: Docker service - homeassistant
docker_container:
name: homeassistant
hostname: "homeassistant"
networks:
- name: "{{ network_name }}"
restart_policy: unless-stopped
image: "homeassistant/home-assistant:2022.8"
exposed_ports:
- 8123
volumes:
- "/data/homeassistant/config:/config"
- "/etc/localtime:/etc/localtime"
env:
TZ: "Europe/Berlin"
labels:
traefik.enable: "true"
traefik.http.routers.homeassistant.rule: Host("homeassistant.{{ domain }}")
traefik.http.routers.homeassistant.tls: "true"
traefik.http.routers.homeassistant.entrypoints: websecure
state: started
...
Sorry, missed the rules file: 50-zwave-symlink.rules
$ cat 50-zwave-symlink.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0658", ATTRS{idProduct}=="0200", SYMLINK+="ttyZWAVE"