CheerLights JavaScript Widgets are a collection of embeddable widgets that display the current CheerLights color on web pages. They leverage the CheerLights JavaScript library to fetch the current color and display it. You can find the CheerLights JavaScript library on GitHub.
This widget displays the background color set to the latest CheerLights color.
This widget displays the CheerLights logo with a background color that changes to the current CheerLights color.
This widget displays the FearLights logo with a background color that changes to the current CheerLights color. This is a Halloween-themed widget.
This widget displays falling snowflakes using the CheerLights JavaScript library.
This widget displays lanterns using the CheerLights JavaScript library.
This widget displays falling leaves using the CheerLights JavaScript library.
This widget displays a dynamic aurora inspired by the current CheerLights color.
This widget displays a particle effect inspired by the current CheerLights color. Move your mouse over the widget to interact with it.
This widget displays a 7-segment digital clock with a background color that changes to the current CheerLights color.
To embed CheerLights widgets on a Home Assistant dashboard, follow these steps:
-
Open Home Assistant: Open your Home Assistant instance in a web browser.
-
Navigate to the Dashboard: Go to the dashboard where you want to add the CheerLights widget.
-
Edit the Dashboard: Click on the three dots menu in the top right corner and select "Edit Dashboard".
-
Add a New Card: Click on the "Add Card" button to add a new card to your dashboard.
-
Select the "Webpage" Card: Scroll down and select the "Webpage" card option. This allows you to embed a webpage.
-
Enter the Widget URL: Enter the URL of the CheerLights widget you want to embed (e.g. https://widgets.cheerlights.com/snow.html).
-
Save the Card: Click on the "Save" button to save the new card to your dashboard.
To embed CheerLights widgets on a WordPress site, follow these steps:
- Add a new block
- Search for “Shortcode”
- Copy iframe code and adjust the src, width, and height as needed