Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Robert66 0
I see my 20 hue lights in the HC2 of fibaro, but I can't use them in scenes. I read a lot about it, but I don't get it working.
I installed a virtual device file, after that I see under advanced this kind of code:
Do I have to do something with the "IP adress" and the " TCP Port"
Do I have to fill in my own figures?
Please login or register to see this attachment.
Somebody else told me this kind of code:
--[[
%% properties
%% events
%% globals
--]]
local hueID = 60 --ID60 is hue groep Gang
fibaro:call(hueID, "changeHue", 15547) -- changeHue = Kleur Bereik 0-65535
fibaro:call(hueID, "changeSaturation", 109) -- changeSaturation bereik 0-255
fibaro:call(hueID, "changeBrightness", 122) -- changeBrightness bereik 0-255
fibaro:call(hueID, "turnOn"); -- lamp Hue aan
I tried this withe the right hueID but it is not working for me. I copied this text in a scene by using LUA, but it's not working. Do I also need virtual device then of Philips Hue?
I checked the Hue ID at the Philips hue site, and and noticed the ID's I am using are 1 to 20.
But I don't understand why I have to use in the first code I mention above(regarding the virtual device I am using) a IP address etc,,and somebody else is talking about local hue ID. Anyway it costs me some hours but I still don't understand much about it.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.