Bn-link compatible?

Anyone using any bn-link switches?

BN-LINK Smart WiFi Outlet, Hubless with Energy Monitoring and Timer Function, White, Compatible with Alexa and Google Assistant (3-Pack) [2.4 GHz network only] https://www.amazon.com/dp/B07HPG58FP

3 Likes

Are you using them with Home Assistant? What platform are you using?

Hi Lucyyyyy are you saying that these switches work with Home Assistant?

Any luck finding a way? And if so, monitoring too? They are a great deal if they do work.

I’m guessing Tasmota or Tuya would be the next thing to try. just got some myself and going to try and get them working tonight.

Shout out to @digiblur for great videos on making this not so painful. 2 hours of pausing and rewinding and stumbling around. I finally got my first one on Home Assistant.

Setup Pi with Rabian Buster


Download and flash SD with image file
Eject and insert SD back into PC > open boot drive > create file ssh (no extension)
Use Network cable and boot Pi

Steps for SSH/Putty Terminal (Make sure to set WiFi Country in config)

sudo apt update
sudo apt install git
git clone https://github.com/ct-Open-Source/tuya-convert
cd tuya-convert
./install_prereq.sh
sudo reboot
sudo raspi-config
./start_flash.sh

Wait for the fetching firmware process
Hit 2 and enter
After less than a minute or 2 you should see the WiFi name tasmota-xxxx
Join with phone and select sign into network if prompted or go to the default gateway of your phone’s network info.

Enter your SSID info and Save

Use an IP Scanner or check your DHCP server for the device IP and type it in a web browser.

Install Masquitto Broker on Supervisor/Hass.io from add-on store
Setup username and password

  - username: mqtt
    password: 'mqtt123'
anonymous: false
customize:
  active: false
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

Tasmota Web interface

Upgrade Firmware
I believe the sonoff.bin isn’t used anymore? so use tasmota.bin that is already in the box.

Configuration > Configure other
Template
{"NAME":"BNC-60/U133TJ","GPIO":[0,56,0,17,134,132,0,0,131,57,21,0,0],"FLAG":0,"BASE":18}
Active Checked
Friendly Name 1
Save

Configuration > Configure MQTT
Enter Hassio IP along with username and password

Initiate discovery to Home Assistant
From Console:
SetOption19 1

Set Voltage, Watt, and current using know device.
https://tasmota.github.io/docs/#/Power-Monitoring-Calibration

VoltageSet <voltage>
PowerSet 60.0
CurrentSet <current>

Now it should show up in home asstiant under Configuration > MQTT: Masquitto Broker

2 Likes

Welcome to the addiction! Tuya Convert is awesome!

First of all. Thanks! I followed your instructions and got my two modules working.

Everything seems to be working but I have doubts about what you mean when you said:

“Set Voltage, Watt, and current using know device.”

Do I need to set this? I’m using to control a multiplug for my tv/soundbar.

You only need that if you want to use the power monitoring feature of the BN-LINK plug. For example, I use power monitoring to alert me (via Alexa) when the laundry dryer is done drying the clothes (power consumption drops to less than 4W).

Current URL for power monitoring calibration docs:
https://tasmota.github.io/docs/Power-Monitoring-Calibration/

1 Like

Anyone know how to convert the above Tasmota template to ESPHome? I’ve been trying to get my BN-Link BNC-60 setup on ESPHome but as a novice I’m really struggling to hack together a working configuration.

Just got one of these from Amazon and -

Timed out while waiting for the device to (re)connect
======================================================
Attempting to diagnose the issue...
Your device's firmware is too new.
Tuya patched the PSK vulnerability that we use to establish a connection.

:cry:

Is there any other way to control these devices from HA three years later now?

(or an alternative product that can ‘dim’ a ~200W load (Honeywell 50250)?)

Yes you can use BN-LINK devices but not with BN-LINK APP, instead use Tuya App since they are compatible.