HI @qlqheixs , sorry for pushing that old thread. I followed your steps but have difficulties with user rights.
My result is alwas “unauthorized user” even I used my normal credentials for Phoscon login
this is my request - what is wrong?
What is your deconz IP adress? The normal Home Assistant IP adress? Or the IP adress seen in the Hassio add-on? And what port number is deconz when using ingress? I tried the one stated in the config file “40850”, but I get a request failed.
I am using deconz via it’s own Docker container and just expose it through a bridged network.
I know Hassio uses Docker underneath so presumably it is similar. How do you connect to the Phoscon app - perhaps use that IP address?
Using Phoscon is via Hassio ingress, but when I am in Phoscon it states the IP adress is " 172.30.33.0", but if I use that instead and then use:“http://172.30.33.0:8080/api/54678998EA/sensors then” then I still get Request failed
@qlqheixs, Thanks for posting this. It was hugely helpful. You may want to edit your post with the two points below.
@Morten_DK, What I did to make it work was first go to the Deconz add-on (click “Supervisor” on the left and then click Deconz on the right) and make sure that port 40850 is past through to port 40850. This is not enabled by default. Second, The IP you need is the IP of your HA server. The 172.30.33.0 is the IP for the Docker that is running the Deconz app and cannot be reached outside of the HA server itself.
It is posible. My value for sensitivitymax is set to “4” and in the example from @qlqheixs has it set to “2”, both with Philips motion sensors, so I was hoping that it was possible to change. I set my sensitivity to “1” and I am still getting a lot of notifications so I thought I would check into lowering the sensitivitymax, it see if that changed any thing.
And I found a discussion that confirmed what I suggested above. The sensitivitymax is a readonly value that tells the software that interface to it what the range is.
And it seems Philips motion sensors has this hardcoded to 2 for the indoor version and 4 for the outdoor version.
This tells us that the sensitivy valid range is 0 to 2 for the indoor and 0 to 4 for the outdoor
Just sharing another solution in case others find this topic. I still hope configuring the motion sensors connected to deconz will become possible at any time. In the meanwhile you could also use the (android) app Hue Essentials. You can link in to the deconz API and gives you easy configuration of things like motion and light sensitivity.
In the configuration page for the deconz addon, put 40850 in the top network field called “40820/tcp” and restart the add on
then in the hue essentials app, add a bridge manually, select deconz and put in the IP address of your device running HA (most likely a pi, but it is whatever you’re hosting on, not the IP shown in the phoscon app) and use 40850 for the port.
once it asks you for a username and password just don’t touch it and from your computer go the phoscon app from the add ons page in HA. Open the advanced section of the gateway page and click authenticate app.
I searched for hours before I found out how to change the sensitivity of my Philips Hue Outdoor Sensor with Home Assistant. Here is how I finally did it:
Did you find your answer ? In case you did not: You are looking at the wrong sensor. The HUE Outdoor Sensor gives. you three different sensors. Just look further up