This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
List of LED ring colors
MartijnDeRhoter
Member
in Archive
Hi all,
From the dev library, I found the below snippet to invoke the loading animation:
Homey.manager('ledring').animate( // animation name (choose from loading, pulse, progress, solid) 'loading', // optional animation-specific options { color: 'green', rpm: 4 // change rotations per minute },
Is there a list of colors I can use somewhere? And can I control the width of the animation? I think when something is actually loading, that's the value used as a progress bar (starts small and grows as the data loads).
Thanks!
From the dev library, I found the below snippet to invoke the loading animation:
Homey.manager('ledring').animate( // animation name (choose from loading, pulse, progress, solid) 'loading', // optional animation-specific options { color: 'green', rpm: 4 // change rotations per minute },
Is there a list of colors I can use somewhere? And can I control the width of the animation? I think when something is actually loading, that's the value used as a progress bar (starts small and grows as the data loads).
Thanks!
This discussion has been closed.
Comments
Progress is possible as well, use animation.updateFrames() for that :-)