its brand new and if i upload the heltec demo firmware to it it works fine i know my code is flawed so im really wondering if anyone can write a captive portal that works better then my trash lol
Have the same issue with my Heltec Wifi Kit v3. This is because the i2c bus is busy and need to restart before initialising the display. so my try was to use the on_boot funktion.
on_boot:
priority: 1000
then:
- logger.log: “Resetting Display…”
- output.turn_on: display_reset_pin
- delay: 50ms
- output.turn_off: display_reset_pin
- delay: 3s # Wartezeit, bevor das Display initialisiert wird
output:
platform: gpio
id: display_reset_pin
pin: 21 # Pin des Reset-Pins
with this the display will be refreshed. and if you try to run your code with the display test like this:
and remove the on_boot function and the output and the display show your text. buuuuuut… if you reboot your esp via the reset button, the complete configuration will no longer work, until you flash the on_boot funktion again…
Is there a simpler way ?