Skip to content
White Red edited this page Jun 16, 2024 · 1 revision

Home Assistant

This project integrates with Home Assistant through MQTT Discovery and are able to control the Lock from Home Assistant if DISCOVERY is enabled, by default DISCOVERY is disabled. As part of the requirement to integrate with HASS, MQTT Last Will and Testament(LWT) is also configured and the status is published at the topic <MQTT_CLIENTID>/status with the payload online as retained and when it goes offline it is replaced with offline.

I trust that you know your way around automations so i won't clutter this page with that but in case you need any help, don't hesitate to contact me or open a discussion on this repository.

Tags

This project has integration with Home Assistant's Tags through MQTT Discovery which is published on every boot if DISCOVERY is enabled, by default DISCOVERY is disabled.

If you look in the Tags section of your Home Assistant instance you should see some (new) tags in the list, assuming that Home Assistant's MQTT integration is configured with the same MQTT broker as the ESP32 and the discovery prefix was not changed from the default homeassistant. From there you can name each tags to be more easily identified and also be redirected to the "Automation Editor" screen where you can create an automation using one of the tags as a trigger.

Clone this wiki locally