Domoticz with E-ink WIP
Posted: Monday 25 February 2019 0:17
hi all,
I always wanted to have some nice e-ink with low power consumption and no emited light with domoticz info. So here is my progress so far.
Im using raspberry zero with Waveshare e-ink display and python code. It works quite good so far, only refresh rate is really slow (maybe is because slow SPI on Rasp zero). So dunno if i try to switch to some microcontroler like esp32 or arduino for better SPI data transfer.
How it works so far
- On my domoticz server is running cron with python script that send BMP data over ssh to raspberry connected with e-ink with some refresh&display command.
- Script is written in python - JSON data are recieved from domoticz. Then parse data, use html template with hardcoded size and all is converter from html to BMP (weasyprint module). I know that its quite ugly, but best for templating, imho
- Plan is to hide rasp inside wall and make some border for e-ink later
Script is unfinished and quite ugly and hardcoded (im still python beginner)
Also e-ink should support red color, so i have to check how
If is someone interested i can post script later...
I always wanted to have some nice e-ink with low power consumption and no emited light with domoticz info. So here is my progress so far.
Im using raspberry zero with Waveshare e-ink display and python code. It works quite good so far, only refresh rate is really slow (maybe is because slow SPI on Rasp zero). So dunno if i try to switch to some microcontroler like esp32 or arduino for better SPI data transfer.
How it works so far
- On my domoticz server is running cron with python script that send BMP data over ssh to raspberry connected with e-ink with some refresh&display command.
- Script is written in python - JSON data are recieved from domoticz. Then parse data, use html template with hardcoded size and all is converter from html to BMP (weasyprint module). I know that its quite ugly, but best for templating, imho
- Plan is to hide rasp inside wall and make some border for e-ink later
Script is unfinished and quite ugly and hardcoded (im still python beginner)
Also e-ink should support red color, so i have to check how
If is someone interested i can post script later...