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

using virtual devices and scenes


jcilissen
 Share

Question

Hi

I am trying to configure some buttons with the Virtual devices but it is not working

Probably it is simple but I can't figure it out how to do this and it gets me frustrated.

I can't find any good information about it and I have seen that there are more questions about this matter , but there doesn't seems to be any good answers.

Actually the question is simple... how to work with virtual devices.

A good documentation is really missing here

I want some virtual buttons that when you push them a scene is activated or deactivated

Or that a certain scene starts or stops when you push it.

Also 1 button to active or deactivated several scenes at once

Thanks in advance for all the help

Jos

Please login or register to see this attachment.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You have all device in scene page on the left side.

But for virtual device is :

fibaro:call(X, "pressButton", XX);

X is device number

XX buntton number

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Sorry but it doesn't work at all

    If I take the first buttun " Start scene 1"

    When I click on it Scene 1 should start

    Which code do I have to put behind this button

    I found this on tthe forum

    fibaro:startScene(1);

    But nothing happens

    Next button is to stop scene 1

    Also for activating and deactivating of a scene

    fibaro:setSceneEnabled(1, true);

    or

    fibaro:setSceneEnabled(1, false);

    Also nothing happens

    I think I am missing something here

    but I don't know what

    Is it possible to give me the complete code I have to fill in for the buttons

    Thanks

    Greets

    Jos

    Link to comment
    Share on other sites

    • 0
    Guest mofawzi

    Shad,

    what do you mean by fibaro:call(X, "pressButton", XX); where this should be put?

    Thanks

    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.

    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.

     Share

    ×
    ×
    • Create New...