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

It's possible to change icons on buttons label from a scene?

I have two scenes to report that status, but i only can report to label field.

Ex: gate is open show icon of a gate opened and if gate is closed change that to a closed one.

6 answers to this question

Recommended Posts

  • 0
Guest spazpeker
Posted
34 minutes ago, NunoMartins said:

It's possible to change icons on buttons label from a scene?

I have two scenes to report that status, but i only can report to label field.

Ex: gate is open show icon of a gate opened and if gate is closed change that to a closed one.

yes you can

 

fibaro:call(xxx, "setProperty", "currentIcon", yyy);

 

xxx = VD ID

yyy = icon ID

  • 0
  • Inquirer
  • Posted
    1 minute ago, spazpeker said:

    yes you can

     

    fibaro:call(xxx, "setProperty", "currentIcon", yyy);

     

    xxx = VD ID

    yyy = icon ID

    i can't do that on HCL!

    • 0
    Guest spazpeker
    Posted
    1 minute ago, NunoMartins said:

    i can't do that on HCL!

    you could get the scene to press a button on your VD to change the icon ?

    • 0
  • Inquirer
  • Posted
    3 minutes ago, spazpeker said:

    you could get the scene to press a button on your VD to change the icon ?

    how can i do that?

    i have a scene like this

    Please login or register to see this attachment.

    • 0
    Guest spazpeker
    Posted
    14 minutes ago, NunoMartins said:

    how can i do that?

    i have a scene like this

    Please login or register to see this attachment.

     

     

    on the VD you need to change the Icon for open and the icon for closed then when you push each button the main VD icon will change !!!

    Please login or register to see this attachment.

    • 0
  • Inquirer
  • Posted
    Just now, spazpeker said:

     

     

    on the VD you need to change the Icon for open and the icon for closed then when you push each button the main VD icon will change !!!

    Please login or register to see this attachment.

    I like if with one button the icon on that change if the status of sensor gate change.

    My scene report that status to label line on top of the button line.

    This is my VD!

    Please login or register to see this image.

    /monthly_2018_03/5a99483e063d5_Capturadeecra2018-03-02as12_48_03.png.d0f416f4785e32ba0d51a91ceaa049da.png" alt="5a99483e063d5_Capturadeecra2018-03-02as12_48_03.png.d0f416f4785e32ba0d51a91ceaa049da.png" />

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