Giter VIP home page Giter VIP logo

Comments (10)

elratt0r avatar elratt0r commented on July 17, 2024

Are you compiling with inkplate10v2? The i2cRead errors point to a problem talking to the IO Expander or the PSU for the ePaper.

from homeplate.

huggenknubbel avatar huggenknubbel commented on July 17, 2024

Tried it with v2 too. but there i didn't get any connection to the inkplate after flashing:

Wrote 1292496 bytes (759139 compressed) at 0x00010000 in 18.9 seconds (effective 548.0 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html


--- Terminal on COM4 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
Disconnected (ClearCommError failed (PermissionError(13, 'Zugriff verweigert', None, 5)))
Reconnecting to COM4
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html

got the "permission denied" entry every couple seconds until i cancel with strg+c

maybe its an issue beceause of an other chip they use since vers.1.3?
i found this issue with esphome.

from homeplate.

elratt0r avatar elratt0r commented on July 17, 2024

The PCAL6414 on the Inkplate10v2 is in the library that is used by homeplate
https://github.com/SolderedElectronics/Inkplate-Arduino-library/blob/7.0.0/src/include/Pcal.cpp

Could you post your config.h?
And for the COM4/Zugriff verweigert: Is the Inkplate visible after flashing in the device manager on the same COM port?

from homeplate.

huggenknubbel avatar huggenknubbel commented on July 17, 2024

the Serial Port is another wierd thing if i'm flashing with V2 settings (doesn't have this behavior with "normal" flash) i attached a little GIF to visualize this.
My config.h looks like:

#pragma once

// WiFi SSID
#define WIFI_SSID "Schneckenhaus" 
// WiFi password
#define WIFI_PASSWORD "mypassword"

// hostname
// NOTE: if using multiple homeplate devices, you MUST make the hostname unique
#define HOSTNAME "homeplate"

// How long to sleep between image refreshes
#define TIME_TO_SLEEP_MIN 1

// Static IP information
// If unset uses DHCP, but updates may be slower, set to use a Static IP
// #define STATIC_IP "192.168.1.10"
// #define STATIC_SUBNET "255.255.255.0"
// #define STATIC_GATEWAY "192.168.1.1"
// #define STATIC_DNS "192.168.1.1"

// NTP Time server to set RTC
#define NTP_SERVER "130.149.17.21"

// How often to re-sync the clock to NTP
#define NTP_SYNC_INTERVAL (24*60)/TIME_TO_SLEEP_MIN // ~ once a day when updating every TIME_TO_SLEEP_MIN minutes

// URL of PNG image to display
#define IMAGE_URL "http://192.168.2.28:5000/1.png"

// WiFi QR Code
#define QR_WIFI_NAME "Schneckenhaus"
#define QR_WIFI_PASSWORD "Guest WiFi Password"

// MQTT Broker
#define MQTT_HOST "192.168.2.74"
#define MQTT_PORT 1883
// Set MQTT_USER & MQTT_PASSWORD if needed
#define MQTT_USER "Huggenknubbel"
#define MQTT_PASSWORD "mypassword"
// Customize node id and device name if needed
//#define MQTT_NODE_ID "homeplate"	// defaults to HOSTNAME
//#define MQTT_DEVICE_NAME "HomePlate"	// defaults to "HomePlate"

// Disables touchpads if they are overly sensitive and result in phantom touch events
// Touchpads are not supported on the Inkplate10v2. This must be false if ARDUINO_INKPLATE10V2 is set
#define TOUCHPAD_ENABLE false

// Timezone
// see timezone_config.h for options
#define TIMEZONE_UTC

// If your Inkplate doesn't have external (or second) MCP I/O expander, you should uncomment next line,
// otherwise your code could hang out when you send code to your Inkplate.
// You can easily check if your Inkplate has second MCP by turning it over and 
// if there is missing chip near place where "MCP23017-2" is written, but if there is
// chip soldered, you don't have to uncomment line and use external MCP I/O expander
#define ONE_MCP_MODE

// Displays the time from the RTC whenever a new image is loaded
#define DISPLAY_LAST_UPDATE_TIME false

// keep this to signal the program has a valid config file
#define CONFIG_H
Code_hzv2ckvbML.mp4

from homeplate.

elratt0r avatar elratt0r commented on July 17, 2024

