bruxy70 / Home-Assistant-ESPHome-Weather-Station

Nextion display with ESP8266 microcontroller (Wemos D1 mini) showing Home Assistant temperature sensors and weather forecast
MIT License
169 stars 29 forks source link

display not updating #2

Closed osborne82 closed 4 years ago

osborne82 commented 4 years ago

hi fairly new to the nextion display so unsure if iv done this correctly flashed d1 mini with the weather yamel no problems loaded the hmi file into the latest Nextion Editor and exported a .tfi file which i then flash onto the display again all good so far now hook up the rx tx and power everything boots up and display powers up but the sensors dont get populated and doesnt flick between the two pages. only thing i can do is press the plus n minus buttons on the screen for brightness. i added the example sensors to my configuration.yamel they show up in home assistant

i feel iv probably missed something obvious :) but stuck thanks

bruxy70 commented 4 years ago

Hi. I think that means that the d1 mini and display do not communicate. I'd check if the RX and TX are not swapped (RX on d1 mini should go to TX on the display and vice versa), and that the pin IDs are set correctly. You can then make a simple test - e.g. in the lambda do simply it.set_component_text("inside","TEST"); to see if the communication works - this does not use any sensor data, but static text - once you get that working you can get back to the origina configuration.

osborne82 commented 4 years ago

Thanks played around some more swapping the tx n rx still nothing. I then used a different display and bingo most of it started working. Although temperature is saying NAN the second page does infact show time etc. I'll keep playing but thank you for your time and the project :)

On Wed, Oct 9, 2019, 12:20 bruxy70 notifications@github.com wrote:

Hi. I think that means that the d1 mini and display do not communicate. I'd check if the RX and TX are not swapped (RX on d1 mini should go to TX on the display and vice versa), and that the pin IDs are set correctly. You can then make a simple test - e.g. in the lambda do simply it.set_component_text("inside","TEST"); to see if the communication works - this does not use any sensor data, but static text - once you get that working you can get back to the origina configuration.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bruxy70/Home-Assistant-ESPHome-Weather-Station/issues/2?email_source=notifications&email_token=ACCE2QTFEI4B5FFPJMYRQPLQNW5AXA5CNFSM4I643UNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXRSXA#issuecomment-539957596, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCE2QQFOSSXE4ASSX25QY3QNW5AXANCNFSM4I643UNA .