Today I want to give you a first view of a Project i worked on for a while, so that I am more motivated to finish this up an post it on GitHub most of my projects get stuck on the “works for me” state.
This Project is intendet to gives old Devices such as a Amazon Kindle a new life by enabeling them to represent Homeassistant enteties.
This Script will take all placeholders in HTML templates and propegate them with data from the homeassistant API
usage: hatki.py [-h] -u URL [-t TOKENFILE] [-i INPUTFOLDER] [-o OUTPUTFOLDER]
optional arguments:
-h, --help show this help message and exit
-u URL, --url URL Home Assistant API URL, e.g.
https://localhost:8123/api
-t TOKENFILE, --tokenfile TOKENFILE
File that contains the Token for the Home Assistant
API. (default value: token.txt)
-i INPUTFOLDER, --inputfolder INPUTFOLDER
Path to the folder that contains the HTML templates.
NOTE: Subfolders are NOT supported. (default value:
html-templates)
-o OUTPUTFOLDER, --outputfolder OUTPUTFOLDER
Path to the folder where the generated HTML files will
be written. (default value: generated-html)
For example:
If windows are open i display text white with shadow.
If a door is locked (bathroom) i show a locked icon
if a door is open to the outside i show a Icon.
Show last time Doorbell has been triggered
Show Trash collection days.
refresh every 60s if there is new content.
I bought some Kindle Touch very cheap of ebay for about 15€ per Kindle,
the kindle needs to be jailbroken to be able to open the browser in full-screen.
I have a question. I have the new Kindle (2022) and this is very interesting for me but, at least for now, I don’t want to jailbreak it. Do I need to jailbreak it ONLY to use it in full screen or I need to do it to use this at all?
Thanks. For now I just want to test even if is not fullscreen. Then will decide if this is a solution.
But still, I’m not very familiar with theses things. Where should I put the files you provide in github? Can you share a more detailed procedure to use this? Again, thanks for this!
A cool follow up addition could be to have it directly serve the HTML files and populate the templates live when the page is requested. Then, no secondary web server needed, and the data would always be live
that looks great. I tried it and used a kindle paperwhite 2. In the browser I get “There was a problem loading this page.” nearly all the time, when trying to access the dashboard. Interestingly it does not happen always, I somehow was able to open the dashboard ones. Did you also experience that behavior and do you have a workaround?
Hi, I managed to jailbreak my PW3 on 5.13.7 with the watch this jailbreak. However, when I install and attempt to run the WebLaunch extension via KUAL, it kicks me to the home screen and I get an Application Error. When I checked the thread on Mobile Reads, thee two latest entries (one from 2021 and one from this year) both state the same thing. Did you do anything special to get it to work?
For the uneducated, what exactly should I do to set this all up on my HA? Seems that the skills required are just outside my scope to pull out of thin air from experience. Thanks!