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!



Smart Home Forum by FIBARO Team

Communication between HC2 and HC3


Recommended Posts

I have an HC2 (for some time now), and I just bought an HC3 ?.


Because it's going to take a little longer to transfer the scenes (I wanted freshen up the scene anyway) I want the HC2 and HC3 to coexist.

And than transfer room for room the devices and scene (also because switches in the wall have to be opened).


In the HC2 I have a command that switches off all lights at once.

It would be nice if I could send a command via a text message to the HC3 to start a scene there.

So that in the HC3 I can start a scene to switches off the divices too.


I Know, starting a scene via a URL is possible, but sending a URL this way from the HC2 not.



Link to comment
Share on other sites

  • 1 month later...
  • Topic Author
  • To communicate from the HC2 to the HC3 you can do the following....


    I created a VD, with three push buttons. (note! change sting in Lua)

    All three buttons controls devices or variables on the Home Center 3.


    Change IP, in your IP of your Home center 3..
    you need to change DeviceID=84 in the deviceID of your Double Switch.


    Code Button 1, to switch Fibaro Double switch  On:

    Please login or register to see this code.

    Code switch 2, to switch Fibaro Double switch Off:

    Please login or register to see this code.

    Button 3,
    First create a Global Varaible on the HC2 and on the HC3 with the name: MyGlobalValue

    in this example I use Authentication (user;password) admin;admin


    In the push button of the HC2 VD you program:

    Please login or register to see this code.

    By pressing button 1, 2 or 3 of your new VD, your double switch must be switched on or off, or the value of MyGlobalValue must be taken from your HC2 in the HC3.


    To start these pushbuttons from a scene, call the VD with its pushbutton 1,2 or 3.
    Suppose your VD has the ID 311, and want to switch on your device on the HC3,
    then the code in your scene is:

    Please login or register to see this code.


    Unfortunately, the connection is quite static.

    For example, you can't give the name of the variable from the scene. To send a value to that given variable.

    However, you can create a global variable with the deviceID, and then enable or disable the device with that deviceID on the HC3.

    I hope this helps..

    Edited by NLWaard
    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.

    Reply to this topic...

    ×   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...