It’s also better then the phone approach as the screen is always on and ready to be used so one touch can toggle a light. The android tablet approach is not without downsides though, keeping the screen on all the time uses a lot of power, battery life is limited and android tablets are expensive. The perfect solution to this problem is to use an e-ink tablet! e-ink tablets use very little power, have a large battery life and old Kindles are plentiful on ebay and cheap (I picked up both a Kindle Paperwhite and Paperwhite 2 both for around £30 each). AppDaemon DashboardĪfter this realisation I began experimenting with my Kindle Paperwhite. The first step was getting a suitable HA dashboard up and running as I already knew the default HA Lovelace interface was going to be too demanding for the Kindle. Enter AppDaemon which works out the box with HA and provides the ability to create simple dashboards. After setting up AppDaemon on my NAS using Docker and configuring it, I had a simple dashboard that controlled my house. Further tweaking the configuration to add a theme using CSS resulted in a greyscale screen friendly dashboard. It was time to test the dashboard on the Kindle. Using the “experimental” browser built into Kindle’s OS I pulled up the dashboard. After further research I found out that the Kindle’s browser doesn’t support websockets. Helpfully AppDaemon supports several different transports. I tried the different supported transports in AppDaemon and I even tried the undocumented sockjs transport in AppDaemon hacking into AppDaemon support for the it’s different transports but nothing worked. I’d either get a dashboard that didn’t work or a dashboard that would work briefly but then stop working (likely to be the Kindle browser optimizing power and cutting the connection). At this point I realised that the Kindle’s built in browser wasn’t going to work and I started looking for different options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |