I’m having problem getting started with esp32s3 & ds18b20. I installed ESPHome on my HA. I can communicate with the esp & successfully load the file.
The module does not go online nor does it recognize the temp sensors. Not sure the problem is the yaml file or the port I connected to. I have checked wiring & included the pull up resistor.
Here is the yaml.
Per the above, for my temp probes scattered around the house, I’ve always included the address.
That said, the dallas_sensor lists the address as optional i.e. it’s required if you have more than one sensor on the bus. So you might want to remove the address field entirely and see if it works
Failing that, the address lookup is easy enough per the one_wire code
It looks like I am not getting that far. I deleted the device and started again with the file not including the dallas sensor. The result is that the device remains offline. I see no fallback hotspot in my router…
I don’t see anything wrong with your code but here’s a basic yaml I use to onboard a new device. Outside of wifi I don’t bother with api & ota keys/passwords.
After much head scratching and experimentation I used “web esphome.io” and did a first install, then moved the device over to HA to add the sensor files.
A couple of items in the first config were different.
Under esp32: type: it was not “Arduino” but “esp-idf”
And I did connect with the “UART” port rather than the “USB” but both seemed to communicate and write the files.