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
vanni177 0
Hi I tried to use a Hue API command in my scene, but it's not working.
I copied the LUA code from a working Hue VD and modify a bit, as the original is to switch off a Hue.
I'd like to switch "group/0" in Hue-bridge to turn off all hue lights at once.
here is how it looks like and is not working.
I guess the problem is :
Hue = Net.FHttp(hueIP,huePort)
response ,status, errorCode = Hue:PUT('/api/'..hueuser..'/groups/0/action', '{"on":'..on..'}')
Any help on that is welcome
Please login or register to see this attachment.
Edited by vanni177Link to comment
Share on other sites
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.