Hi Marcel,
first of all, Merry Christmas and thanks for your quick response!
OK I hooked the ESPaper up to a Console and logged it, you can find it below.
I believe, I have an issue with the epaper screen, as it does not change at all. The controller says it sended something to the screen, but I see still the "Initial Setup" screen. Do you know the assembly process, when they manufacture the devices? Is the screen programmed with the "Initial Setup" actually written with the very controller it is put together in the enclosure, or are the screens "programmed" from a different controller and then put together?
Do you have any further suggestions? Is there a test sequence program I could start/flash to the device to see if the screen is working (refreshing) properly?
Best Regards!
Sergio
Boot sequence arrived in setup()
******** Client Version: "V031" ********
******** Device Type: "Espaper42Bw" ********
******** Screen Type: "" ********
Display Settings. CS: 15, RST: 2, DC: 5, BUSY: 4
Current free heap: 44824
Checking FS
WIFI_SSID = [*************]
WIFI_PASS = [*************]
UPDATE_INTERVAL_MINS = [20]
TIMEZONE = [Europe/Zurich CET-1CEST,M3.5.0,M10.5.0/3]
NTP_SERVERS = [0.europe.pool.ntp.org,1.europe.pool.ntp.org,2.europe.pool.ntp.org]
DEVICE_ID = [************************************]
DEVICE_SECRET = [*********************]
Loaded config
TOTAL_DEVICE_STARTS = [2]
SUCCESSFUL_DEVICE_STARTS = [1]
LAST_NTP_SYNC_TIME = [1577273749]
STARTS_WITHOUT_NTP_SYNC = [0]
LAST_CYCLE_DURATION = [12569]
ACTION_AFTER_REBOOT = [0]
Loaded data file
Saved values in data file.
Button state: 0
Starting config portal...
Setting pin modes
Starting SPI transaction
Beginning SPI
Configuration file present -> assume user manually started config portal
Committing screen
Waiting until idle:
HTTP server started
Pressed Reset Button:
Boot sequence arrived in setup()
******** Client Version: "V031" ********
******** Device Type: "Espaper42Bw" ********
******** Screen Type: "" ********
Display Settings. CS: 15, RST: 2, DC: 5, BUSY: 4
Current free heap: 44824
Checking FS
WIFI_SSID = [*************]
WIFI_PASS = [*************]
UPDATE_INTERVAL_MINS = [20]
TIMEZONE = [Europe/Zurich CET-1CEST,M3.5.0,M10.5.0/3]
NTP_SERVERS = [0.europe.pool.ntp.org,1.europe.pool.ntp.org,2.europe.pool.ntp.org]
DEVICE_ID = [************************************]
DEVICE_SECRET = [*****************]
Loaded config
TOTAL_DEVICE_STARTS = [1]
SUCCESSFUL_DEVICE_STARTS = [0]
LAST_NTP_SYNC_TIME = [1577273749]
STARTS_WITHOUT_NTP_SYNC = [0]
LAST_CYCLE_DURATION = [12569]
ACTION_AFTER_REBOOT = [0]
Loaded data file
Saved values in data file.
Button state: 1
***Time before connecting to WiFi 525
Reconnecting
WiFi connect..............................192.168.1.25
NTP sync.
Current time: 1577274782
***Time before going to fetching data 4956
Downloading resource from:
Scheme: https
Host: www.espaper.com
Port: 443
Path: /public/devices/*********************************/screen
Using secure WiFi client
[HTTP] configuring server root cert in client
MFLN supported: no
[HTTP] begin...
Connecting to www.espaper.com:443
Free mem: 30776
Sending request: GET /public/devices/****************************/screen HTTP/1.1
Host: www.espaper.com
User-Agent: ESPaperClient/1.0
X-ESPAPER-BATTERY: 1024
X-ESPAPER-CLIENT-VERSION: V031
X-ESPAPER-FREE-HEAP: 11120
X-ESPAPER-MILLIS: 6903
X-ESPAPER-SECRET: ********************
X-ESPAPER-SPIFFS-FREE: 442764
X-ESPAPER-SPIFFS-TOTAL: 459330
X-ESPAPER-WIFI-RSSI: -45
X-ESPAPER-TOTAL-DEVICE-STARTS: 2
X-ESPAPER-SUCCESSFUL-DEVICE-STARTS: 1
X-ESPAPER-LAST-NTP-SYNC-TIME: 1577274782
X-ESPAPER-STARTS-WITHOUT-NTP-SYNC: 0
X-ESPAPER-LAST-CYCLE-DURATION: 12569
Connection: close
HTTP/1.1 200 OK
Server: Cowboy
Connection: close
Expires: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
X-Xss-Protection: 1; mode=block
Pragma: no-cache
Date: Wed, 25 Dec 2019 11:53:05 GMT
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Content-Type: image/bin
Content-Length: 15006
X-Application-Context: espaper:prod,heroku:15115
Via: 1.1 vegur
headers received
Parsed HTTP code: 200
Client disconnected before body parsing
Processing body
Starting resource download
#####################################################################
#################################################Downloaded file /screen with size 15006
[HTTP] connection closed or file end.
Setting pin modes
Starting SPI transaction
Beginning SPI
Drawing /screen
FileSize:15006
Version:1
BitDept:1
Width: 400
Height: 300
Writting image to screen
Waiting until idle:
De-allocating frame buffer
Saved values in data file.
Free mem: 40696.
Waiting until idle:
Start millis: 4956, start time: 1577274782, current millis: 10637 -> now: 1577274787
'sleepUntilEpoch' is 0. Using configured default update interval of 20min.
Going to sleep for: 1200[s]