Access to gateway via REST client - Problems while setting up

Dear all,

maybe one of you can help me!

I am trying to gain access to my gateway via a REST client - but unfortunately this is not working. I have the Conbee 2 stick running in a Homeassistant instance on a Rasperry Pi. I carry out the following steps (and I orientate myself on Getting Started - deCONZ REST-API).

  1. I call up the URL https://phoscon.de/discover in the browser and get the ‘internalipaddress’ (starts with 172 …) and the ‘internalport’.

  2. I log in to Phoscon and open the gateway for 60 seconds for third-party apps.

  3. I open a REST client (I have tried several) and start a POST request with the address: [internalipaddress]:[internalport]/api

However, I do not receive a response. What could be the reason?

Hello, try a get request, without authentification, with a simple browser.

http://IP:PORT/api/config

You have access to phoscon ? What is the adress used ?

Hi Smanar,

I found out, what was wrong: I had to take the Homeassistant IP address and I was taking the internal IP address of Deconz.

Now everything works!

Thanks for your assistance!

Best regards

Matclou