This custom integration allows you to control your Raspberry Pi Wordclock from Home Assistant.
- Light Entity: Control the brightness and color of the Wordclock.
- Plugin Switches: Automatically discovers available plugins on your Wordclock and creates a switch for each one. Toggling a switch activates that plugin.
- Open HACS in Home Assistant.
- Go to Integrations > Top right menu > Custom repositories.
- Add the URL of this repository:
https://github.com/aupp/wordclock_homeassistant. - Select Integration as the category.
- Click Add.
- Find "Wordclock" in the list and install it.
- Restart Home Assistant.
-
Copy the Component:
- Copy the
custom_components/wordclockfolder from this repository to your Home Assistant configuration directory inside thecustom_componentsfolder. - The final path should look like:
/config/custom_components/wordclock/.
- Copy the
-
Restart Home Assistant:
- Restart your Home Assistant instance to load the new custom component.
-
Add Integration:
- Go to Settings > Devices & Services.
- Click the + ADD INTEGRATION button in the bottom right.
- Search for "Wordclock".
- Select the integration.
-
Configuration:
- Enter the Host (IP address or hostname) of your Wordclock.
- Enter the Port (default is usually 80 or 8080).
- Click Submit.
Once added, you will see a device named "Wordclock" with the following entities:
- Light:
light.wordclock_light(or similar). Use this to turn the display on/off, dim it, or change the color. - Switches:
switch.wordclock_plugin_time_default,switch.wordclock_plugin_tetris, etc. Turn on a switch to activate that specific mode on the clock.