Welcome to Smart Home Forum by FIBARO
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!
Smart Home Forum by FIBARO Team
Search the Community
Showing results for tags 'ipswitch'.
Found 1 result
Triggering a IP switch
robinvandienst posted a question in Scenes and InterfaceHello Everyone, I got a 8 channel IP relay, that i would like to control with the HC2. I grabbed the network data that's being send out when i use the buttons in the original control webpage of the relay. It looks like this: curl 'http://10.0.1.93/relay_en.cgi' \ -XPOST \ -H 'Content-Type: application/x-www-form-urlencoded' \ -H 'Referer: http://10.0.1.93/relay_en.cgi' \ -H 'Upgrade-Insecure-Requests: 1' \ -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50' \ -H 'Origin: http://10.0.1.93' \ --data 'saida1on=on' How could i get the HC2 to trigger this via LUA? Can it be done? I also found this.. Maybe someone can help me find out.. This triggers Relay 1 for an Pulse of 1 second, "saida1on=on" sets the relay on and "saida1off=off" sets relay 1 to off. curl --user admin:password --data "saida1pluse=pluse" http://10.0.1.93/relay_en.cgi If i can explain anything more, please ask.. I'm struggling with this for a few days now, and can't get this to work.