All Projects → hermannsblum → kindle_infoscreen

hermannsblum / kindle_infoscreen

Licence: MIT license
Home-Assisstant Interface That Runs in the Kindle Browser.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to kindle infoscreen

ha-iaquk
Indoor Air Quality Sensor Component for Home Assistant
Stars: ✭ 57 (+16.33%)
Mutual labels:  home-assistant
addon-home-panel
Home Panel - Home Assistant Community Add-ons
Stars: ✭ 164 (+234.69%)
Mutual labels:  home-assistant
Home-Assistant-Sensor-Afvalbeheer
Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors
Stars: ✭ 157 (+220.41%)
Mutual labels:  home-assistant
ocpp
Home Assistant integration for electric vehicle chargers that support the Open Charge Point Protocol (OCPP).
Stars: ✭ 82 (+67.35%)
Mutual labels:  home-assistant
ha-edgeos
Integration with EdgeOS (Ubiquiti)
Stars: ✭ 97 (+97.96%)
Mutual labels:  home-assistant
tellstick-plugin-mqtt-hass
Plugin for tellstick, connect to homeassistant via mqtt with autodiscovery.
Stars: ✭ 25 (-48.98%)
Mutual labels:  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 (-30.61%)
Mutual labels:  home-assistant
weback-hass
Weback integration with Home Assistant
Stars: ✭ 33 (-32.65%)
Mutual labels:  home-assistant
esp8266-midea-dehumidifier
Cloud-free wifi dehumidification
Stars: ✭ 50 (+2.04%)
Mutual labels:  home-assistant
py-eagle-mqtt
Python based Docker for Eagle to MQTT reader
Stars: ✭ 14 (-71.43%)
Mutual labels:  home-assistant
tehybug
Low Power WIFI environmental data trackers based on ESP8266 Module
Stars: ✭ 15 (-69.39%)
Mutual labels:  home-assistant
numberbox-card
Replace input_number sliders with plus and minus buttons
Stars: ✭ 61 (+24.49%)
Mutual labels:  home-assistant
purifier-card
Air Purifier card for Home Assistant Lovelace UI
Stars: ✭ 155 (+216.33%)
Mutual labels:  home-assistant
ha-illuminance
Home Assistant Illuminance Sensor
Stars: ✭ 53 (+8.16%)
Mutual labels:  home-assistant
xiaomiplug
Xiaomi Mi Smart WiFi Socket integration for Home Assistant
Stars: ✭ 99 (+102.04%)
Mutual labels:  home-assistant
node-homeassistant
Node.js wrapper for the home-assistant websocket api
Stars: ✭ 27 (-44.9%)
Mutual labels:  home-assistant
lovelace-valetudo-map-card
Draws the map available from a Xiaomi Vacuum cleaner flashed with Valetudo in a Home Assistant Lovelace card
Stars: ✭ 149 (+204.08%)
Mutual labels:  home-assistant
home-assistant-addons
Alex's Home Assistant Add-ons
Stars: ✭ 28 (-42.86%)
Mutual labels:  home-assistant
home-assistant-svt-play
Play SVT Play videos and channels via home assistant
Stars: ✭ 17 (-65.31%)
Mutual labels:  home-assistant
hass-amplifi
A home assistant integration for Ubiquiti Amplifi
Stars: ✭ 17 (-65.31%)
Mutual labels:  home-assistant

Home-Assisstant Interface That Runs in the Kindle Browser

NPM Build

What? Switch on and off devices, lights, or music in your house from a wall-mounted e-paper display.

Why? I had a kindle laying around. However, even new kindles run a 2009ish chromeium browser that does not support modern javascript, also not the home-assistant UI.

How To

  1. create a long-lived access token to your home-assistant in your account profile. This token will be saved locally on your kindle and used to log into home-assistant.

  2. create a group of entities you want to display on the kindle. Currently supported are sensors, switches, lights, scenes, and media players.

# Example configuration.yaml entry
group:
  on_kindle:
    name: Kindle Entities
    entities:
      - switch.kitchen_pin_3
      - sensor.bedroom_temp
      - sensor.porch_temp
  1. clone the repository to a local computer that you can connect via USB to your kindle. Make sure that you have node.js installed.

  2. Within the cloned repository on your machine, create a configuration file src/config.json for your kindle interface based on the example config.

// example config.json
{
  "token": "askjhdfkshdkf", // your long lived access token
  "wifi": "",  // see below
  "address": "http://hassio.local:8123",  // address of your home-assisstant WITHOUT trailing slash /
  "groupname": "on_kindle",  // the group configured above, you may choose any name
  "media_sources": {
    "media_player.your_media_player": ["Source 1", "Source 3"]  // optional, if you want to show only specific source options
  }
}
  1. build the index.html file by running the following commands on your machine. This will create a single file index.html that needs to be copied to the kindle.
npm ci
npm run build
  1. Copy the file to your kindle. Your kindle has to be connected via USB.
# example on Mac
cp dist/index.html /Volumes/Kindle/documents/index.html
  1. Detach the kindle from USB and open the 'Beta-Browser'. Make sure that javascript and images are enabled. Navigate to file:///mnt/us/documents/index.html. Done. The screen reloads every 10s and will update automatically when new entities are added to the specified group on home-assistant.

  2. Disable the kindle's screensaver such that the display stays on. For this, you need to go to the home screen and type ~ds into the search bar. More info here.

Supported Devices

Confirmed support was reported for:

  • Kindle Paperwhite 1 & 3

Additional Options

WiFi

You can display a qr code to let people connect to your wifi. For this, create a qr code and convert it into a base64 string (click 'copy image'). Then, add the string to the config:

// src/config.json
{
  ...
  "wifi": "data:image/png;base64,...",
  ...
}

Media Player Sources

If you don't want to display all sources of a media player entity, only put those that you want into the config:

// src/config.json
{
  ...
  "media_sources": {
    "media_player.your_media_player": ["Source 1", "Source 3"]  // optional, if you want to show only specific source options
  }
  ...
}
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].