Server-sent events

The static web page with Javascript and MQTT was one way to only show information about your home/apartment. The feedback was that Server-sent events would be simpler. Indeed, here we go:

It’s still a static web page served by Home Assistant but it consumes the events which are available at the URI /api/stream. Nothing more than a couple lines of Javascript and a CSS file.

Source: https://github.com/fabaff/home-assistant-sse

3 Likes

@darookee fixed a couple of issues. All credits for the updated version goes to him.

The current available version supports password-protected Home Assistant instances.

1 Like