I have a Home Assistant Green, and I would like to connect it with bluetooth devices such as Xiaomi temperature sensors. Since HAG does not come with bluetooth, I bought an Atom lite M5, and tried to make it into a bluetooth proxy, and connect bluetooth devices to Home Assistant Green through ESPHome.
I watched some Youtubes and read some instructions, so I connected the M5 to a Windows laptop, and I think I have flashed the required firmware to it. I am not sure if I have succeeded fully, but the M5 is detected by my WiFi network.
I also used Add-Ons in Home Assistant Green to install the ESPHome Compiler.
But when I tried to add the M5 as a device on the Home Assistant Green, selecting Bluetooth, HAG says that no device is found.
Can someone help me to identify the problem please?
When I flashed the M5 with some required firmware, do I need to do it on the HAG, with HAG active, or I can just use any computer to flash the M5? thanks in advance.
You can use any computer.
You need to add the esp device to home assistant before it acts as a proxy. Go to settings - devices and settings - add integration - esphome - proceed from there.
thanks nickrout for the quick response. Unfortunately, I cannot find ATOM in the list of devices to add in my Home Assistant Green, under Devices & services. As for ESPHome, I have installed the ESPHome Compiler from the 'Add-ons" under “Settings”, but then what next? is ESPHome the same as ESPHome Compiler? the latter is the only option shown in the “Add-ons” section. I am lost.
I am now trying to add ESPHome with the “Add Integration” button, and it asks for Host* and Port is filled in as 6053. It does not seem to have discovered the Atom lite M5. I inserted the IP address of the M5, and the Home Assistant Green says that it can’t connect to ESP. "Make sure your YAML file contains an ‘api’ line. So now I have to figure out which YAML file to fix, and what ‘api’ line to add.
Any advice?
The yaml file it is referring to is the one you used to compile the firmware.
The problem of " Make sure your YAML file contains an ‘api’ line.” is one I have seen on the forum a few times, but never looked at the solutions as it has never been a problem for me. The solution is out there though…
Try restarting ha and see if the esp device gets discovered.
thanks again, nickrout. I will try and try again.
After trying again and again, and trying to reinstall the Bluetooth Device Compiler on my Home Assistant Green, which failed, and trying to reinstall the Bluetooth proxy using the ESPHome Project webpage for bluetooth proxy by connecting it to my MacBook Air, and it did not connect it to the WiFi network after flashing, I have to say that this Home Assistant Green box is not for someone who is not a network engineer. It remains a geek’s toy. A waste of time and money, if you bought into the youtubes that tell you ‘it is so easy!’ I have been fooled.