Open hexonMD opened 9 months ago
You will need to remove the refrence to temp2 if you are not using the ds18b temp sensor package
start at line 147
# float temp2_f = id(temp2).state * (9.0/5.0) + 32.0;
/*it.printf(4, r, id(sz_20), id(my_yellow), TextAlign::TOP_LEFT, "%0.1f°F", id(temp).state); */
it.printf(4, r, id(sz_20), id(my_yellow), TextAlign::TOP_LEFT, "%0.1f°F", temp_f);
# it.printf(125, r, id(sz_24), id(my_yellow), TextAlign::TOP_CENTER, "%0.1f°F", temp2_f);
it.printf(236, r, id(sz_20), id(my_yellow), TextAlign::TOP_RIGHT, "%0.1f%%", id(humidity).state);
INFO ESPHome 2024.2.1 INFO Reading configuration /config/esphome/ttgo.yaml... WARNING GPIO0 is a strapping PIN and should only be used for I/O with care. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins WARNING GPIO5 is a strapping PIN and should only be used for I/O with care. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins Failed config
display.st7789v: [source /config/esphome/sniffer_common.yaml:107] platform: st7789v model: TTGO_TDISPLAY_135X240 backlight_pin: number: 4 allow_other_uses: True mode: output: True input: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 cs_pin: number: 5 mode: output: True input: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 dc_pin: number: 16 mode: output: True input: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 reset_pin: number: 23 mode: output: True input: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 update_interval: 1s rotation: 270
Couldn't find ID 'temp2'. Please check you have defined an ID with that name in your configuration. These IDs look similar: "temp". lambda: !lambda |- it.rectangle(0, 0, it.get_width(), it.get_height(), id(my_blue)); it.rectangle(0, 19, it.get_width(), it.get_height(), id(my_blue)); // header bar
auto_clear_enabled: True eightbitcolor: False height: 240 width: 135 offset_height: 52 offset_width: 40