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


Question

Posted

Hello!

I have a hue lamp and a single switch2 connected to it via livolo ih touch switch. The question is how to control via livolo ih touch switch my hue lamp with VD scenes.

How it works now:

i turn livolo touch switch on, then FB single switch 2 supplies load to the lamp.

Is it possible (and how it is) to do next thing:

i turn livolo touch switch on with a short press and then FB single switch starts VD to turn on the lamp?

(FB single switch the load only on a long press, and the short starts VD)

 

Thanks a lot!

 

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

OK, the code below waits for two seconds and if the switch still pressed, it means long press.

Please login or register to see this code.

 

Edited by cag014
  • 1
Posted

First of all VD is not scene, you cannot trigger Virtual Device. You can call VD (or his buttons) from scene.

Is your  livolo ih  switch has Z wave? As far as I know it's not.

Could you please post a link of the product or user guide?

Now, how it works:

Your switch should trigger a scene. In scene you should be capable to identify the trigger/switch type (short or long) and then you can call VD or turn on the light. See example below.

Please login or register to see this code.

 

  • 0
  • Inquirer
  • Posted (edited)

    I can trigger single switch and it calls scene, that runs VD. The question is how to trigger single switch without switching the load on/off.

    Livolo ih is an impulse switch that works like a door bell. There is a link:

    Please login or register to see this link.

    Please login or register to see this link.

     

    Edited by [email protected]
    • 0
    Posted

    OK, so you're able to get  livolo ih switch state, right?

    If so, here what I suggest:

    When you receive a trigger in your code, write a loop for few seconds, which reads livolo switch status. If the switch still pressed after few seconds you can consider that as a long press and to do whatever you need.

    If you could post your code I can be more specific.

     

     

    • 0
  • Inquirer
  • Posted

    i dont know how to get livolo ih swich state. But I think it possible, because in FB single switch configuration there is some parameters e.g. parameter 10 that get the state of livolo ih switch. I create automatization using block scenes. There is a lua code transformed from one of it.

    Please login or register to see this code.

     

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