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

Combine different devices


Question

Posted

Dear all,

 

I have been trying to do something, but unfortunately to no avail.

Hopefully someone can help me..

 

I am having two TKB Home TZ68G Plugins.. I'd like to combine them so I can turn both ON or OFF together at once, with one button.

When I look at the advanced properties of the module I can see:

 

"Unable to set up associations for selected device. Device doesn’t support it or soft reconfiguration is required.
Please check device documentation."

 

I am not sure though whether this is 'the' or 'the only' way to achieve what I'd like.

 

I have considered trying something with a scene/lua, but as far as I know I need an event in that which triggers something (i.e.: IF temp. is >15 or IF time = x or circuit=closed, etc).. But that's not what I am looking for.. I just need a button which I can press, after which they turn ON or OFF..

 

Idealy I'd do something in LUA, as I would also like to create something alike which includes my Philips HUE bulbs.. I cannot use them in the scene wizard (or whatever it is called), but I have managed to use them with LUA with their IDs.

 

Thanks for your support!

6 answers to this question

Recommended Posts

  • 0
Posted

Do you want to trigger these both devices with interface or physical switch? If from interface, simply create virtual device that will turn both plugs at once.

  • 0
  • Inquirer
  • Posted

    I will try.. Thanks!

     

    By the way, there is a grammar error in the Dutch translation I see..

    When making a virtual device and adding a button you can select a checkbox with the text 'Wacht tot apparaat reageerd' (wait for the device to respond).

     

    'reageerd' is incorrect use of the verb though and should be 'reageert'.

    Not sure where to mention this, but as you have replied to this topic, I am sure you would know..

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    • 0
  • Inquirer
  • Posted

    So, I tried making a virtual device... But it doesn't work lol

     

    I have made a very simple script, but even that doesn;t work, so I must be doing something wrong.

    What I did:

     

    - I made a new virtual device.

    - I added a button

    - For that button, I added the following code and selected LUA:

     

    ***********************************

     

    -- [ [
    %% properties
    %% globals
    -- ] ]

    fibaro:call(59, "turnOn");
    fibaro:call(48, "turnOn");

     

    *****************************************

     

    (Between the *s and the IDs 48 and 59 are correct)

     

    The main loop I left empty.

     

    Now, when I press the button in the code... Nothing happens..

     

    What am I doing wrong or missing here?

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

    Thanks!

    • 0
    Posted

    Try without the header, just:

    fibaro:call(59, "turnOn")
    fibaro:call(48, "turnOn")

    I will pass this to person responsible for translations.

    • 0
  • Inquirer
  • Posted

    Thanks, that does the trick!

     

    PS: Should you need some help with future translations to Dutch, I'd be happy to assist where possible.

    • 0
    Posted

    I will keep you in mind

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20">

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