Comparing revisions for MiBluetoothTempESPHome

Additions:
Sensors are around NZ$8.50 incl GST when I bought 4 of them (they even have batteries installed, a CR2032)
Use Esphome and an ESP32 dev board (with nothing except 5V connected to it) to pull the values of these temp sensors and integrate them into home assistant.
-- The website says they will measure down to 0 degrees, and the original plan was to use in my fridges and freezers so some might need to be repurposed.
-- I couldn't wait for some Dev boards from China and Jaycar had some half price ESP32 boards so I grabbed a couple to play with
-- These were a problem (I had a couple of esphome based projects I wanted to play with) as when I connected them, the logs showed they wouldn't connect to wifi. Logs showed this:
There is a bit of a jumble of information in there, but I found that if I pulled the 0 pin to ground via a resistor (they suggested 330 Ohm, but currently I have about 480Ohm) it seems to boot and connect to wifi stably. I only had to do this once, and it seems like it connects on a reboot but time will tell. Also pulling 0 low was often easier to flash the firmware when needed.
Deletions:
Sensors are around NZ$8.50 incl GST when I bought 4 of them.
Use esphome in an ESP32 dev board to pull the values of these temp sensors and integrate them into home assistant.
I couldn't wait for some Dev boards from China and Jaycar had some half price ESP32 boards so I grabbed a couple to play with
==CH340 Serial-USB in Ubuntu==
Getting the CH340 based serial working in ubuntu was annoying, I suspect however in windows you'd need to install the driver. The link I used to troubleshoot is below as errors show up in logs for BRLTTY. This is apparently what unix uses to gain access to serial ports by users.
https://unix.stackexchange.com/questions/670636/unable-to-use-usb-dongle-based-on-usb-serial-converter-chip
$ for f in /usr/lib/udev/rules.d/*brltty*.rules; do
sudo ln -s /dev/null "/etc/udev/rules.d/$(basename "$f")"
done
$ sudo udevadm control --reload-rules
$ sudo systemctl mask brltty.path
Created symlink /etc/systemd/system/brltty.path → /dev/null.
==Wifi Issues==
These were a problem (I had a couple of esphome based projects I wanted to play with) as when I connected them, the logs showed they wouldn't connect to wifi. Logs showed this:
There is a bit of a jumble of information in there, but it appears it is a voltage issue when using the UART. I found a solution that if I pulled the 0 pin to ground via a resistor (they suggest 330 Ohm) it seems to boot and connect to wifi stably. Time will tell. Also pulling 0 low was often easier to flash the firmware when needed. Having the resistor off seems to not work reliability.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki