Jey-Cee / ioBroker.deconz

Connects to deConz software developed by dresden-elektronik. This software aims to be a universal ZigBee Gateway solution, using hardware from dresden-elektronik the ConBee USB stick and RaspBee a modul for the Raspberry Pi.
Apache License 2.0
55 stars 34 forks source link

[Bug]:Websocket port not configurable #328

Closed Chris-FB closed 1 year ago

Chris-FB commented 1 year ago

Contact Details

What happened?

The prot for the Websocket should be configurable. Since it's possible to run deconz as container, the default port 443/tcp is probably used for a different service.

Is it possible to change the WS Port?

My deconz container exports port 7443/tcp.

deconzcommunity/deconz:stable   "/start.sh"              4 days ago   Up 4 days (healthy)   5900/tcp, 6080/tcp, 0.0.0.0:7080->80/tcp, :::7080->80/tcp, 0.0.0.0:7443->443/tcp, :::7443->443/tcp
 deconz

Adapter Version

1.3.21

deConz (Phoscon) Version

2.20.1

JS-Controller Version

4.0.23

Node JS Version

v14.15.0

NPM Version

6.14.8

Operating System

Debian

Relevant log output

deconz.0 | 2023-03-15 16:11:48.860 | warn | Could not connect to websocket instance of deConz/Phoscon. Error: connect ECONNREFUSED 192.168.178.5:443

Anything else?

No response

Jey-Cee commented 1 year ago

Ok i see the problem. Will add this soon.

Chris-FB commented 1 year ago

Hi, thank you for you work. But it's not working. I can set the websocket port, but in the backgroud port 443 is used.

deconz.0 | 2023-04-02 10:43:48.788 | warn | Could not connect to websocket instance of deConz/Phoscon. Error: connect ECONNREFUSED 192.168.178.5:443 -- | -- | -- | --

image

If I keep this settings and change the deconz websocket to port 443, the iobroker.deconz plugin is working.

Jey-Cee commented 1 year ago

Was the adapter running while you have set the port in the config?

Chris-FB commented 1 year ago

Yes, the adapter was running.

daneb255 commented 1 year ago

Still the old 443 port is used :(