I just would like to post an update to my experience thus far. The forum and help has been great - thank you! One of the things I decided to do was try to use one of the examples in the ESPHome Cookbook as a parallel to the work I was doing in Arduino - build a temperature display. So I bought some SSD1306 displays after reading this cookbook tutorial. It hasn’t’ gone so well, unfortunately.
In the Arduino world, I was able to get a MQTT client up and running, along with the WiFi libraries, and along with some Wire code, I was able to get the temperature display to work. I used examples from both the libraries to boot-strap my project.
In the ESPHome world, using this cookbook as the end product - not a small piece - I am still struggling to make it work. The concept seems to be this higher level language environment should be easier to get things going - my experience has been the opposite.
Using the cookbook tutorial as an example, I’ll go over the multiple issues I have run into.
“Getting Time”. Doesn’t work. Once I change the code to use sntp time, it works.
“Define the Fonts”. This section has no instructions on how this is done from a file level. This is my first use of a display in the ESPHome world, and I was left to find them - and the instruction on how to install them - via google. I still don’t have a working Arial font.
I2C display causes “Auth failed” with WiFi. Only after tinkering for several hours was I able to use the “frequency” definition (set to 200kHz now) and got the WiFi to work.
Still can’t get the temperature sensors to display, only time.
Spent a good chunk of yesterday troubleshooting/debugging an “example”.
I can chalk a lot of this up to me learning a new environment, and the promise appears to be great. But when the example code in the cookbook is lacking documentation (fonts), the code doesn’t work (time and i2c display) without major research and tinkering, the promise isn’t there.
Meanwhile, my Arduino display tells me the outside temp just fine.
Frustrated!