Open vincegre opened 8 months ago
When I was experimenting with Lorawan I got to know that you can load topics from a public MQTT into the HA MQTT. That way you could make the pi post to a public available Mqtt service and only that data would be exposed.
When I was experimenting with Lorawan I got to know that you can load topics from a public MQTT into the HA MQTT. That way you could make the pi post to a public available Mqtt service and only that data would be exposed.
Overcomplicated, not reliable and don't want to be dependant of something external that I can't control ;)
I was also thinking about supporting HASS API - will add it in the future
My vote for keeping it MQTT 👍 With auto discovery it's fab.
My vote for keeping it MQTT 👍 With auto discovery it's fab.
I ask to add the HA API, not in place of MQTT ;) jast an option in config
Unfortunately this won't happen soon. The HASS API don't support creation of the sensors and buttons so its not worthy implementing it.
Unfortunately this won't happen soon. The HASS API don't support creation of the sensors and buttons so its not worthy implementing it.
Sorry but total wrong there ! I use a similar app on my desktop pc where I give it my nabu casa url with a login/pass valid in my HA and it creates sensors and everything without any problem ;) (https://developers.home-assistant.io/docs/api/rest/)
This is great news, can you show me the software you are using. I have looked at the api documentation and can't figure our which action can be used for the creation of the sensors.
This is great news, can you show me the software you are using. The other app I used before is that one: https://github.com/joshuar/go-hass-agent
I have looked at the api documentation and can't figure our which action can be used for the creation of the sensors. The: "POST /api/states/
" is for doing that no ?
@hjelev did you get a chance to look at it ? perhaps add it ? thanks
Hi
It would be nice to be able to use the HA API instead of MQTT to avoid the need to expose MQTT port for remote use ;) That lib should make it quite easy to implement (https://pypi.org/project/HomeAssistant-API/) I guess :)
Thanks
Vincèn