HassLight LED Controller let you connect LED strip to your smart home, and control it via "Siri" or "Alexa" or any other smart speakers connected to Home Assistant.
For now we support three ways of integrating.
- Connect with Apple HomeKit (iOS Home APP)
- Connect with Home Assistant
- Connect with WLED (WLED APP for iOS and Android, Alexa, MQTT etc.)
By default, it comes with the HomeKit based firmware to interact with iOS Home APP. We also made it quite easy to flash the MQTT based firmware, in order to interact with Home Assistant. And of course you can switch the integration ways back and forth. See Flash firmware.
Unlike HomeKit based firmware, the Home Assistant based firmware requires you to configure WiFi and MQTT settings first before you can use button click. After that, even if MQTT connection unavailable, offline button control is always functional. This may change in furture with firmware upgrade.
- Connect the controller to your home WiFi network and configure MQTT settings
Take a screenshot of your device id (WiFi name: hasslight_xxxxxx) which you'll need for next step
CHOOSE A NETWORK -> hasslight_xxxxxx
Configure WiFi
Type in MQTT IP,PORT,USERNAME,PASSWORD
Most users use Hass.io Mosquito Addon, If you are on NAS docker, you know what to do.
If settings are correct, your LED strip should be ON by now, the controller will publish available message to your MQTT server, so now you can use button to toggle ON/OFF.
- Configure Home Assistant
2.1 Copy the example.yaml and Replace the device id with yours.
2.2
Option 1: Paste into to configuration.yaml
Option 2: Save it as a hasslight.yaml and place into packages folder if enabled in configuration.yaml.
homeassistant:
packages: !include_dir_named packages
2.3 Go to Config -> Server Control -> Check config, if valid then Restart Home Assistant
2.4 Find it at Home Assistant Home or unused-entities, you have full control now