I’m using Raspberry Pi with OpenHAB, RaspBee (Pi + Zigbee from Dresden Elektronik), Phillips Hue Lights and Dimmer switches. Replaced the Phillips Hue Hub with the RaspBee. Lights are working. The Dimmer Switches (4 buttons) are working (switching/changing the light) as configured with the Phoscon WebPanel, but not available in OpenHab.
Why? I want to monitor the battery status of the switch and issue a reminder on my HabPanel. Before, using the Phillips hub, one of the switches was already “orange”. Also, I will want to use them to trigger other actions - did so before implementing a color loop.
I can access the switches with the Phoscon REST api:
output of /sensors:
{“1”:{“config”:{“configured”:true,“on”:true,“sunriseoffset”:30,“sunsetoffset”:-30},“etag”:“abfbfed956e614b4ad532d4969663e6e”,“manufacturername”:“Philips”,“modelid”:“PHDL00”,“name”:“Daylight”,“state”:{“dark”:false,“daylight”:true,“lastupdated”:“2019-10-20T11:11:25”,“status”:170,“sunrise”:“2019-10-20T07:55:38”,“sunset”:“2019-10-20T18:26:55”},“swversion”:“1.0”,“type”:“Daylight”,“uniqueid”:“00:21:2e:ff:ff:03:fe:98-01”},“2”:{“config”:{“battery”:100,“group”:“25235”,“on”:true,“reachable”:true},“ep”:2,“etag”:“a63bbf2402eed60693c669a37f3c7172”,“manufacturername”:“Philips”,“mode”:1,“modelid”:“RWL021”,“name”:“Schalter Bad”,“state”:{“buttonevent”:4002,“lastupdated”:“2019-10-19T21:16:17”},“swversion”:“6.1.1.28573”,“type”:“ZHASwitch”,“uniqueid”:“00:17:88:01:06:73:4d:69-02-fc00”},“3”:{“config”:{“battery”:100,“group”:“18130”,“on”:true,“reachable”:true},“ep”:2,“etag”:“2806c63edc8718393694f0391b950ed2”,“manufacturername”:“Philips”,“mode”:1,“modelid”:“RWL021”,“name”:“Schalter WoZi”,“state”:{“buttonevent”:4002,“lastupdated”:“2019-10-19T21:06:59”},“swversion”:“5.45.1.17846”,“type”:“ZHASwitch”,“uniqueid”:“00:17:88:01:06:e8:5e:af-02-fc00”}}
How to get them showing up in OpenHab?
Why do I get ‘“battery”:“100”’?