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
danielgebauer 0
Hello,
maybe some here could help.
I have a HCL (3.593) and want to simply switch on/off a hue lamp via virtual device.
The only importable ready Phillips Hue Virtual Devices i could find on the internet are with LUA for HC2, so i tried to create a very simple one for HCL
I could test the HUE API commands via the debugging console of the HUE bridge. (
Please login or register to see this link.
)I created a User "0123456789abdcef0123456789abcdef" and i can simply turn the light on and off via this simple PUT Command via the Debug Console (that works)
PUT /api/0123456789abdcef0123456789abcdef/lights/1/state (URL)
{"on":false} (Message Body)
So i tried some code for the button in die vd, but none worked ... someone here to help me finding my mistake?
Some examples, that didn't worked:
Please login or register to see this code.
Please login or register to see this code.
Please login or register to see this code.
3 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.