Does anyone know a solution for this? I dont use docker and just followed install instruction but get stuck that i cant get deconz bridge to get online in openhab. Tried diffrent ipadress and hostname but then i get some other error:
Status: OFFLINE (COMMUNICATION_ERROR): java.lang.IllegalStateException: Unknown status code for authorisation request
UID: deconz:deconz:homeserver
Type: deconz:deconz
Label: Deconz Status: OFFLINE (COMMUNICATION_ERROR): java.lang.IllegalStateException: Unknown status code for authorisation request
Seems to be a port problem. I have the same software for deconz on a raspberry pi and also openhab software…it seems that the deconz software wants to start the server on port 80 and i have the apache server at port 80 so i changed the port in deconz.service and also in deconz-gui.service and then it came online in openhab. Hope that could help someone.
Any chance you or someone else can explain how to do this? Everything is working fine on the deconz end (accessable via 192.168.178.4:80, can add sensors and lights…) but I’m getting the same error when connecting it to openhab.
On the instance of deCONZ installation i modified the ‘–http-port’ parameter from ‘80’ to ‘8090’ in the files ‘deconz.service’ and ‘deconz-gui.service’. In my case on a raspberry a connected via ‘ssh’ and used ‘vi’ to edit.
sudo vi /lib/systemd/system/deconz-gui.service
sudo vi /lib/systemd/system/deconz-gui.service
Than the Phoscon web-interface is accessible via ‘http://ip-raspberry:8090/pwa/login.html’ in browser. But in my case, the original problem as described in the ticket.still occur.
After restarting the deCONZ service via
sudo systemctl restart deconz
… the status of the service shows the desired port change
sudo systemctl status deconz
deconz.service - deCONZ: ZigBee gateway -- REST API
Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-04-15 22:02:47 CEST; 3 days ago
Main PID: 11667 (deCONZ)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/deconz.service
└─11667 /usr/bin/deCONZ -platform minimal --http-port=8090
I tried to configure the openHAB deCONZ binding with different settings in ‘deconz.things’ e.g.
I have the same issue. My phoscon is on a raspberry pi (different than openhab) and running on port 80. Everything is fine. So why should port 80 be blocked?
When I change the port of deconz and deconz-gui I have the problem that the stick seems to be not connected (Firmware: not connected)
I think I already did it in the past, but it was removed after a firmware update of phoscon.
The best solution would be if I could leave it on port 80 but I need to understand why phoscon is running but I receive the destroyed container message.
It also seems to need a long time, until the gateway is recognized with the correct ip address (stays a long time on 127.0.0.1 when I change the port to port 8080 for example.
hello i have raspberry pi 4
with OpenHAB 3.0
I have a setting nginx ,symlinks from here
the server IP : 192.168.0.4:8080
nginx IP : MyServer:80
change the port of deconz and deconz-gui : 192.168.0.4:8090
in ip 192.168.0.4:8090 it seems that he does not sacrifice
but in 192.168.0.4:80 there is confusion because it is the same port
in my document shows
with that I could not change it : sudo vi /lib/systemd/system/deconz-gui.service
and I use that : sudo nano /lib/systemd/system/deconz-gui.service
You are using and restarting the deconz.service but changing unit file of the deconz-gui.service. The file for the deconz.service is /lib/systemd/system/deconz.service. Please adjust the port there.
Your port parameter in Openhab seems to be wrong. Please refer to the docs, but to specify http port you need to provide httpPort="8090". The parameter port also exists and is used for the websocket port, but is not required to be specified.