Could you try to build debug, once with -DARDUINO_INKPLATE10 and once with -DARDUINO_INKPLATE10V2
(https://github.com/lanrat/homeplate/blob/4d50ca996f47e8e20787bbf60eeef125b4ea2d14/platformio.ini#L64C3-L64C23)

Do you have a battery attached?

Another try: comment out the ONE_MCP_MODE - I can't find a reference in the code atm. but from the circuit drawing I see two IO expanders - maybe that's a problem?

from homeplate.

huggenknubbel avatar huggenknubbel commented on July 17, 2024

Edit: i have no Battery attached yet.
comment out the ONE_MCP_MODE in a second try for debug build but tried that at first yesterday.

Debug Output -DARDUINO_INKPLATE10

Wrote 1361056 bytes (798098 compressed) at 0x00010000 in 19.8 seconds (effective 551.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
--- Terminal on COM4 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
13:15:07.590 > ets Jul 29 2019 12:21:46
13:15:07.590 >
13:15:07.590 > rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
13:15:07.590 > configsip: 0, SPIWP:0xee
13:15:07.590 > clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
13:15:07.590 > mode:DIO, clock div:2
13:15:07.590 > load:0x3fff0030,len:1184
13:15:07.590 > load:0x40078000,len:13232
13:15:07.590 > load:0x40080400,len:3028
13:15:07.590 > entry 0x400805e4
13:15:07.590 > [     8][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
13:15:07.590 > [   457][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
13:15:07.590 >
13:15:07.590 >
13:15:07.590 > [SETUP] starting, version(Apr 30 2024, 13:14:21) boot: 0
13:15:07.590 > ESP Chip information:
13:15:07.590 > This is esp32 chip with 2 CPU core(s), WiFi/BT/BLE, silicon revision 3, 4MB external flash
13:15:07.590 > Minimum free heap size: 4414999 bytes
13:15:07.590 > Heap summary for capabilities 0x00000C06:
13:15:07.590 >   Totals:
13:15:07.590 >     free 0 allocated 0 min_free 0 largest_free_block 0
13:15:07.590 > [ACTIVITY] startActivity(1) put into queue
13:15:07.590 > [   505][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000
13:15:07.590 > [STATUS] Boot 1 normal
13:15:07.909 > [  1642][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:08.935 > [  2668][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:08.944 > [  2676][D][esp32-hal-adc.c:194] __analogReadMilliVolts(): eFuse Vref: Supported
13:15:08.949 > [  2676][I][esp32-hal-adc.c:235] __analogReadMilliVolts(): ADC1: Characterized using eFuse Vref: 1093
13:15:08.957 >
13:15:08.957 > [SETUP] Battery: 0% (0.28v)
13:15:10.005 > [  3738][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:10.011 > [SETUP] starting button task
13:15:10.014 > [SETUP] starting time task
13:15:10.014 > [TIME] local time (3) 00:00:03 Thursday, January 01 1970
13:15:10.019 > [SETUP] starting WiFi task
13:15:10.022 > [WIFI] Connecting...
13:15:10.025 > [SETUP] starting OTA task
13:15:10.028 > [SETUP] starting MQTT task
13:15:10.031 > [MQTT] starting MQTT
13:15:10.031 > [SETUP] starting sleep task
13:15:10.034 > [SETUP] starting activities task
13:15:10.037 > [ACTIVITY] starting activity: 1
13:15:10.040 > [  3767][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 0 - WIFI_READY
13:15:10.103 > [  3834][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 2 - STA_START
13:15:10.170 > [  3902][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 4 - STA_CONNECTED
13:15:10.175 > [WIFI] Connected to AP successfully!
13:15:10.200 > [  3932][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 7 - STA_GOT_IP
13:15:10.205 > [  3932][D][WiFiGeneric.cpp:1102] _eventCallback(): STA IP: 192.168.2.109, MASK: 255.255.255.0, GW: 192.168.2.1
13:15:10.217 > [WIFI] IP address: 192.168.2.109
13:15:10.220 > [STATUS] WiFi connected
13:15:10.235 > [WIFI] Connected: 192.168.2.109
13:15:10.269 > [TIME] Syncing RTC to NTP
13:15:10.282 > [MQTT] Connecting to MQTT...
13:15:10.282 > [  4014][I][AsyncMqttClient.cpp:686] connect(): CONNECTING
13:15:10.287 > [SLEEP] delaying sleep for 20 seconds
13:15:10.293 > [STATUS] Downloading image...
13:15:10.293 > [  4020][I][ArduinoOTA.cpp:141] begin(): OTA server at: homeplate.local:3232
13:15:10.301 > [OTA] OTA ready
13:15:10.301 > [  4035][I][AsyncMqttClient.cpp:188] _onConnect(): TCP conn, MQTT CONNECT
13:15:10.310 > [  4036][I][AsyncMqttClient.cpp:369] _addFront(): new front #1
13:15:10.316 > [  4038][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #1: 51/51
13:15:10.321 > [  4043][I][AsyncMqttClient.cpp:424] _handleQueue(): p #1 rel
13:15:10.327 > [  4048][I][AsyncMqttClient.cpp:244] _onAck(): ack 51
13:15:10.338 > [  4069][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:10.341 > [  4069][I][AsyncMqttClient.cpp:262] _onData(): rcv CONNACK
13:15:10.346 > [  4070][I][AsyncMqttClient.cpp:503] _onConnAck(): CONNACK
13:15:10.351 > [MQTT] Connected to MQTT.
13:15:10.353 > [MQTT] Session present: 0
13:15:10.356 > [  4084][I][AsyncMqttClient.cpp:722] subscribe(): SUBSCRIBE
13:15:10.362 > [  4085][I][AsyncMqttClient.cpp:382] _addBack(): new back #8
13:15:10.367 > [  4091][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #8: 39/39
13:15:10.373 > [MQTT] Subscribing at QoS 2, packetId: 1
13:15:10.376 > [MQTT] Sending MQTT Config
13:15:10.379 > [  4107][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.384 > [  4108][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.391 > [  4112][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.396 > [  4117][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.401 > [MQTT] Connected
13:15:10.402 > [  4123][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.407 > [  4132][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.412 > [  4134][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.417 > [  4139][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.423 > [  4145][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.426 > [  4149][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.431 > [  4155][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.437 > [  4160][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.442 > [  4165][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:10.448 > [  4170][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:10.453 > [  4176][I][AsyncMqttClient.cpp:244] _onAck(): ack 39
13:15:10.456 > [  4180][I][AsyncMqttClient.cpp:249] _onData(): data rcv (5)
13:15:10.462 > [  4185][I][AsyncMqttClient.cpp:271] _onData(): rcv SUBACK
13:15:10.467 > [  4191][I][AsyncMqttClient.cpp:524] _onSubAck(): SUBACK
13:15:10.473 > [  4196][I][AsyncMqttClient.cpp:529] _onSubAck(): SUB released
13:15:10.479 > [MQTT] Subscribe acknowledged: packetId: 1 qos: 2 
13:15:10.484 > [  4211][I][AsyncMqttClient.cpp:424] _handleQueue(): p #8 rel
13:15:10.490 > [  4214][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 528/528
13:15:10.499 > [  4231][I][AsyncMqttClient.cpp:244] _onAck(): ack 528
13:15:10.502 > [  4231][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:10.507 > [  4231][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:10.513 > [  4236][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:10.534 > [  4266][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:10.537 > [  4268][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 498/498
13:15:10.547 > [  4279][I][AsyncMqttClient.cpp:244] _onAck(): ack 498
13:15:10.550 > [  4280][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:10.555 > [  4280][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:10.561 > [  4284][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:11.036 > [  4767][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:11.038 > [  4769][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 472/472
13:15:11.046 > [  4778][I][AsyncMqttClient.cpp:244] _onAck(): ack 472
13:15:11.049 > [  4778][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:11.054 > [  4779][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:11.060 > [  4783][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:11.246 > [  4978][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:11.294 > [TIME] NTP Sync failed
13:15:11.537 > [  5269][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:11.540 > [  5271][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 472/472
13:15:11.550 > [  5282][I][AsyncMqttClient.cpp:244] _onAck(): ack 472
13:15:11.553 > [  5283][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:11.559 > [  5283][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:11.564 > [  5287][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:12.032 > [MQTT] sending status update
13:15:12.032 > [MQTT] Sending MQTT State: [homeassistant/sensor/homeplate/boot/state] {"boot":1,"activity_count":1,"boot_reason":"normal"}
13:15:12.044 > [  5771][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:12.049 > [  5776][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:12.055 > [  5779][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 536/536
13:15:12.061 > [  5784][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:12.067 > [  5788][I][AsyncMqttClient.cpp:244] _onAck(): ack 536
13:15:12.072 > [  5794][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:12.078 > [  5799][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:12.083 > [  5805][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:12.258 > [MQTT] Sending MQTT State: [homeassistant/sensor/homeplate/wifi_signal/state] {"signal":-54}
13:15:12.263 > [  5989][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:12.269 > [  5991][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:12.274 > [  5996][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:12.280 > [  6004][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:12.284 > [  6005][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 464/464
13:15:12.290 > [  6014][I][AsyncMqttClient.cpp:244] _onAck(): ack 464
13:15:12.295 > [  6019][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:12.301 > [  6027][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:12.307 > [  6030][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:12.546 > [  6277][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:12.549 > [  6280][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 576/576
13:15:12.568 > [  6300][I][AsyncMqttClient.cpp:244] _onAck(): ack 576
13:15:12.570 > [  6300][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:12.576 > [  6300][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:12.581 > [  6305][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:13.006 > [INPUT] Starting input monitoring...
13:15:13.045 > [  6778][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:13.048 > [  6780][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 99/99
13:15:13.060 > [  6793][I][AsyncMqttClient.cpp:244] _onAck(): ack 99
13:15:13.063 > [  6793][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:13.069 > [  6793][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:13.074 > [  6797][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:13.312 > [  7043][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:13.547 > [  7279][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:13.550 > [  7282][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 68/68
13:15:13.562 > [  7294][I][AsyncMqttClient.cpp:244] _onAck(): ack 68
13:15:13.565 > [  7294][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:13.571 > [  7295][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:13.577 > [  7299][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:14.048 > [  7780][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:14.336 > [  8068][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:14.342 > [IMAGE] Downloading image: http://192.168.2.28:5000/1.png
13:15:14.347 > [  8071][W][HTTPClient.cpp:873] getStream(): getStream: not connected
13:15:14.353 > [  8075][E][WiFiClient.cpp:320] setSocketOption(): fail on -1, errno: 9, "Bad file number"
13:15:14.361 > [  8083][W][HTTPClient.cpp:873] getStream(): getStream: not connected
13:15:14.366 > [  8089][D][HTTPClient.cpp:303] beginInternal(): protocol: http, host: 192.168.2.28 port: 5000 url: /1.png
13:15:14.375 > [  8098][D][HTTPClient.cpp:598] sendRequest(): request type: 'GET' redirCount: 0
13:15:14.383 >
13:15:14.392 > [  8125][D][HTTPClient.cpp:1170] connect():  connected to 192.168.2.28:5000
13:15:14.421 > [  8152][D][HTTPClient.cpp:1321] handleHeaderResponse(): code: 200
13:15:14.426 > [  8152][D][HTTPClient.cpp:1324] handleHeaderResponse(): size: 56845
13:15:14.432 > [  8153][D][HTTPClient.cpp:642] sendRequest(): sendRequest code=200
13:15:14.437 >
13:15:14.682 > [  8415][D][HTTPClient.cpp:393] disconnect(): tcp keep open for reuse
13:15:14.688 > [IMAGE] Download done
13:15:14.688 > [STATUS] Rendering image...
13:15:15.348 > [  9080][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:15.353 > [MQTT] Got invalid temperature (-1), not sending status to mqtt
13:15:16.382 > [ 10114][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:17.407 > [ 11139][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:17.418 > [MQTT] Sending MQTT State: [homeassistant/sensor/homeplate/battery/state] {"voltage":0.28,"battery":0}
13:15:17.426 > [ 11150][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:17.432 > [ 11153][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:17.435 > [ 11166][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 78/78
13:15:17.450 > [ 11180][I][AsyncMqttClient.cpp:244] _onAck(): ack 78
13:15:17.453 > [ 11182][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:17.459 > [ 11184][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:17.464 > [ 11187][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:17.552 > [ 11283][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:21.463 > [IMAGE] Image render ready
13:15:21.463 > [IMAGE] displaying....
13:15:22.474 > [ 16206][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:22.725 > [IMAGE] displaying done.
13:15:23.800 > [ 17532][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:24.432 > [MQTT] sending status update
13:15:24.432 > [MQTT] Sending MQTT State: [homeassistant/sensor/homeplate/boot/state] {"boot":1,"activity_count":1,"boot_reason":"normal"}
13:15:24.444 > [ 18176][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:24.449 > [ 18176][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:24.455 > [ 18180][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 99/99
13:15:24.460 > [ 18191][I][AsyncMqttClient.cpp:244] _onAck(): ack 99
13:15:24.466 > [ 18191][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:24.472 > [ 18193][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:24.476 > [ 18199][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:24.552 > [ 18285][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:24.651 > [MQTT] Sending MQTT State: [homeassistant/sensor/homeplate/wifi_signal/state] {"signal":-54}
13:15:24.658 > [ 18384][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:24.663 > [ 18386][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:24.668 > [ 18394][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 68/68
13:15:24.674 > [ 18403][I][AsyncMqttClient.cpp:244] _onAck(): ack 68
13:15:24.679 > [ 18403][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:24.684 > [ 18407][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:24.691 > [ 18413][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:25.055 > [ 18787][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:25.676 > [ 19408][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:25.681 > [MQTT] Got invalid temperature (-1), not sending status to mqtt
13:15:25.690 > [MQTT] Sending MQTT State: [homeassistant/sensor/homeplate/battery/state] {"voltage":0.28,"battery":0}
13:15:25.698 > [ 19422][I][AsyncMqttClient.cpp:740] publish(): PUBLISH
13:15:25.704 > [ 19425][I][AsyncMqttClient.cpp:382] _addBack(): new back #3
13:15:25.706 > [ 19433][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #3: 78/78
13:15:25.715 > [ 19439][I][AsyncMqttClient.cpp:244] _onAck(): ack 78
13:15:25.718 > [ 19441][I][AsyncMqttClient.cpp:249] _onData(): data rcv (4)
13:15:25.722 > [ 19446][I][AsyncMqttClient.cpp:287] _onData(): rcv PUBACK
13:15:25.728 > [ 19451][I][AsyncMqttClient.cpp:635] _onPubAck(): PUB released
13:15:26.056 > [ 19789][I][AsyncMqttClient.cpp:424] _handleQueue(): p #3 rel
13:15:31.031 > [ACTIVITY] startActivity(0) put into queue
13:15:31.035 > [ACTIVITY] starting activity: 0
13:15:31.038 > [SLEEP] prepping for sleep
13:15:32.067 > [ 25799][E][Wire.cpp:513] requestFrom(): i2cRead returned Error 263
13:15:32.073 > [MQTT] Stopping and disconnecting...
13:15:32.075 > [ 25801][I][AsyncMqttClient.cpp:709] disconnect(): DISCONNECT (f:0)
13:15:32.081 > [ 25804][I][AsyncMqttClient.cpp:382] _addBack(): new back #14
13:15:32.087 > [ 25812][I][AsyncMqttClient.cpp:414] _handleQueue(): snd #14: 2/2
13:15:32.092 > [ 25815][I][AsyncMqttClient.cpp:424] _handleQueue(): p #14 rel
13:15:32.097 > [ 25821][I][AsyncMqttClient.cpp:438] _handleQueue(): snd DISCONN, disconnecting
13:15:32.105 > [WIFI] Stopping and disconnecting...[ 25817][I][AsyncMqttClient.cpp:244] _onAck(): ack 2
13:15:32.111 > [ 25838][I][AsyncMqttClient.cpp:224] _onDisconnect(): TCP disconn
13:15:32.119 > 
13:15:32.119 > [MQTT] Disconnected from MQTT.
13:15:32.122 > [ 25854][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
13:15:32.128 > [ 25855][W][WiFiGeneric.cpp:1061] _eventCallback(): Reason: 8 - ASSOC_LEAVE
13:15:32.137 > [WIFI] Disconnected from WiFi access point
13:15:32.139 > [WIFI] WiFi lost connection. Reason: 8
13:15:32.142 > [ 25869][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 3 - STA_STOP
13:15:32.155 > [SLEEP] entering sleep for 1200 seconds (20 min)

Debug Output with -DARDUINO_INKPLATE10V2 doesn't change very much:

Wrote 1360432 bytes (798163 compressed) at 0x00010000 in 19.8 seconds (effective 548.8 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
--- Terminal on COM4 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
Disconnected (ClearCommError failed (PermissionError(13, 'Zugriff verweigert', None, 5)))
Reconnecting to COM4     Connected!

from homeplate.

elratt0r avatar elratt0r commented on July 17, 2024

Could you try a demo project from the Inkplate Library? As the thermistor is in the PMIC (TPS65186) of the eInk and this is written via I2C during the bootup I suspect there's something wrong talking to that one in particular.
I still have no clue why V2 behaves that different :-(

from homeplate.

huggenknubbel avatar huggenknubbel commented on July 17, 2024

i tried some examples and they didn't run either.
write an email to the support. Maybe my device is broken?

from homeplate.

elratt0r avatar elratt0r commented on July 17, 2024

Yes, sounds like sth. is wrong with the device unfortunately.

from homeplate.

huggenknubbel avatar huggenknubbel commented on July 17, 2024

I'm found the issue. and i'm speachless about it.
Today the Battery which i ordered arrived and i connected it. What i should say? It works as expected.
Wow.
Thanks @elratt0r for you help anyway!

from homeplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.