Hi,
I’ve just received my Philips Hue bridge and tried connecting it to pimatic via hue-zll plugin.
- got my API key
- installed plugin
- restart
- tried to find id for my lamp
–> http://<IP>/api/<APIKEY>/lights
{
"1": {
"state": {
"on": true,
"bri": 218,
"hue": 53772,
"sat": 110,
"effect": "none",
"xy": [0.3927, 0.2952],
"alert": "none",
"colormode": "xy",
"reachable": true
},
"type": "Color light",
"name": "Hue aura 1",
"modelid": "LLC014",
"manufacturername": "Philips",
"uniqueid": "<UNIQUE ID>",
"swversion": "5.23.1.13452"
}
}
So I figure ID is ‘1’.
- created device
Name HUE Wohnzimmer
ID hue-wohnzimmer
Class: HueZLLColorLight (above quoted output stated that my type is ‘Color Light’)
hueId 1 (also tried using the unique ID here instead)
I did not change any other parameters
After saving this device, I cannot add it to my favorites. First I got error messages, now just nothing happens. Latest log:
error [pimatic-mobile-frontend]: Client error: Cannot read property 'length' of undefined
12:10:37error [pimatic-mobile-frontend]: Client error: Cannot read property 'length' of undefined
12:10:24error [pimatic-mobile-frontend]: Client error: Cannot read property 'length' of undefined
12:07:54error [pimatic-mobile-frontend]: Client error: Cannot read property 'length' of undefined
12:07:36error [pimatic-mobile-frontend]: Client error: Cannot read property '__ko__1497866564841' of null
12:03:04error [pimatic]: Cannot find module '../../build/Release/arm/nsutil_posix_linux.node'
12:02:21error [pimatic-mobile-frontend]: Client error: Cannot read property 'length' of undefined
11:58:04error [pimatic]: Cannot find module '../../build/Release/arm/nsutil_posix_linux.node'
When I use the hue plugin instead, it works fine. So I assume my API Key and deviceId are correct. However, hue only lets me change one thing via pimatic (not sure whether it is saturation or brightness). hue-zll is supposed to let me change all settings via pimatic.
Has anybody encountered this problem before and might have an idea on how to fix it?
Cheers