OpenEVSE / openevse_esp32_firmware

OpenEVSE V4 WiFi gateway using ESP32
176 stars 118 forks source link

HomeAssistant MQTT discovery #359

Open jeremypoulter opened 2 years ago

jeremypoulter commented 2 years ago

It probably won't be too much effort to support Home Assistant's MQTT discovery to allow basic setup in Home Assistant even though #246should allow a more complete intergration

glynhudson commented 1 year ago

This is good HA support via https://github.com/firstof9/openevse

ve6rah commented 1 year ago

No offense, but that solution is not at all what this issue was about. Home assistant has a protocol for MQTT discovery. The MQTT device publishes information to a specific topic for MQTT discovery. It should be really easy to implement, and then no additional components would need to be installed.

See: https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery

glynhudson commented 1 year ago

I'm aware of HA MQTT discover, but the OpenEVSE component already exists and is under active development. The component already has all the functionality of MQTT discover plus a lot more. I've also heard that HA are discouraging the use of MQTT discover in favour of dedicated components. Installing a component only take a few clicks and is very painless, for most users it's probably easier than setting up an MQTT server.

Screenshot 2023-03-31 00 52 22

KipK commented 1 year ago

Reopening it, as it could be good to have it implemented even if there's another integration.

omriasta commented 1 year ago

I also think this is a great idea. I have 3 openevse devices. The first at home can use the integration but the other 2 are remote soni have them setup using mqtt. I don't think there is any other way to setup remote devices unless you create a VPN which isn't always possible at the remote site.