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

Fibaro HCL Virtual Switch


Question

Posted

Hello, i have a Fibaro HCL with the actual Firmware.

I want to create a virtual switch with 3 Buttons. 1 Button for "holiday", one for "homeoffice" and one for "office".

I have some szenes for my blinds and a wakeup light. They start at the same time in the morning from monday to friday.

In cas of a holiday in the week i want not to open the blind an switch on the wakeup light. When i'm in my office i want to wake up earlier and when i'm in homeoffice i can sleep 1 hour longer.

With the virtual device i want to switch between the 3 states.

I'm not able to create such virtual device, i've tried it bur it would not work.

 

Pleas give me an example or a manual, to create it

3 answers to this question

Recommended Posts

  • 0
Posted

  

You have two way if I good understand your problem.

In all scenes after "Basic" write your admin login data password:user (ex. password:[email protected]) coded in Base64.

In VD in zone IP write 127.0.0.1 and in port 11111

1. VD With 3 groups by 2 buttons for singe scene (give possibility to activate more that one scenes in same time) like below

In this example change  scenes number (5) for numbers of your 3 scenes.

[Turn on auto working scene]

Please login or register to see this code.

[Turn off auto working scene]

Please login or register to see this code.

 

2. With 3 buttons (singe scene active in same time)

create global variable ex. active_scene

add supplementary conduction in all 3 scenes (....and active_scene = N,  N= 1 in first scene, = 2 in second...)

[Switch Scene 1 to be active]

Please login or register to see this code.

Important! You use in code {"name":"active_scene","value":"1","invokeScenes":true"} if you want that scene autostart first time just after activated by buttom or {"name":"active_scene","value":"1"} if was only started by conductions inside scene.

 

[Switch Scene 2 to be active]

Please login or register to see this code.

  • 0
  • Inquirer
  • Posted

    Thank you for these  explanation. I will try it on wednesday.

    • 0
  • Inquirer
  • Posted

    it works fine i'm very happy. Thanks.

    I've done it like this.

    Is it possibel to see the status of the szenes?

    Like if i turn off "Büro AUS", colour green and "Bürotag" colour red and so on.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

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