Their native app works fine but no integration in HA.
The only way to expose the esp chip is by breaking off the earth terminal bar, which is crimped to the brass rings in the screw holes, so not best, but may tackle opening it up.
At the very least, connect a USB-to-TTL cable to the RX0, TX0, and GND pins and see what you get. If I had to guess, I’d say that’s an ESP8266 for certain, much like a Wemos D1.
https://fccid.io/png.php?id=3509489&page=1 is for a slightly different variation, but the internals picture shows it is indeed a Broadlink ARM chip of some sort, so NOT an ESP at all.
WiFi IoT devices generally use UDP… That should tell you about the reliability… Obviously if your devices use TCP/IP then that is another story… but depending on how tightly you control you LAN, I find it way more reliable to use a dedicated IoT protocol for IoT devices… but each to their own, with all the permutations and combinations of availalbe setup/devices etc etc, I am sure that if you ask 100 people, you will get 100 different answers…
Hi there,
There has been some progress with these sockets
I was trying to integrate these with openHAB (Sorry guys…) and I came accross your thread here.
I found out that they use a broalink chip so I raised an issue here:
A kind soul ammended a branch to integrate the BG socket: Here:
There existed a broadlink to mqtt python script that has now been ammended to used these sockets:
After reading this thread, I picked up one of these sockets yesterday. Impressed, especially given the price. I’ve taken the stock HA broadlink component, incorporated the updated python-broadlink library, and extended it to support these sockets. I’ve not used this in anger yet (like I said, I only got the socket yesterday) but so far so good.
You can add this as a custom component to HA, and add switches directly without needing an MQTT bridge. Note; it polls every 30 seconds (default for the component), so if you use the switches on the socket there will be a delay before it’s reflected in HA.
When the python-broadlink library with the BG1 support is released to pip I’ll create a PR into HA so you won’t need a custom component I can’t do that yet AFAIK because of the way HA installs libraries for components.
I’ve literally fitted one today and got annoyed with the thing, its well made from a genuine electrical company, its responsive, the wifi works in an area with iffy reception, and it wouldn’t work with HA really annoying.
Not sure what I am doing wrong. Have downloaded and extracted from GitHub to my custom components folder but it doesn’t appear to be working. I don’t get the warning in the log of a custom component for broadlink. Anything I could be missing? Other custom components seem fine.