A lot has changed recently with this plugin, it is even working on my somewhat problematic pimatic installation now with all the latest commits
Thanks!
-
New pimatic plugin for integration with Philips Hue
-
@djmvt said:
A lot has changed recently with this plugin, it is even working on my somewhat problematic pimatic installation now with all the latest commits
Yes, I’ve completely redone pimatic-hue-zll’s error handling, and it will now retry Hue API requests on transient failures, and hide the error unless it persists. That should make it a lot more robust. The current master branch has this code, along with the hue scene activation support.
@sweebee also reported that he was getting a lot fewer socket hangups with pimatic 0.9 (much more recent nodejs version) anyway. Hopefully the combination means that this won’t be an issue soon.
I’ve also been playing with UI support for Hue scenes (basically by auto-configuring a ButtonsDevice), but I think I’ll await Pimatic 0.9 before including that, which should make it a lot easier to do auto-discovery of devices (including scenes . I’ll have a look at that soon.
-
Running happy still with hue zll
Just a question:I am using a rule for my doorbell: when doorbell is activated one of my hue color lights is alternating red and blue for 10 seconds.
For now I had been using 2 “scenes” for that and a rule that starts these to scenes one after the other for 10 seconds. Is there a way to make this easier? Like “if doorbell is pressed then change color of huebol from red to Blue for 10 seconds” or something like that? -
Hi @markbergsma,
nice work! It seems to work very smoothly.
I’m only missing the possibility to use rgb color codes or even color names like in pimatic-ledlight.
However, every time I’m restarting it seems that the plugin itself is adding a line in config.json:
error [pimatic]: Invalid config of pimatic-hue-zll: Property “name” is not a valid propertyCheers.
-
Are there any issues with the hue-zII plugin?
-
@temp probably the best plugin for pimatic there is. Check the github branche. It supports all light types, scenes, pimatic auto discovery (bulbs and bridge auto detect). It also supports different fade times.
I have 15 hue bulbs in my house (4 color, 11 whites). And they work perfectly.
-
I’ve published pimatic-hue-zll version 0.3.0 to npm. This release is all about Pimatic 0.9; although previous pimatic-hue-zll versions already worked fine with it, the new auto-discovery features in Pimatic 0.9 are now supported as well.
From the change log:
- Support Pimatic 0.9 auto-discovery features:
- Automatic discovery of the Hue bridge
- Registration (API key) of pimatic-hue-zll with the Hue bridge using the link button
- Automatic discovery of Hue lights and light groups
- Allow device configuration to be edited from the Pimatic GUI in Pimatic 0.9
- Add debug plugin configuration option to allow plugin-specific debug messages in Pimatic 0.9
This version still seems to work with Pimatic 0.8 / nodejs 0.10; however I won’t test this going forward and further development will focus on Pimatic 0.9 and nodejs 4+ only.
If you have any issues, please report them on Github: https://github.com/markbergsma/pimatic-hue-zll/issues
Thanks!
- Support Pimatic 0.9 auto-discovery features:
-
Hi all,
Just got Pimatic installed on Raspbian with the pimatic-hue-zll plugin activated (added IP address and the name of Bridge as presented in my router).
First couldn’t find the Bridge at all by clicking the big connect button on the Bridge and ‘discover devices’ (Raspberry 3 model B, connected via wifi), then connected via ethernet and now it seems to recognize the Bridge (after some error messages) but no devices are found / added thereafter, this is the log:- error [pimatic-hue-zll]: Error while retrieving inventory of all light groups: Error during groups inventory Hue API request (attempt 1/2): unauthorized user
- error [pimatic-hue-zll]: Error while retrieving inventory of all lights: Error during lights inventory Hue API request (attempt 1/2): unauthorized user
- info [pimatic-hue-zll]: Connected to bridge Philips hue, API version 1.16.0, software 01036659
- info [pimatic]: Starting device discovery for 20000ms.
At that moment I was not signed in in the Hue app (no account made), I tried again while signed in (after making an account in the app), since I read about the other hue plugin that you need to create a user.
This didn’t work, also not after changing the API name to that user name.
I enabled debug messages as well, but no output was generated.Does anybody have a suggestion how to get it to work?
Seems I’m almost there…
Might enabling the HTTP-proxy switch in the Hue App (Bridge network settings) be of any help (currently disabled by default)? Thanks for your help! -
I don’t have any zigbee lights yet, but was wondering. Would it be possible to control for example the Trådfri from ikea as well. Or do you need any additional hardware for this to work ?
According to the Ikea news item I saw it supports zll. -
Mark, thank you very much for pimatic-hue-zll development Is there any possibility that you will integrate hue motion sensor? I mean also this topic https://github.com/markbergsma/pimatic-hue-zll/issues/13.
-
hello
how can i add more as one Hue Brdige to this plugin?
i try
{ "username": "admin", "host": "192.168.1.61", "port": 80, "timeout": 5000, "retries": 1, "polling": 5000, "hueApiConcurrency": 1, "hueApiQueueMaxLength": 0, "plugin": "hue-zll", "active": true, "debug": true }, { "username": "admin", "host": "192.168.1.62", "port": 80, "timeout": 5000, "retries": 1, "polling": 5000, "hueApiConcurrency": 1, "hueApiQueueMaxLength": 0, "plugin": "hue-zll", "active": true, "debug": true }``` but this dont work. not possible to add 2x the same plugin. and under devices it isnt possible to add a bridge
-
Is it normal behaviour that if i dim by rule to 0%, it stays on 10% but displaying 0?