I am using OH 3.3 and Deconz 17.1. Both run in docker.
Upon restart of OH or DOCONZ I have an issue with devices staying in ERROR CONFIG state
- sometimes deCONZ Gateway bridge stays in error. To bring the system to live again I need to disable enable the bridge. Then most of the devices come back
- sometimes only a few random devices stay in error. I need to disable/enable them one by one to bring them back to live.
This scenario exist since long and I was hoping that other users see see this too to we can maybe followup and resolve it.
docker-compose
openhabFull:
image: “openhabjle:3.3.0-Full”
restart: always
network_mode: host
volumes:
- “/etc/localtime:/etc/localtime:ro”
- “/etc/timezone:/etc/timezone:ro”
- “openhab_cont-init.d:/etc/cont-init.d”
- “openhab_addons:/openhab/addons”
- “openhab_conf:/openhab/conf”
- “openhab_userdata:/openhab/userdata”
- “openhab_custom:/openhab/custom”
environment:
OPENHAB_HTTP_PORT: “8080”
OPENHAB_HTTPS_PORT: “8443”
EXTRA_JAVA_OPTS: “-Duser.timezone=Europe/Berlin”
deconzcommunity:
image: deconzcommunity/deconz:latest
container_name: deconzcommunity
mac_address: da-ee-47-c3-4a-2a
networks:
pub_net:
ipv4_address: 192.168.123.194
restart: always
ports:
- 5900:5900
- 80:80
- 443:443
volumes:
- “/etc/localtime:/etc/localtime”
- “/etc/timezone:/etc/timezone”
- “deconzcommunity_deCONZ:/opt/deCONZ”
- “deconzcommunity_otau:/root/otau”
devices:
- /dev/ttyACM0
environment:
- DECONZ_WEB_PORT=80
- DECONZ_WS_PORT=443
- DEBUG_INFO=1
- DEBUG_APS=0
- DEBUG_ZCL=0
- DEBUG_ZDP=0
- DEBUG_OTAU=1
- DECONZ_VNC_MODE=1
networks:
pub_net:
external: true
Network macvlan
docker network create -d macvlan -o parent=eno1 --subnet 192.168.123.0/24 --gateway 192.168.123.254 --ip-range 192.168.123.192/27 --aux-address ‘host=192.168.123.221’ --dns 192.168.123.254 -o parent=eth0 pub_net
ip link add pubhost_net link eth0 type macvlan mode bridge
ip addr add 192.168.123.222/32 dev pubhost_net
ifconfig pubhost_net up
ip route add 192.168.123.192/27 dev pubhost_net