sw-home / FHEM-BluetoothSmartBMS

Get readings from the Bluetooth Smart BMS from https://www.lithiumbatterypcb.com/ in FHEM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FHEM-BluetoothSmartBMS

Get readings from the Bluetooth Smart BMS from https://www.lithiumbatterypcb.com/ in FHEM

Use bluetoothctl to search and connect to the Bluetooth BMS

sudo bluetoothctl

scan on

[NEW] Device A4:C1:38:0A:E3:B3 xiaoxiang BMS

connect A4:C1:38:0A:E3:B3

After that, exit the bluetoothctl and start the TCP server like this:

sudo python3 bmstcp.py A4:C1:38:0A:E3:B3 9998

And finally define the device in FHEM

defmod BatteryPack1 GenericSmartBMS raspberry.ip 9998 60 1

About

Get readings from the Bluetooth Smart BMS from https://www.lithiumbatterypcb.com/ in FHEM

License:GNU Affero General Public License v3.0


Languages

Language:Perl 53.6%Language:Python 46.4%