Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant API (ESPHOME like) #133

Closed
TimoFriedri opened this issue Apr 5, 2019 · 7 comments
Closed

Home Assistant API (ESPHOME like) #133

TimoFriedri opened this issue Apr 5, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@TimoFriedri
Copy link

Hi,

do you have any plans to integrate the native Home Asisstant API. This works very nice as one can see with the ESPHome project and the according integration in HA.
For me the best part, you can skip MQTT, which I personally do not like so much.

Some Info:

https://esphome.io/components/api.html
https://www.home-assistant.io/components/esphome/

Greetings
Timo

@proddy
Copy link
Contributor

proddy commented Apr 6, 2019

that would be a nice addition. Not everyone uses HA hence the generic MQTT support. Would you like to have a go at implementing this yourself?

@rknall
Copy link
Contributor

rknall commented Apr 18, 2019

I would rather prefer a more generic approach, like Homie for instance: https://homieiot.github.io/implementations/

@proddy
Copy link
Contributor

proddy commented Apr 18, 2019

I did have a version of EMS-ESP based on Espurna (https://github.com/xoseperez/espurna/wiki) a few releases ago but dropped it and went solo after I found it easier and more lightweight. It is possible to port to homie/tasmota/esphome though if someone wants to try. But it'll take a lot of time keeping up the support. One of the tricky things is the way I re-write the serial UART libraries so all Serial.* code could interfere with the EMS bus.

@rknall
Copy link
Contributor

rknall commented Apr 18, 2019

Homie is not a distro, but rather a topic/message specification for how to arrange the data. So, although Homie-ESP exists, it could also be done in EMS-ESP. I am currently trying to get the right message definitions for my thermostat, and as soon as I have a PR, I'll send it through. So far it seems to work great, and is very neat to use.

@proddy
Copy link
Contributor

proddy commented Jun 14, 2019

I do plan to do a ESPHome port at some point. I like what they've done.

@proddy
Copy link
Contributor

proddy commented Jul 6, 2020

v2 uses HA discovery.

@proddy proddy closed this as completed Jul 6, 2020
@proddy proddy transferred this issue from emsesp/EMS-ESP Sep 26, 2021
@proddy proddy added the enhancement New feature or request label Sep 26, 2021
@proddy
Copy link
Contributor

proddy commented Sep 26, 2021

moved to EMS-ESP32 project. HA MQTT Discovery kinda sucks and it's about time to move to using the new APIs.

https://developers.home-assistant.io/docs/creating_component_index/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants