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

Virtual Device, calling other Virtual Device


Question

Posted

Hi,

 

I am fairly new to Fibaro and the HC2.

 

i have the below setup;

 

Within a room i have a 'watch tv' button, when pressed this turns on the tv and sets it to hdmi. When this button is pressed i would like there to be some options;

 

Watch Sky - When pressed, calls up a 'sky' virtual device remote

Watch BTVision - When pressed, calls up a 'btvision' VD remote

Watch Kodi - When pressed, calls up a 'kodi' VD remote

Watch Bluray - When pressed, calls up a 'bluray' VD remote

 

Should the 'watch tv' VD have 4 x watch 'xxxx' buttons which when pressed call up a different virtual device (e.g. sky) If so how do i go about this?

 

Finally, is it possible for fibaro to call up a different app? E.G. when on the fibaro ipad/iphone app, can a button be assigned which calls up the sky+ app ( fb389824664411304:// )

 

Many Thanks,

 

Jon

 

5 answers to this question

Recommended Posts

  • 0
Posted

I'm a little bit confused what exactly you're looking for...

Any how my suggestion is to create VD with four buttons. Each button should have its own code to activate wanted action,  no need to call another VD.

 

Or may be I just don't understand what you're trying to achieve.

  • 0
  • Inquirer
  • Posted

    Hi,

     

    Thanks for the reply and sorry for the confusing post

    Please login or register to see this image.

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

     

    Hopefully this is clearer.

     

    I would like to create a button called 'watch tv' this would turn the tv on and then give me 4 buttons with the option to 'watch sky' 'watch bt vision' 'watch kodi' 'watch bluray' 

     

    Each of these buttons, once pressed would bring up a different virtual device with the relevent remote control buttons.

     

    E.g.

     

    When 'watch sky' is pressed it will bring up buttons to control the sky box: 1-9 keys, up, down, left, right, sky home etc

     

    When 'watch bluray' is pressed it would display the buttons relevent to this device. play/pause/stop etc.

     

    Thanks,

     

    Jon

    • 0
  • Inquirer
  • Posted

    A completely different viewpoint would be to have the four different buttons 'watch sky' 'watch bt vision' 'watch kodi' 'watch bluray' 

     

    When 'watch sky' is pressed it would;

     

    Turn the tv on

    Set the input to sky

    Bring up the relevent remote with the sky buttons.

     

    The issue i have with this; If i pressed 'watch sky' and then decided 5 minutes later to watch bt vision, by pressing the 'BT vision' button it would want to turn the tv 'on' when it is already on (causing the television to turn off)

     

     

    Is this where a global variable could be used?

     

    Many Thanks,

     

    Jon

    • 0
    Posted

    A completely different viewpoint would be to have the four different buttons 'watch sky' 'watch bt vision' 'watch kodi' 'watch bluray'

    When 'watch sky' is pressed it would;

    Turn the tv on

    Set the input to sky

    Bring up the relevent remote with the sky buttons.

    The issue i have with this; If i pressed 'watch sky' and then decided 5 minutes later to watch bt vision, by pressing the 'BT vision' button it would want to turn the tv 'on' when it is already on (causing the television to turn off)

    Is this where a global variable could be used?

    Many Thanks,

    Jon

    Yes variable... Eg you press TV then variable set to Mode = TV

    Press sky then Mode = Sky

    Do menu button + TV variable does a or button + Sky variable does b

    • 0
    Posted

    Have an idea... you can create a VD which contents all buttons like any standard TV remote and to add  extra 4 buttons for Watch Sky.. blue-ray and etc.

    In this case you will have all necessary functions for all equipment and TV on/off specific button, so on/off should be excluded from buttons action.

     

    See attached picture. (For example you can replace the colorful buttons to yours)

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