Domoticz with E-ink WIP

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

Post Reply
devros
Posts: 183
Joined: Saturday 29 October 2016 20:55
Target OS: -
Domoticz version:
Contact:

Domoticz with E-ink WIP

Post by devros »

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 :)

Image

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...
Seagate
Posts: 3
Joined: Wednesday 18 April 2018 15:27
Target OS: Linux
Domoticz version:
Contact:

Re: Domoticz with E-ink WIP

Post by Seagate »

Nice! Please keep us posted.
devros
Posts: 183
Joined: Saturday 29 October 2016 20:55
Target OS: -
Domoticz version:
Contact:

Re: Domoticz with E-ink WIP

Post by devros »

Seagate wrote: Monday 25 February 2019 10:42 Nice! Please keep us posted.
Thanks :)
so some updates...
-rewrited forecast with nice icons and better predictions
-added google calendar import as separate python module (works for days, multiple calendars, with names and stylings)
-prepared laser case - combined two pieces together to make thin border around display (cutted on acrylic on laser)
-added support for 2 colors - red and black in my case (image is exported as green and red and separated with PIL module to two bitmap images)
-prepared wiring opening on wall (raspberry power supply will be hidden on another side of wall so no visible cables)
-little optimized e-ink code for faster refresh (still quite slow)
Image
nigels0
Posts: 221
Joined: Thursday 23 January 2014 12:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Domoticz with E-ink WIP

Post by nigels0 »

Nice!
devros
Posts: 183
Joined: Saturday 29 October 2016 20:55
Target OS: -
Domoticz version:
Contact:

Re: Domoticz with E-ink WIP

Post by devros »

hello, if anyone is still ingterested, im still working on this project :)
rewrited most of my python code, and used new https://www.waveshare.com/wiki/9.7inch_e-Paper_HAT bigger display with much better refresh rate (no ugly and slow refresh) so i can even add minutes (now i have two minutes refresh). Python script now work standalone as service. Im using html with css for styling and then convert to BMP for eink...
if anyone is interested a can provide code later

Image
edwin1234
Posts: 338
Joined: Sunday 09 October 2016 20:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Nederland
Contact:

Re: Domoticz with E-ink WIP

Post by edwin1234 »

Nice work!!!
gropi
Posts: 13
Joined: Thursday 26 April 2018 20:03
Target OS: Linux
Domoticz version: 4.11786
Location: Germany
Contact:

Re: Domoticz with E-ink WIP

Post by gropi »

Looks great! Congratulation!
Domoticz Version: 2023.1
Platform: Openmediavault 6; Docker; HP Microserver Gen8
Plugin/Hardware: MySensors Gateway; Philips HUE Bridge; OMG; ZigBee;
DeOS
Posts: 1
Joined: Wednesday 15 April 2020 13:11
Target OS: -
Domoticz version:
Contact:

Re: Domoticz with E-ink WIP

Post by DeOS »

Looks great! Would you mind sharing the code? I just puchased the 7.5 inch version of the waveshare e-ink screen for the same purpose :). I wanted to use this project, but yours seems a bit simpler with less overhead. ;)

https://github.com/BenRoe/rpi-magicmirror-eink
Faro
Posts: 1
Joined: Friday 20 April 2018 8:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz with E-ink WIP

Post by Faro »

Hi Devros.

I'm very interested for this project as well.
Do you thing you could share it with us please ?

Thank you.
Chenel
Posts: 4
Joined: Saturday 11 March 2017 10:31
Target OS: Windows
Domoticz version:
Contact:

Re: Domoticz with E-ink WIP

Post by Chenel »

Hi Devros, very interesting project, it is good solution to reduce power consumption of other solutions using LCD pannels.

Could you please share the code.
Post Reply