Giter VIP home page Giter VIP logo

Comments (6)

bruxy70 avatar bruxy70 commented on August 21, 2024

This repository is for this video. Sorry, can't do better than that.

from home-assistant-esphome-weather-station.

commentsonly avatar commentsonly commented on August 21, 2024

Don't get me wrong I appreciated exactly that video a lot. It was the first one I stumbled across.
As said earlier, what I do miss is likely the steps poeple more familar with HA won't need a second to think about.
but I'm a step further now ... from the ESPhome docs I see that the HMI has to go onto the SD inserted into the display.
Might take some some weeks until I found out everything all others already know about.
And finally ..... thanks for the damn fast response, I didn't expect you acting that fast.

from home-assistant-esphome-weather-station.

commentsonly avatar commentsonly commented on August 21, 2024

getting closer to a solution, just wanted to let you know. :-) issue in the begining, my old USB=TTL=adapter was the problem. While being able to use if flashing gosund plugs and such like, it never made it. Not to mention the nextion refused most of my microSD cards. With a newly bough USB=TTL=adapter it works to flash the device.
And I'm also also able to blow values into the textboxes.
But I failed to work out about how to blow sensor values onto the device. I got confused with all these terms, id, entitly_id, and so on. I assumed the entitly_id must be the one from HA but tuning on logging does show these remain empty which explains why the display textboxes show 'nan' all the time.
I thought that I could simply make use of what HA lists from within settings entities entity-id. Am I wrong here?

from home-assistant-esphome-weather-station.

bruxy70 avatar bruxy70 commented on August 21, 2024

Hi. I actually never tried to use the SD card with the Nextion. I think what you ask is described in the Esphome documentation. It worked for me quite smoothly, if that doe snot work for you, I suggest asking this to the Esphome support, I am not really expert in this. Sorry.

from home-assistant-esphome-weather-station.

commentsonly avatar commentsonly commented on August 21, 2024

as said I bypassed this SD card issue by now using a new USB-TTL-adapter.
All I got stuck is that I can't get any sensor values sent to the nextion.
in short
it.set_component_text("objectname","1234"); does work while using an id linked to an entity_id availalbe within homeassistant simply results in '' (nothing).
Means it's surely not an issue between the nextion and the esp connected to it, but more something to do with
" - platform homeassistant" which I never came across right now. I was assuming that if I got an esp linked to Ha with a BME280 sensor ending up with a temperaturesensor resulting in esp8266_outside_temp ..... it should be fine to use that entity_id with the sensor: - platform: homeassistant
id: esp8266_outside_temp
entity_id: sensor.esp8266_outside_temp
but I might have been wrong here. The sensor does show values if looking at developper in HA were all the current values are shown besides all entities, but when logging what happens in esphome with logging turned on the result is simply ''.
And if nothing reaches the esp connected to the nextion the nextion won't display anything but 'nan'.

from home-assistant-esphome-weather-station.

commentsonly avatar commentsonly commented on August 21, 2024

Oh my god ...... got it running, my fault.
I mixed up "Home Assistant" with "Home Automation", means I forgot about 1 small step for the noob but a big step to make you guideline 100% working against 100% failing.
If one flashes an ESP from with ESPhome fired up from within HA there's automation in terms of integrating the new ESP into HA. And since so the new ESP won't see any HA entities at all, resulting in '' with then leads to 'nan'. That simple.
Found an article that indicated I wasn't the first who suffered from that issue.
Perhaps a simple 1-liner not at the ned "don't forget about..." would have made things lots easier.

Nevertheless ... great work from your side with the descriptions.

from home-assistant-esphome-weather-station.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.