Home Assistant Websocket API for NodeJS and browsers

Hi everyone,

I’ve been working on a drop-in interface for Home Assistant as a side-project, and in the process realized I wasn’t happy with the existing options for interacting with the Home Assistant API, specifically directly from the browser, so I built this: https://github.com/filp/homeassistant-ws

It’s a bare-bones client for the Home Assistant Websocket API that works in modern browsers (when bundled with something like webpack or parcel), as well as nodejs on the backend. I’ve yet to test it across a wide variety of Home Assistant configurations, different authentication methods, etc, so any feedback/comments and contributions (bug reports or pull requests) are very welcome.

Thanks!

2 Likes