Ich hab eine Hue Adore Ceiling Lampe im Badezimmer montiert:
Folgende Info bekomme ich von der API:
{
"3": {
"state": {
"on": true,
"bri": 254,
"ct": 366,
"alert": "select",
"colormode": "ct",
"mode": "homeautomation",
"reachable": true
},
"swupdate": {
"state": "readytoinstall",
"lastinstall": "2021-10-20T12:15:13"
},
"type": "Color temperature light",
"name": "Hue Adore Ceiling 2",
"modelid": "3418411P6",
"manufacturername": "Signify Netherlands B.V.",
"productname": "Hue Adore Ceiling",
"capabilities": {
"certified": true,
"control": {
"mindimlevel": 100,
"maxlumen": 2400,
"ct": {
"min": 153,
"max": 454
}
},
"streaming": {
"renderer": false,
"proxy": false
}
},
"config": {
"archetype": "ceilinground",
"function": "functional",
"direction": "downwards",
"startup": {
"mode": "lastonstate",
"configured": true
}
},
"uniqueid": "00:17:88:01:09:88:53:a9-0b",
"swversion": "1.88.1",
"swconfigid": "96C9956A",
"productid": "4422-9466-8971_HC02_PSU03"
}
}
Lichtbaustein wurde als LUMITECH definiert.
char* IP_ADDRESS = "http://192.168.1.XXX"; char* PORT = "80"; char* USERNAME = "1337133713371337"; inputType[0] = 5; // 5 = Dimmereingang (wie '1', Ansteuerung der Lampe via Bri/Ct, Gluehlampensimulation) lightOrGroupID[0] = 3;
Ich hab mich schon mit verschiedenen Merker Typen, RGB/Lumitech/.. Bausteinen und ID's herumprobiert, bis jetzt funktioniert nicht.
Kann mir bitte jemand weiterhelfen?
Einen Kommentar schreiben: