e-Ink remote for Home Assistant built with FastEPD.
It uses the websocket API of Home Assistant, no plugin is required on the server. As it stays permanently connected to the Wifi to get updates, the remote only lasts a few hours on battery.
You will need to install PlatformIO to compile the project.
Find the icons for your buttons at Pictogrammers.
Use "Download PNG (256x256)" and place your icons in the icons-buttons folder.
Make sure you have an icon for the "on" state and one for the "off" state of each of your buttons.
Then run the python script generate-icons.py to generate the file src/assets/icons.h.
You will need to install the library Pillow to run this script.
In Home Assistant:
- Click on your username in the bottom left
- Go to "security"
- Click on "Create Token" in the "Long-lived access tokens" section
- Note the token generated
Copy src/config_remote.cpp.example to src/config_remote.cpp then update the file accordingly.
To get some logs from the serial port, uncomment the following line from platformio.ini:
# -DCORE_DEBUG_LEVEL=5
The font used is Montserrat Regular in size 26, it was converted using fontconvert from FastEPD:
./fontconvert Montserrat-Regular.ttf `src/assets/Montserrat_Regular_26.h` 26 32 126
This project is released under Apache License 2.0.
This repository contains resources from:
- https://github.com/Templarian/MaterialDesign (SIL OPEN FONT LICENSE Version 1.1)
- https://github.com/JulietaUla/Montserrat (Apache License 2.0)
