I have couple of ESPEasy flashed ESP8266s with a temperature/humidity sensor attached to it, which are sending data to hass via MQTT.
I would now like to attach a 7-segment-display (eg. TM-1637) to the ESP8266 and display either the actual temperature (or humidity, or both alternating), but have no clue how to configure that in hass (wire setup seems to be clear from the explanation…
If you are using ESPEasy, why involve Hass if you intend to display the data from the local sensor?
Maybe ask at https://www.letscontrolit.com/forum/? It looks to me like it will take a rules set to take the value from the environmental sensor and push it to the display via a command.
Sending data from Hass is fairly easy. On HA one would use MQTT publish and on the ESPEasy box you would define a sniffer device and listen to a particular topic. I use this method to “broadcast” the outside temp and the feelslike temp to my units with displays.
Using the below settings, on the display one would display [sniff#Real] and [sniff#FeelsLike].
Hello… I have couple of ESPEasy flashed ESP8266s with a temperature/humidity sensor (DHT22) attached to it. This sensor is the part of the PCB assembly itself which makes it a compact board and easy to use with programmer.
I would now like to attach a 7-segment-display to the ESP8266 and display either the actual temperature (or humidity, or both alternating), but have no clue how to configure that.
thanks for your repply though - I’ll post here if I have any luck (cos it would really be nice to be able to connect a cheap TM1637 to an ESP32 and use it to get various status informaiton from HASSIO.
Hi, did you have any luck with this? I have put together a nodemcu with temp and humidity sensor with an 8 digit 7 segment display showing both, this was my first project and it works okay and reports into HA.I con’t get it to display time yet but this seems to be an library issue or my config, either way there does not seem to be much documentation on this.
Is this what you are looking to do and are you still stuck? If so happy to share my solution.
cheers
thanks for sharing. Im still waiting for esphome to bump up to version 1.15 with support for TM1637 (whitch i have a few of).before I continue with this project.
If you have an example for another display it would be nice to see the configuration so I can learn.
This was my first little gadget, it is basically an 8 digit, 7 segment display soldered onto the same board as a DHT22 and a NodeMCU. And it all works. It cycles every 10 seconds between the time and the temp / humidity. It is hard wired onto a little board and to my eyes it looks quite cute. From here reporting back into HA is pretty much plug and play.
I really like how easy it is to set stuff like this up in ESPhome, however it is so far behind the Arduino community on support and online documentation that I have decided to take the plunge and start again with C++ through the Arduino IDE, which supports ESP8266 boards as well the Arduino boards and clones. Much harder to pick up but most / all problems seem to have been solved and documented by someone so actually my rate of learning has been much quicker and less frustrating. And also, in the end, you know C++!