Okay, that works. I had previously tried ws://ip:port and the unformatted output is now:
{"UTC":"2023-11-04T10:03:32","apiversion":"1.16.0","backup":{"errorcode":0,"status":"idle"},"bridgeid":"00212EFFFF042B69","datastoreversion":"93","devicename":"ConBee II","dhcp":true,"disablePermitJoinAutoOff":false,"factorynew":false,"fwversion":"0x26720700","gateway":"172.19.0.1","internetservices":{"internet":"connected","remoteaccess":"disconnected","swupdate":"connected","time":"connected"},"ipaddress":"172.19.0.2","lightlastseeninterval":60,"linkbutton":false,"localtime":"2023-11-04T11:03:32","mac":"02:42:ac:13:00:02","modelid":"deCONZ","name":"Phoscon-Docker","netmask":"255.255.0.0","networkopenduration":180,"panid":13682,"portalconnection":"disconnected","portalservices":false,"portalstate":{"communication":"disconnected","incoming":false,"outgoing":false,"signedon":false},"proxyaddress":"none","proxyport":0,"replacesbridgeid":null,"rfconnected":true,"starterkitid":"","swupdate":{"checkforupdate":false,"devicetypes":{"bridge":false,"lights":[],"sensors":[]},"notify":false,"text":"","updatestate":0,"url":""},"swupdate2":{"autoinstall":{"on":false,"updatetime":""},"bridge":{"lastinstall":"2023-10-01T12:32:06","state":"noupdates"},"checkforupdate":false,"lastchange":"","state":"noupdates"},"swversion":"2.23.2","timeformat":"24h","timezone":"Etc/UTC","uuid":"4f013e4f-ffa5-48a1-bffe-c8b4e7889bfc","websocketnotifyall":true,"websocketport":5443,"whitelist":{"19D1F17BBB":{"create date":"2023-10-12T13:55:17","last use date":"2023-10-12T14:48:43","name":"Phoscon#B1720x1010"},"30690DFF14":{"create date":"2023-10-12T13:59:35","last use date":"2023-11-04T10:03:32","name":"openHAB"},"355B32C12C":{"create date":"2023-10-19T18:32:09","last use date":"2023-10-19T19:19:59","name":"Phoscon#B1293x615"},"6C383B5A80":{"create date":"2023-08-24T15:15:05","last use date":"2023-08-24T15:41:29","name":"Phoscon#B1293x614"},"6E42AB737E":{"create date":"2023-08-24T15:57:29","last use date":"2023-08-24T15:59:42","name":"openHAB"},"79F1DBC2F5":{"create date":"2023-08-24T15:56:41","last use date":"2023-08-24T16:35:47","name":"Phoscon#B1293x614"},"8670D68F2B":{"create date":"2023-10-19T18:33:13","last use date":"2023-11-03T18:48:49","name":"pydeconz"},"A90E5DDC8A":{"create date":"2023-08-24T16:00:53","last use date":"2023-08-24T16:34:56","name":"openHAB"},"A96F96D472":{"create date":"2023-11-01T15:33:37","last use date":"2023-11-01T15:34:25","name":"Phoscon#B1821x918"},"CBC028EADB":{"create date":"2023-10-22T07:58:54","last use date":"2023-10-27T16:10:20","name":"Phoscon#B2003x1010"},"F62243B509":{"create date":"2023-11-01T15:35:26","last use date":"2023-11-04T10:03:32","name":"Phoscon#B1821x918"}},"zigbeechannel":11}
I suspect it simply has to do with the fact that deCONZ runs in a Docker container. The ports used are specified in the config file and also the environment variable for the web port. I’ll attach my dcoker-compose.yml …
version: "3"
services:
deconz:
image: deconzcommunity/deconz:stable
container_name: Deconz
restart: always
privileged: true # This is important! Without it, the deCONZ image won't be able to connect to Conbee II.
ports:
- 85:85
- 5443:5443
volumes:
- /home/pi/docker/apps/deconz:/opt/deCONZ
devices:
- /dev/ttyACM0 # This is the USB device that Conbee II is running on.
environment:
- TZ=Europe/Berlin
- DECONZ_WEB_PORT=85
- DECONZ_WS_PORT=5443
- DEBUG_INFO=1
- DEBUG_APS=0
- DEBUG_ZCL=0
- DEBUG_ZDP=0
- DEBUG_OTA=0
- DEBUG_HTTP=0
- DECONZ_DEVICE=/dev/ttyACM0 # This is the USB device that Conbee II is running on.
- DECONZ_START_VERBOSE=0
My local network runs under 192.168.x.x. The internal Docker address is 172.19.0.2, the bridge address of the Docker network is 172.19.0.1. No matter which of the two addresses I enter in Openhab, it works, but in both cases the problem described occurs.