07-17-2025, 08:33 PM
i got this issue
[22:24:38][C][lcd_pcf8574:024]: PCF8574 LCD Display:
[22:24:38][C][lcd_pcf8574:024]: Columns: 20, Rows: 4
[22:24:38][C][lcd_pcf8574:028]: Address: 0x27
[22:24:38][C][lcd_pcf8574:029]: Update Interval: 0.5s
[22:24:38][E][lcd_pcf8574:031]: Communication failed
[22:24:38][E][component:088]: Component display is marked FAILED:
this my config
esp32:
board: esp32dev
framework:
type: esp-idf
...............
i2c:
sda: GPIO4
scl: GPIO16
id: i2c0
scan: true
#frequency: 100kHz
display:
- platform: lcd_pcf8574
dimensions: 20x4
i2c_id: i2c0
address: 0x27
update_interval: 500ms
lambda: |-
it.strftime(0,0, " %d-%m-%Y %H:%M", id(sntp_time).now());
it.printf(0,1, "T Est %.1f-T Int %.1f", id(tt_ext).state, id(tt_int).state);
it.printf(0,2, "GIARD %s SCALE %s", id(giardino).state ? "ON" : "OFF" , id(scale).state ? "ON" : "OFF");
it.printf(0,3, "GIARD %.0f SCALE %.0f", id(giardino_work_time).state, id(scale_work_time).state);
--------------
what's wrong?
I already changed more displays , try invert sda/scl, try 3.3v and 5v also...
[22:24:38][C][lcd_pcf8574:024]: PCF8574 LCD Display:
[22:24:38][C][lcd_pcf8574:024]: Columns: 20, Rows: 4
[22:24:38][C][lcd_pcf8574:028]: Address: 0x27
[22:24:38][C][lcd_pcf8574:029]: Update Interval: 0.5s
[22:24:38][E][lcd_pcf8574:031]: Communication failed
[22:24:38][E][component:088]: Component display is marked FAILED:
this my config
esp32:
board: esp32dev
framework:
type: esp-idf
...............
i2c:
sda: GPIO4
scl: GPIO16
id: i2c0
scan: true
#frequency: 100kHz
display:
- platform: lcd_pcf8574
dimensions: 20x4
i2c_id: i2c0
address: 0x27
update_interval: 500ms
lambda: |-
it.strftime(0,0, " %d-%m-%Y %H:%M", id(sntp_time).now());
it.printf(0,1, "T Est %.1f-T Int %.1f", id(tt_ext).state, id(tt_int).state);
it.printf(0,2, "GIARD %s SCALE %s", id(giardino).state ? "ON" : "OFF" , id(scale).state ? "ON" : "OFF");
it.printf(0,3, "GIARD %.0f SCALE %.0f", id(giardino_work_time).state, id(scale_work_time).state);
--------------
what's wrong?
I already changed more displays , try invert sda/scl, try 3.3v and 5v also...

