esphome-docs
esphome-docs copied to clipboard
DO NOT POST ISSUES HERE
For bug reports, please go to https://github.com/esphome/issues
For feature requests, go to https://github.com/esphome/feature-requests
Thank you!
I have a documentation issue. Is that supposed to go in esphome as well? If not, could the title of this ticket be changed to "NOT POST BUG REPORTS HERE" to be less confusing?
@donpdonp That would still go in the issues repo - we have labels there to distinguish issues between the projects. The reason it's centralized is that there's a central place for all issues, since few people search all 3 repos for existing issues when they open a new one.
Hi, how can you set the display pages with a fig key by taking a gpio from wemos d1 the following code I tried does not work a help please the code here:
- platform: gpio
name: "Pin D7"
pin: D7
on_press:
- display.page.show_next: my_display
- display.page.show_prev: my_display
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
address: 0x3C
update_interval: 50ms
id: my_display
pages:
-
id: page1 lambda: | - it.printf (0, 2, id (font), "Relay 1:% s", id (relay_1) .state? "ON": "OFF"); it.printf (73, 2, id (font), "Relay 5:% s", id (relay_5) .state? "ON": "OFF"); it.printf (0, 13, id (font), "Relay 2:% s", id (relay_2) .state? "ON": "OFF"); it.printf (73, 13, id (font), "Relay 6:% s", id (relay_6) .state? "ON": "OFF"); it.printf (0, 25, id (font), "Relay 3:% s", id (relay_3) .state? "ON": "OFF"); it.printf (73, 25, id (font), "Relay 7:% s", id (relay_7) .state? "ON": "OFF"); it.printf (0, 37, id (font), "Relay 4:% s", id (relay_4) .state? "ON": "OFF"); it.printf (73, 37, id (font), "Relay 8:% s", id (relay_8) .state? "ON": "OFF"); it.printf (0, 55, id (font), "Wifi:% s", id (status) .value? "Online": "Offline"); it.printf (102, 55, id (font), "% .1f", id (signal) .value);
-
id: page2 lambda: | - it.strftime (0, 35, id (font), "Time:% H:% M", id (time) .now ()); it.strftime (0, 45, id (font), "Date:% d.% m.% Y", id (time) .now ());
-
with this code on_press gives me error, of course the code is wrong I just wanted to change page with a key as reported in the guide https://esphome.io/components/display/index.html I look forward to your help, thanks
Hi all, am new to ESP, and am struggling a bit understand how to connect an ESP32 to a Voltronic inverter via UART protocol. The inverter has a RS232 female port, however can this port communicate in UART, and if so, does anyone know which which wires are the TX and RX. These i would connect to the ESP32 UART pins. Many thanks in advance