All Projects → home-assistant-ecosystem → home-assistant-sse

home-assistant-ecosystem / home-assistant-sse

Licence: MIT License
Using server-sent events with Home Assistant.

Programming Languages

CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to home-assistant-sse

Hass Xiaomi Miot
Auto integrate xiaomi devices by miot-spec for HomeAssistant
Stars: ✭ 93 (+481.25%)
Mutual labels:  smart-home, home-assistant
Home Assistant Config Fr
🏠Configuration de Home Assistant en français. 👨🏻‍💻 N'hésitez pas à ⭐ mon repo et à copier les bonnes idées ! 🇨🇵
Stars: ✭ 175 (+993.75%)
Mutual labels:  smart-home, home-assistant
Python Miio
Python library & console tool for controlling Xiaomi smart appliances
Stars: ✭ 1,995 (+12368.75%)
Mutual labels:  smart-home, home-assistant
Room Assistant
Presence tracking and more for automation on the room-level
Stars: ✭ 764 (+4675%)
Mutual labels:  smart-home, home-assistant
homeassistant
Home Assistant Config
Stars: ✭ 50 (+212.5%)
Mutual labels:  smart-home, home-assistant
Streamdeck Homeassistant
🏠 Use the Elgato Stream Deck as Home Assistant controller. Call any available service and toggle lights or resume your music.
Stars: ✭ 69 (+331.25%)
Mutual labels:  smart-home, home-assistant
Ha client
It was the first Home Assistant fully native Android client from the times when there was no any official alternatives
Stars: ✭ 166 (+937.5%)
Mutual labels:  smart-home, home-assistant
Home-Assistant-Main
My Home Assistant Configuration Be sure to ⭐ my repo so you can keep up to date on the daily progress!
Stars: ✭ 54 (+237.5%)
Mutual labels:  smart-home, home-assistant
purifier-card
Air Purifier card for Home Assistant Lovelace UI
Stars: ✭ 155 (+868.75%)
Mutual labels:  smart-home, home-assistant
home-assistant-config
🏠 Home Assistant Configuration & Documentation for my smart home using Node-RED for automations. Press ⭐ for notification of updates.
Stars: ✭ 34 (+112.5%)
Mutual labels:  smart-home, home-assistant
Home Assistantconfig
🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to ⭐ it. Updated FREQUENTLY!
Stars: ✭ 3,687 (+22943.75%)
Mutual labels:  smart-home, home-assistant
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (+87.5%)
Mutual labels:  smart-home, home-assistant
Home Assistant Config
🏠 Fully documented Home Assistant configuration for a smart-looking place. 😎 Be sure to ⭐️ my repo and copy ideas!
Stars: ✭ 258 (+1512.5%)
Mutual labels:  smart-home, home-assistant
Homeassistant Config
Configuration for @brianjking & @KinnaT's Home Assistant Installation
Stars: ✭ 80 (+400%)
Mutual labels:  smart-home, home-assistant
xboxone-home-assistant
Control your Xbox One from your Home Assistant device.
Stars: ✭ 26 (+62.5%)
Mutual labels:  smart-home, home-assistant
Entity Controller
Entity and lighting controller for managing devices via timers, scripts, and sun-based time restrictions.
Stars: ✭ 156 (+875%)
Mutual labels:  smart-home, home-assistant
Tuya-v2-Supported-Devices
A collection of all of the known working Tuya v2 Devices
Stars: ✭ 30 (+87.5%)
Mutual labels:  smart-home, home-assistant
Home Assistant Cli
💻 Command-line tool for Home Assistant
Stars: ✭ 243 (+1418.75%)
Mutual labels:  smart-home, home-assistant
zigbee
Database of Zigbee devices compatible with third party gateways: ZHA, deCONZ, Zigbee2MQTT, Tasmota, ZiGate, ioBroker,
Stars: ✭ 117 (+631.25%)
Mutual labels:  smart-home, home-assistant
smart-home
🏡 My smart home setup built on top of Home Assistant
Stars: ✭ 140 (+775%)
Mutual labels:  smart-home, home-assistant

Home Assistant Server Sent Events

Note

This doesn't work any longer as the usage of api_password in requests in Home Assistant is deprecated.

Home Assistant ships its own very nice web frontend. This prototype shows an option to display values without the possibility of interacting with Home Assistant by the user.

A requirement on the client-side is existing support for the EventSource interface. This means that not all browsers are supported.

Installation

It's assumed that your Home Assistant installation is ready before cloning this repository. Change to your local Home Assistant configuration folder .homeassistant and clone this repository.

$ git clone https://github.com/fabaff/home-assistant-sse.git

In the folder www you will find an index.html file and the folder that contains the CSS file.

Open the index.html file and include the entities you want to show on the page in the entities array. Check the "Developer tools" of Home Assistant to retrieve the entity ID. Please replace the periods (dots) with undersores in the entities.

var entities = ['sensor_cpu',
                'sensor_time',
                'binary_sensor_printer',
                'sensor_time_beat',
                'sun_sun'
                ];

Also set the API password used by your Home Assistant installation.

var source = new EventSource("/api/stream?api_password=YOUR_PASSWORD");

Launch your Home Assistant instance.

$ hass

Now the web site is available at http://[your_hass_host]:8123/local/index.html

Screenshot

screenshot

License

home-assistant-sse is licensed under MIT, for more details check LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].