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
sergiobaiao 5
Hi there,
I`m a integrator for home automation products in Brazil. I mainly sell Lutron and Fibaro products. I use both systems in my showroom, and i already control the Lutron system from Fibaro by using LUA scripts.
Now i want to control Fibaro from Lutron. I know that i can connect to HC2 using port 11111 and send a http GET/POST command. The problem is that Lutron HWQS system only sends ASCII commands to third party devices. I`m trying to send this command from Lutron:
GET /api/callAction?deviceID=153&name=turnOff HTTP/1.1
Host: 192.168.0.247
Authorization: Basic YXBpOmFwaQ==
but i need it to be a one line command, to be sent as in a telnet connection. I tried the following:
GET /api/callAction?deviceID=153&name=turnOff HTTP/1.10x0D0x0AHost: 192.168.0.2470x0D0x0AAuthorization: Basic YXBpOmFwaQ== 0x0D0x0A0x0D0x0A
that didn`t work also, returns an HTTP/1.1 400 Bad Request
if i connect over telnet to port 11111 and type line by line the following command it works:
GET /api/callAction?deviceID=153&name=turnOff HTTP/1.1
Host: 192.168.0.247
Authorization: Basic YXBpOmFwaQ==
is it possible to "encode" this so i can send it as a one line command so i can control my fibaro system from my lutron system?
Link to comment
Share on other sites
4 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.