Hi,
I would love to see Websockets in Automagic. Since my home is running with "HASS.io", which is primarily controlled via Websockets, it would be a very nice implementation, since someone could turn things in their home on and and much much more.
A lot of services nowadays are made with Websockets (especially live ones, chat apps, live graphs/tickers, etc).
Thanks in advance
Websockets
Moderator: Martin
-
- Posts: 69
- Joined: 14 Feb 2019 15:04
Re: Websockets
Hass.io also supports REST API. Although not the same, AM does a good job with http requests. You can try that in the meantime, it works well, tested it myself. I personally prefer not to have any (other) third party server and control stuff from the lan directly, or even from the web, through a VPN which i use anyway (if possible of course).Fusseldieb wrote:Hi,
I would love to see Websockets in Automagic. Since my home is running with "HASS.io", which is primarily controlled via Websockets, it would be a very nice implementation, since someone could turn things in their home on and and much much more.
A lot of services nowadays are made with Websockets (especially live ones, chat apps, live graphs/tickers, etc).
Thanks in advance
Re: Websockets
Bit late to the party here, but I am also using Home Assistant with the REST API. You can do everything with the REST API.
For external connections be sure to get an SSL certificate (not self signed if you want notifications).
Also you need a "long access token" for your requests.
https://developers.home-assistant.io/do ... _rest.html
https://developers.home-assistant.io/do ... h_api.html
For external connections be sure to get an SSL certificate (not self signed if you want notifications).
Also you need a "long access token" for your requests.
https://developers.home-assistant.io/do ... _rest.html
https://developers.home-assistant.io/do ... h_api.html