Websockets

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Post Reply
Fusseldieb
Posts: 1
Joined: 04 Feb 2019 10:27

Websockets

Post by Fusseldieb » 05 Feb 2019 14:27

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 :)

elektroinside
Posts: 69
Joined: 14 Feb 2019 15:04

Re: Websockets

Post by elektroinside » 27 Feb 2019 22:36

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 :)
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).

mathieson
Posts: 51
Joined: 13 Aug 2013 18:16

Re: Websockets

Post by mathieson » 11 Mar 2019 02:25

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

Post Reply