#1 21393396 15 Jan 2025 01:22 Honsu Honsu Level 3 » | Post #1 21393396 15 Jan 2025 01:22 I am looking for MQTT Discovery code for the arduino esp32 platform that would create a device with entities assigned to it. Home Assistant.
#2 21393690 15 Jan 2025 10:59 p.kaczmarek2 p.kaczmarek2 Moderator Smart Home » | Helpful post? (+1) Post #2 21393690 15 Jan 2025 10:59 Home Assistant Discovery works in such a way that you publish a yaml describing the device under a specific topic and HA adds it. I would search on the Internet under the keyword: home assistant discovery platformio or similar. Example results: https://registry.platformio.org/libraries/mathieucarbou/MycilaHADiscovery https://registry.platformio.org/libraries/marcbresson/HA%20MQTT%20discovery https://registry.platformio.org/libraries/dawidchyrzynski/home-assistant-integration Have you tried running any of the libraries for this yet, or are you just asking for a recommendation of a good one for now? I haven't tested any of them myself yet, but if you have a problem running one (any particular one) I'll fire up my ESP and try to help. I am creating multiplatform open source firmware (Tasmota replacement), right now supporting BK7231T, BK7231N, XR809, BL602, W800, W600, LN882H and soon supporting RTL and W701: https://github.com/openshwprojects/OpenBK7231T If you like my work, support me at: https://paypal.me/openshwprojects Helpful post? Buy me a coffee.