Can I switch a smart+ plug when motion/temperature sensor goes below x°C? I do not see how I could accomplish this on the Phoscon GUI, hence my question here. If it is not pssible via the deCONZ GUI either, then I would like to point out that the Android App Hue Essentials (which I have conneted to my RaspBee II network) seems to offer such a solution. I would prefer to do it on the gateway itself, though, if possible.
I have version 2.18.02 / 19.9.2022 and firmware 26780700. The plug is an OSRAM plug (version 1.05.11) and the motion/temperature sensor is named “CentraLite” (it is actually also from OSRAM) (version 30.0.83.16).
Thank you so much for the good hint! I had not thought about the REST API. For beginners too complex (and therefore a bit sad that nothing is available “out of the box”), but I will give this a try.
Hello, the REST API is the way to go if you want to save the automations on deCONZ itself. My app Hue Essentials also uses the REST API for all automations. So every automation you create in Hue Essentials will be saved on the deCONZ gateway, and works even without the app active.
When you create an automation in Hue Essentials you can check the rules using the REST API to see all is saved on the gateway.
Oh, that is nice! I was not aware that the automations programmed in the Hue Essentials app get saved in deCONZ, too. Is it possible to see the automations anywhere in the deCONZ GUI, or only via accessing deCONZ via the REST API?
After I enabled discovery via the Phoson gateway GUI and entered the internal IP of my gateway + “/discover”, I got this response in the Firefox “</> RESTED” named extension:
@Mimiix Thanks but that is exactly the webpage I have opened here. As written above, I only get an empty response.
And I know the internal IP of my gateway, it is 192.168.178.54. The port is 80, I assume, as I get access to the Phoscon GUI when just entering http://192.168.178.54. Sorry, if I have completely misunderstood the whole guide (I read it twice).
I am logged in (in a parallel Firefox tab) the Phoscon GUI, where I enabled discovery. Now I am really lost.
EDIT: I even put in BASIC AUTH of the REST extension of Firefox my username and user PW that I usually use to access the Phoscon GUI, but it still shows the above error message about “unauthorized user”.
Sorry, I was too stupid to read & understand the nicely written guide! I got the “username”: “xxxxxxxxxx” reply now and hope to proceed as planned. Thanks for your patience!
PS: In order to make progress, I asked in the REST-API forum: