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
Lights-on 0
Hi,
I tend to control my lights via HC2 by using the REST API.
In my setup i am using the HC2 as a gateway in between my Crestron CP3 processor (which is the main controller) and all the lighting fixtures connected and controlled by the HC2.
The Crestron controller is sending http command strings over a TCP connection to the HC2 controller.
For example when using the TurnOn and TurnOff command via the API Doc webinterface commands are carried out immediately with no delays.
Please login or register to see this link.
However when sending the same command to the HC2 by using the Crestron controller it takes at least 30 seconds up to 1 minute before any reaction follows and the command is carried out.
Strange thing : There is a difference in behavior.
When sending command string for Resfreshstates : GET /api/refreshStates?last=1 HTTP/1.1\nHost: %s\nAccept: application/json\nAuthorization: Basic bWFyaW9AbGlnaHRzLW9uLm5sOk1hcmlvX0thc3RlbGVpbl8xOTgy\n\n
This command is carried out immediately by the HC2 when sent from the Crestron controller. No delays at all, immediate response.
But when sending the TurnOn or TurnOff command over the same connection, using the same principle : POST /api/devices/45/action/turnOn HTTP/1.1\nHost: %s\nAccept: application/json\nAuthorization: Basic bWFyaW9AbGlnaHRzLW9uLm5sOk1hcmlvX0thc3RlbGVpbl8xOTgy\n\n
it takes 30 seconds up to 1 minute before the actual command is carried out and any response from the HC2 will follow.
Any suggestions to solve this?
16 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.