Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble finding any BMS through ESPHome Bluetooth Proxy (SMLIGHT SLZB-06M) for remote location #220

Open
Off-Grid-Garage opened this issue Apr 11, 2024 · 5 comments

Comments

@Off-Grid-Garage
Copy link

Off-Grid-Garage commented Apr 11, 2024

Hello and thank you for your great integration and solution by connecting to many supported BMS via BT.

Background (and problem):
My HA installation and hardware is installed inside my house while my batteries and BMS are setup in my garage, a separate building ~50m away from the house. I have a network connection between the buildings and have several services running through that connection successfully. This is too far away to connect any BT devices though.

The Solution:
I recently bought and installed a SMLIGHT SLZB-06M Zigbee, Wifi, Bluetooth Ethernet extender in my garage. The Zigbee over Ethernet Mode works a treat (adds a second coordinator to one HA installation).
image
The SLZB has now been flashed with ESPHome Bluetooth Proxy firmware provided by SMLIGHT and it works fine with all my Bluetooth devices inside my garage (BT LED lights, Ruuvi Tags, ...) and I can control these BT devices now from inside my house.

The only thing which does not work is batmon-HA and I'm struggling to find the right adapter name for this SLZB device. Batmon-HA uses hci0, hci1,... to specify the BT adapter. This obviously does not work as the SLZB is not a generic BT adapter attached to the HA hardware. BT discovery and scan only find devices in my house as it falls back to the default BT devises it knows about.

HA obviously has no trouble to connect to the remote BT devices through the ESPHome Proxy, so the question arises if batmon-HA is able to use this same BT proxy connection.

A lot of people would be interested in such a solution when their HA installation is not in BT range of their BMS. Any help and support to resolve this is much appreciated. Please let me know how I can assist with further information and testing.

Cheers and thank you again from sunny hot Australia
Andy

image
image
image

@7wells
Copy link

7wells commented Apr 25, 2024

Hello!

Have you made any progress?

@Off-Grid-Garage
Copy link
Author

Hello @7wells !

No, I haven't unfortunately. I'm still unable to find the device name to add to the adapter in Batmon.

Would really like to get this resolved...

At the end, I can swap the HA server and the SMLIGHT BT Proxy (HA goes in the garage, SMLIGHT goes in my house). Having the server (with its 'genuine' BT hardware) near the BMSes will definitely work with the Batmon integration, but I would prefer not to swap the hardware just for this reason.

There must be a way to find the device name and add this to the Batmon integration. That is all we need...

@7wells
Copy link

7wells commented Apr 26, 2024

Maybe I have missed something you mentioned before, but would it be possible for you to disable the BT hardware of your HA device? Shouldn't then only your external BT dongle appear (and thus be easily configurable)?

Please accept my apologies if this does not make sense for you or is impossible - it's just a thought. 😊

Greetings from Germany to Down Under! 👋

@Off-Grid-Garage
Copy link
Author

Thank you for your suggestion.

This is how the internal BT adapter shows up in HA:
image

The SLZB does not show up as traditional BT device but as a ESPHome device:
image

You would think, there is the device name of the SLZB, right? Tested that already as the adapter name in Batmon with no avail...
image

The error messages are new though. Something is outdated...
image

If I disable the BT in HA, there is no difference from what I can see in the log:
image

Not sure where to go from here...

@patman15
Copy link
Contributor

@7wells, @Off-Grid-Garage this addon does not support ESPHome bluetooth proxy. See #213 (comment) for a possible solution, but jikong is not (yet) supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants