[Homeyduino] E-paper for Homey

Hello,

I share with you a DIY small device made from a LILYGO® TTGO T5-4.7 E-paper, a bit of 3d printing and a few lines of code.

You can find LILYGO® TTGO T5-4.7 on the web for around 30€, there is a Lipo battery or 18650 battery version.

Work with Homeyduino app .

preview
preview2

Features:

  • 40 customs icons
  • 2 Display mode, 4 or 6 devices
  • Weather icon changed with actual weather
  • Device type can be choose (Homey return “true” or “false” but for exemple for a lock it’s nicer to have “Lock” or “Unlock”)
  • Automatical Deep Sleep (works with Time Deep Sleep)
  • Time Deep Sleep configurable with flow
  • Get current weather
  • Get battery percent
  • Show on screen if an error occurs
  • All settings are saved in flash
  • See on screen when was the last update sended by Homey
  • Select Language (EN or FR, only for few settings, you will do it in flow)
  • comming soon: installation guide for beginner, user guide, STL files and project photos in the files (first in French and it will be in English after)
30 Likes

Version 1.1.2 online, and installation guide in english here.
User guide actually in french online too.

3 Likes

User guide in english online here.

Tell me if there are some errors.

2 Likes

@sebyldino my e-paper keeps rebooting, serial monitor shows “E (4027) rmt: rmt_driver_install(1023): RMT driver already installed for channel” do you have an idea what can be the cause / solution? Thx.

ps. lovely project!

Have the same problem here, no idea where that comes from, probably something stupid I did?
Hope that @sebyldino can tell us what to do.

Looks very interesting share some photo’s guys!!
My question: i have no 3d printer. What are the possibilities to print. I googled, but everywhere it’s the same; only for companies or no way to figure out what the costs will be. Tips are welcome.

JCLPCB does a wonderfull 3D printing job for a good price. I used their resin (sla) printing service already several times.

1 Like

Hello,
I will try new install with erasing all flash content to check if i get the same error and i will let you know if i found what happen.

You can try to upload code another time with parameter “Erase All Flash Before Sketch Upload” to “Enable” to clear all contents in ESP.

1 Like

Did another upload with 'Erase all flash", unfortunately same result, a part of the monitor:

10:01:45.050 → entry 0x400805f0
10:01:46.876 → .IP address: 192.168.2.69
10:01:49.602 → E (3805) rmt: rmt_driver_install(1023): RMT driver already installed for channel
10:01:51.787 → ====== ERROR MESSAGE ======
10:01:51.787 →

No compiler errors, just one warning: “null” characters ignored ( I did remove them ).
main\imagesAndFonts.h:140:1: warning: null character(s) ignored

Other demo sketches do run without problems.

Nooohhh, great stuf. Do u have a link to the 3d file?

Look at the Github page, STL files

1 Like

Added 2 lines to firstStart() :slight_smile: now it’s starting up:

void firstStart() {
  if (firstStartTime) {
    zonesSettings();
    epd_init();
    epd_poweron();
    epd_clear();
    epd_draw_image(backgroundArea, (uint8_t *)firstStart_data, BLACK_ON_WHITE);
    epd_poweroff();
     firstStartTime = false;
     error = false;
  }
}

There is still the error msg:
18:04:29.466 → E (5880) rmt: rmt_driver_install(1023): RMT driver already installed for channel

2 Likes

I haven’t had time to try it yet! Great if you found it, I must have made a mistake during the last modification. thank you for sharing, I try on my side and update the Github. This message doesn’t tell me anything. :thinking:

1 Like

@sebyldino
Great work. Thinking I might try this. Just to clarify. There seems to be some optional backsides to your stl case files. Which of the files are required? The case and one of the others?

Found and fixed the error.

v.1.1.3

@JPe4619 thank you! It was almost what you found! It helped me a lot. :wink:

1 Like

Fixed it for me, thx.

v1.2.0 online here

Added: battery capability to Homey

Now you can see the battery of your Homey e-paper on Homey, and use it in flow!

If you have already added your Homey e-paper to Homey, you have to remove it and add it another time.

WARNING: it will make your flows KO

IMG_3376

2 Likes

Hi thx for the update, can it be that you are calling the measure battery capability very (too) often??? :wink:

Fixed! Thank you

v1.2.1

1 Like