Skip to content

About

Bindicator Integration and Lovelace Card

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—‘οΈ Bindicator

A WLED-powered wheelie-bin indicator for Home Assistant

Turn a normal Home Assistant WLED light into a compact, animated bin-status card with direct brightness, colour and effect controls.


Home Assistant HACS Version License

Animated effects Β· Visual editor Β· Automatic WLED effect helper Β· One HACS integration


🎬 Demo

bindicator-demo-ezgif com-video-to-gif-converter ---

πŸ—‘οΈ Getting a Bindicator

Bindicator can be purchased at https://deanfourie.me/product/bindicator/

For those who want to build their own, article post can be found at https://deanfourie.me/bindicator/

There is a PCB version available which gives 6 5050SMD WS2182B LEDs for better LED effects and built in ESP32 with I2C breakout for custom additions.

image

πŸš€ Installation

1. Install with HACS

Add this repository to HACS as a Custom Repository using the Integration category:

https://github.com/deanfourie1/bindicator-integration

Install Bindicator, then restart Home Assistant.

2. Add the Bindicator integration

Go to:

Settings β†’ Devices & services β†’ Add Integration β†’ Bindicator

Select the WLED light you want Bindicator to use.

For example:

light.wled_house

Bindicator automatically creates an effect entity such as:

select.bindicator_wled_house_effect

No manual Template YAML is required.

3. Add the dashboard card

Edit a Home Assistant dashboard:

Add card β†’ Bindicator Card

Choose your WLED light and the create WLED effects entity created when adding the integration.

When adding the device in Devices & Services, this creates a helper for your WLED light entity to change effects easily.


🎨 Dashboard Card

The card provides a compact bin display with controls alongside it.

Controls

  • Brightness β€” adjust WLED brightness directly.
  • Colour β€” choose or drag across the colour control.
  • Effect β€” select from the WLED effect list.
  • Power β€” tap/click the bin itself to toggle the light.

When the light is off, the controls are visually dimmed and the bin glow is disabled.


🌈 Effects & Animation

Bindicator visually approximates common WLED effects using CSS animation.

Animation behaviour can respond to:

  • power state
  • brightness
  • selected colour
  • effect name
  • WLED speed

Home Assistant does not expose the live colour of every individual WLED pixel through the light entity, so animated effects are visual approximations rather than a frame-for-frame representation of the LEDs.


βš™οΈ Automatic Effect Entity

When Bindicator is configured for a WLED light, it creates a dedicated effect entity.

Example:

light.wled_house

becomes:

select.bindicator_wled_house_effect

The card detects this entity automatically.

Selecting an effect from the Bindicator card calls the underlying WLED light with the selected effect.

This replaces the older manual Template YAML approach.


πŸ–ΌοΈ Images

The current card supports configurable bin artwork.

Default paths:

/local/images/bin_base.png
/local/images/bin_glow_mask.png

Home Assistant exposes:

/config/www/

as:

/local/

The image paths can be changed from the Bindicator visual editor.


πŸ› οΈ Frontend

The dashboard card is bundled directly inside the integration:

custom_components/bindicator/frontend/bindicator-card.js

Bindicator serves the card through:

/bindicator/bindicator-card.js

and automatically registers it as a Home Assistant Lovelace module resource.

There is no separate Bindicator dashboard HACS repository to install.


🧹 Automatic Resource Cleanup

Bindicator manages its frontend resource automatically.

Install / configure Bindicator
        β”‚
        β–Ό
Register Bindicator Lovelace resource

Remove one Bindicator entry
        β”‚
        β”œβ”€β”€ Other Bindicator entries exist β†’ resource stays
        β”‚
        └── Last Bindicator entry removed β†’ resource removed

This prevents stale Bindicator JavaScript resources remaining in Home Assistant after the integration has been removed.


🧩 Example Card YAML

Normally the visual editor is all you need, but the card can also be configured manually:

type: custom:bindicator-card
entity: light.wled_house
name: Bindicator
show_header: true
theme_mode: bindicator

The generated Bindicator effect entity is detected automatically when available.


🎨 Themes

Bindicator includes three appearance modes:

Theme Description
Bindicator Original Bindicator orange/blue styling
System / Home Assistant Follows the active Home Assistant theme
Custom Configure accent, secondary accent, control background and text colours

The default is Bindicator.


πŸ“¦ Repository Layout

bindicator-integration/
β”œβ”€β”€ README.md
β”œβ”€β”€ hacs.json
β”œβ”€β”€ assets/
β”‚   └── bindicator-demo.mov
└── custom_components/
    └── bindicator/
        β”œβ”€β”€ __init__.py
        β”œβ”€β”€ config_flow.py
        β”œβ”€β”€ const.py
        β”œβ”€β”€ manifest.json
        β”œβ”€β”€ select.py
        β”œβ”€β”€ strings.json
        β”œβ”€β”€ translations/
        β”‚   └── en.json
        └── frontend/
            └── bindicator-card.js

πŸ”„ Updating

Update Bindicator through HACS and restart Home Assistant when requested.

The frontend resource URL is versioned so Home Assistant does not continue using an old cached copy of the card after an update.


πŸ“‹ Version history

v0.3.4

  • Changed Home Assistant integration_type from helper to device.
  • Bindicator appears as a normal integration under Settings β†’ Devices & services β†’ Integrations.
  • Automatic WLED effect helper remains unchanged.

v0.3.3

  • Added automatic Lovelace resource cleanup.
  • Removing the last Bindicator config entry removes the Bindicator frontend resource.
  • The shared resource remains while another Bindicator entry still exists.

v0.3.2

  • Fixed the Bindicator card tile getting stuck on a loading spinner in the Home Assistant card picker.
  • Disabled the problematic live picker preview.
  • Improved default card configuration.

v0.3.1

  • Bindicator now registers its bundled frontend as a real Lovelace module resource.
  • Added versioned frontend URLs to prevent stale browser caching.

πŸ› Issues & Feature Requests

Found a problem or have an idea for Bindicator?

Use the repository's Issues section to report bugs or suggest improvements.


πŸ“„ License

MIT


Built for Home Assistant + WLED

Bindicator

About

Bindicator Integration and Lovelace Card

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages