0
Answered
Theo Derks - NL (distributor) 2 years ago in Applications / i3 Pro • updated by Paulo de Almeida 6 months ago 21

Hi,

is it right, the current example for Philips Hue is not working?


i tested the driver on www.iridiumMobile.net, but it's not working.


Please fix


Thanks



Theo


Answered

Hello Theo,

Now, driver Philips Hue will be supported by i3 Lite. It will be not supported in the first release version i3 pro.

Hello Oskana,

Is the HUE driver still not supported by i3pro ?

Hi Aleksandr,


Now the last program you send me is working so far.

This page does not seem to work "The top always says Hue Lamp 3" not sure thats the right lamp.


Also do i always have to press the link button on the device in the future ?... Because the device will be mounted in ceiling soon.

Waiting for user's reply

Philips HUE.irpz

In Inits_hue.js on 86 row, you can change value HUE.HueUserID = undefined;

getting an error opening the project you send.

See picture

Hi Aleksandr,


Now its working fine.


I have 2 questions.


1. Do i always have to press the link button ? I remeber in the old version there was automatic discovery mode.


2. Is this the final version of HUE Software template ? Or will you do some more modifications?

Answered

1. As written above, you can register a key in the code and no longer need to press the button on the hub.
2. This is just an example of HUE, we rework the code in the format of driver that can be used with any design.


Thank you for your efforts and assistance in finding errors!

Where do i find the key? i looked in the log i found User ID SWtjgSQMalbSTx7ypCIP-eSUIVwVOFCc2NWk9Qpx

i used that string instead of undefined; but it did give me a script error.

The key is similar to the right. You're in the line he was surrounded by braces?

HUE.HueUserID = "SWtjgSQMalbSTx7ypCIP-eSUIVwVOFCc2NWk9Qpx";

yes that´s correct... silly me i forgot the braces... Can you tell me one last thing. I might want to connect the HUE colour picker also with a RGB Strip light i have here.

I want to do some experiment to see if i can get this to work. Can you tell me where (in which line) the colour from the colour picker is actually transferred to the lamp?

In row 187 hue_driver.js color geting from color_picker and transform to HSV format for lamp

ok, thank you Aleksandr.

Hello Aleksandr,


In an older Costumer Project i am using the HUE template "HUE_1.1.18" from Iridium V2 (See Attachment).

Now i need to update this costumer soon with the new Iridium V3 for server functionality.

The problem is i can not change all the HUE graphics etc. because the costumer is now used to this type and it would look weird.

Do you know anybody who can to this kind of Job implement the new JS code into the old Template.

I can try it myself but it will take me very long to complete. ( Of course this would need to be a paid job).


Please advise,

HUE_1.1.18.irpz

Hello,


Unfortunately, we currently do not offer this service, so any attempt to on the basis of an example, or wait for the HUE driver ...

Hello Aleksandr,

As you told me 5 montha go that you will rework the code D.o you have any Idea when the reworked HUE Driver will be available? The code is quite a mess to be honest and is difficult for me to implement this in new GUI designs.


Any Information on this?

By January 2017 we plan to make available LITE modules in the form of drivers in the Studio. Including Phillips HUE

Hello Aleksandr,

Are there any news on this Topic ? We really would like to use the HUE driver in our new Projects but it is not possible to implement with the status of the code. I keep telling my clients that we can just offer this beta version without customization..

Also it keeps logging and logging stuff when you run the App. Like the below get send over and over which is not good as it keeps communication traffic up.


[08-02-2017 18:01:08.127] INFO SCRIPT analyze start keys: ["1", "2", "3"]

[08-02-2017 18:01:08.141] INFO SCRIPT GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
[08-02-2017 18:01:10.862] INFO SCRIPT SEND getlight 1
[08-02-2017 18:01:11.054] INFO SCRIPT !!!!!!!!!!!!!!!!!!!!!!!! {"1":{"modelid":"LCT001", "manufacturername":"Philips", "uniqueid":"00:17:88:01:00:be:19:9d-0b", "type":"Extended color light", "name":"Hue Lamp 1", "swversion":"5.23.1.13452", "state":{"on":true, "reachable":true, "xy":[0.5489, 0.3804], "ct":500, "alert":"none", "effect":"none", "bri":205, "colormode":"hs", "hue":7755, "sat":200}}, "2":{"modelid":"LCT001", "manufacturername":"Philips", "uniqueid":"00:17:88:01:00:be:26:9a-0b", "type":"Extended color light", "name":"Hue Lamp 2", "swversion":"", "state":{"on":true, "reachable":false, "xy":[0.2127, 0.1297], "ct":344, "alert":"none", "effect":"none", "bri":237, "colormode":"hs", "hue":38837, "sat":254}}, "3":{"modelid":"LCT001", "manufacturername":"Philips", "uniqueid":"00:17:88:01:00:b2:7b:5b-0b", "type":"Extended color light", "name":"Hue Lamp 3", "swversion":"0.10.0.3148", "state":{"on":true, "reachable":false, "xy":[0.2127, 0.1297], "ct":344, "alert":"none", "effect":"none", "bri":138, "colormode":"hs", "hue":0, "sat":254}}}