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

Change scene icon


mazzurra

Question

Hello,

 

Is it possible to change a scene icon in LUA?

 

The scene is just a simple toggle:

Please login or register to see this code.

Thanks

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 1

Do you mean something like that?

 

Please login or register to see this image.

/monthly_2018_03/5a9e7a753020e_ChangeIconScene.PNG.fa7543c9305d52a362f2b6073389cad2.PNG"> Scene changing icon.gif

 

Please login or register to see this code.

 

Of course, the most vital part is:

Please login or register to see this code.

 

Link to comment
Share on other sites

  • 0

Hi @mazzurra!

 

Could you develop your idea? What do you mean?

 

With a toggle in one place you would like to change the scene icon of some other scene or what?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Yes I would like to change the scene icon using code. For example when I run the scene I want  to change the icon of the scene. Would this be possible?

    Link to comment
    Share on other sites

    • 0

    Your my hero! This is what I have been searching for too! :)

    • Like 1
    Link to comment
    Share on other sites

    • 0

    Is it also possible to change the icon for the same scene where the code is?

    With the above example I only managed to change icons for other scenes.

    The moment I change the id to the scene itself it doesn't work well anymore.

     

     

    Link to comment
    Share on other sites

    • 0
    On 6.03.2018 at 6:58 PM, Remi said:

    Is it also possible to change the icon for the same scene where the code is?

    Hi!

     

    In a nutshell, when the "icon change code" is at the end, it is possible. However, the icon change requires the scene to reload so you should better change the scene from another scene.

    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.

    ×
    ×
    • Create New...