Jump to content

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


  • 0

Triggering a IP switch


robinvandienst

Question

Hello 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:

 

Please login or register to see this code.

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.

Please login or register to see this code.

 

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.

 

 

Please login or register to see this attachment.

Edited by robinvandienst
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
8 minutes ago, robinvandienst said:

No more help needed. Found it out myself.

Great! Can you please share your solution?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • i used a virtual device, 

     

    Internal IP adres of the device. 

    TCP Port is set at 1234 by default

     

    Then send a string

     

    Please login or register to see this code.

     for channel 1 ON

    Please login or register to see this code.

    for channel 1 OFF

    Please login or register to see this code.

    for channel 1 PULSE

     

    For the next channel, simply change the number to the channel you want. (for example: L2\r\n )

     

    Very Simple, but the command list is not listed anywhere, and not included when you buy one. 

     

    I used this relay module for a few simple devices installed 1 one place..Very cheap option (For the rest of the relays i use just normal relay modules from fibaro)

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Edited by robinvandienst
    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...