[Homeyduino] E-paper for Homey

The trigger appears after the first execution. It’s in the Homeyduino app settings and I can’t change it.
But you can write its name (even if it’s not in the list) and it will be executed the next time it is sent.

Have you a touch screen?

Edit: Found the error!
On your setting card you set: Deep_SleepTime= it must be Deep_Sleep_Time=
(It an error on my screenshot)

Edit2:
I have not read to the end of your post…

Try to define all param:

Language=EN; Deep_Sleep_Time=5; Click_Mark_Enable=false; Wake_Up_With_Touch_Screen=false; Display_With_Touch_Screen=false; Time_Before_Sleep=0;

I tried your parameters but these are also not working. Still got the same screen.

When I use Deep_SleepTime= the screens refreshes and the system is rebooting.
When I use Deep_Sleep_Time= nothing is happening and after a few moments the flow gives an Network request failure error

I have the same problem :frowning: I think the problem is that u are sending “to much” data at the same time. I also ran into the problem with the old version.

If i send only the Language=NL; i got no connection problems but offcourse the screen say i don’t have a touchscreen.

I’m trying new install with erase all my flash…

I did it, erase all flash, try AsyncElegantOTA method, connect to wifi and send this card first and its work for me.

image

you can see debug with arduino IDE. (connected with USB)
On tool → Serial monitor and select baud rate to 115200
restart your screen.

IP adress is not change by your DHCP?
Homey e-paper is it in deepsleep when you send it?

Guides are updated.

I also erased the flash manualy.
Installed AsyncElegantOTA as described in the manual.
Configured my WiFi settings.
After that I run the settings card and monitored the console output.

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:1

load:0x3fff0030,len:1344

load:0x40078000,len:13964

load:0x40080400,len:3600

entry 0x400805f0

//************************ STARTING E-PAPER… ************************//

======== START DATA READ =========

SSID: ******

PASSWORD: ******

clickMarkEnable = 0

touchScreenWakeUp = 0

timeDeepSleep = 5

deepSleepEnable = 1

fromApMode = 0

minVolt = 3.00

maxVolt = 4.20

Language = EN

======== END DATA READ =========

Connecting to WiFi…

WiFi mode STATION. IP adress: 192.168.1.213

Server started!

Date Now: 1/1/1970

//************************ SETUP COMPLETED (in wifi STA mode) ************************//

Battery level send to Homey: 100

After that I ran the other card with this result in the console:

Screen Layout received: Z1=D, Z2=S, Z3=D, Z4=s, Z5=D, Z6=S, Z7=D, Z8=S

Number of expected devices: 5

Zones Layout (1rst, 2nd…): D X D X D X D X

Battery Percent = 126%

Header data: Value_1=14C; Value_2=19:43

Data Zone 1: Name=Woonkamer; Value_L1=12.7; Value_L2=89.8; Icon=thermometer; type=light

Number of devices updated: 2

Still the screen isn’t updating.
Now it shows the screen that it is succesfully connected.

You defined Z1=D, Z2=S, Z3=D, Z4=S, Z5=D, Z6=S, Z7=D, Z8=S
Code does not wait some values for Z2, Z4, Z6 and Z8 but you must send an action card for Header, Zone_1, Zone_3, Zone_5 and Zone_7.

In Serial, Homey e-paper received values for header and Zone 1, not for the other.

Thx.

I got a bit further now.

It’s updating my screen when I manually trigger the card “Alle triggers”. (All triggers)
And get this respond in the serial monitor:

Screen Layout received: Z1=D, Z2=S, Z3=D, Z4=S, Z5=D, Z6=S, Z7=D, Z8=S

Number of expected devices: 5

Zones Layout (1rst, 2nd…): D X D X D X D X

Data Zone 5: Name=Woonkamer; Value_L1=12.5; Value_L2=91; Icon=thermometer

Battery Percent = 128%

Header data: Value_1=14°C; Value_2=20:19

Data Zone 1: Name=Woonkamer; Value_L1=12.5; Value_L2=91; Icon=thermometer

Data Zone 7: Name=Woonkamer; Value_L1=12.5; Value_L2=91; Icon=thermometer

Number of devices updated: 4

Data Zone 3: Name=Woonkamer; Value_L1=12.5; Value_L2=91; Icon=thermometer

Number of devices updated: 5

Updating display…

Click mark drawed

Go to Deep sleep for (minutes): 5

But after 5 minutes it wakeup and there is no refresh triggered to update the cards.
The serial monitor shows then:

rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:1

load:0x3fff0030,len:1344

load:0x40078000,len:13964

load:0x40080400,len:3600

entry 0x400805f0

//************************ STARTING E-PAPER… ************************//

======== START DATA READ =========

SSID: *****

PASSWORD: *****

clickMarkEnable = 0

touchScreenWakeUp = 0

timeDeepSleep = 5

deepSleepEnable = 1

fromApMode = 0

minVolt = 3.00

maxVolt = 4.20

Language = EN

======== END DATA READ =========

Connecting to WiFi…

WiFi mode STATION. IP adress: 192.168.1.213

Server started!

Date Now: 22/10/2023

//************************ SETUP COMPLETED (in wifi STA mode) ************************//

Battery level send to Homey: 100

Date Now: 22/10/2023

Date Now: 22/10/2023

Date Now: 22/10/2023

This is my flow now as test:

Replace All trigger by Homey e-paper trigger.

That also doesn’t work.

Trigger [text]

image

Still the same with the flow below.
After wakeup I see a reconnect to WiFi in the serial monitor and the next lines are only Date Now lines.

Homey_e_paper not Homey_e-paper for the trigger’s name

Thanks for your patient btw.

But it’s still not updating.
Changed it to Homey_e_paper and still no updates.

Btw this trigger is not clearly described in the manual.

Yes, the guides need an update, sorry.

Try to install the version is actually on github. I think you get this one that has a space in the trigger name (it was “Homey e-paper”). I updated it but I think you have time to download it before the new one.

Maybe I should have done a v2.0.1

Okay that makes sense.

I just downloaded the main branch as in the screenshot, because the Releases seems to be the old one as it is 2 days old.

After installing this version it is working! :smiley:
Without changing anything to my initial flow.

Thank you :+1:

1 Like

v2.0.1 is available.
Guides are updated with more informations.

2 Likes

Is it possible to use the euro sign (€) in the text?
I noticed when using € it is not shown in the zone.

And is it still possible to use the weather icons as it was in version 1?

How do I disable deep sleep? From the Guide.pdf I assumed this would disable it:

image

But in the Serial Monitor I still see this:

======== START DATA READ  ========= 
SSID: 
PASSWORD: 
clickMarkEnable = 0
touchScreenWakeUp = 0
timeDeepSleep = 1
deepSleepEnable = 1
fromApMode = 0
minVolt = 3.00
maxVolt = 4.20
Language = NL
timeBeforeSleep = 0
========  END DATA READ  =========

And then it displays the “Rebooting [====]” text. What am I doing wrong?

You can not disable deepsleep without touch screen.
And set Display_With_Touch_Screen= not Display_With_touch_Screen=

EDIT:
I understand what you want. Do you want to keep the screen on all the time? And update it manually or by flow? (Probably because you leave it plugged in)
I forgot this option in the code.

1 Like