cyrils / renogy-bt

Python library to read Renogy compatible BT-1 or BT-2 bluetooth modules using Raspberry Pi.
GNU General Public License v3.0
87 stars 35 forks source link

Connection failed #11

Closed deltaprise closed 1 year ago

deltaprise commented 1 year ago

Device: Renogy Rover LI 40A Bluetooth-Modul BT-1

Log from starting the ./example.py

INFO:root:Starting client: BT-TH-7749A78E => f4:60:77:49:a7:8e INFO:root:Adapter status - Powered: True INFO:root:Starting discovery... INFO:root:Devices found: 9 INFO:root:Found matching device BT-TH-7749A78E => [f4:60:77:49:a7:8e] INFO:root:[f4:60:77:49:a7:8e] Discovered, alias = BT-TH-7749A78E INFO:root:[f4:60:77:49:a7:8e] Discovered, alias = BT-TH-7749A78E INFO:root:[f4:60:77:49:a7:8e] Connected INFO:root:[f4:60:77:49:a7:8e] Discovered, alias = BT-TH-7749A78E INFO:root:[f4:60:77:49:a7:8e] Disconnected ERROR:root:Connection failed: Disconnected

The mac address an the device alias is correct, why doesn't it work?

cyrils commented 1 year ago

Usually this happens when bluetooth signal is weak. Are you close enough to the device?

My own personal system also uses Rover 40A and BT-1 module and it works without any issue.

deltaprise commented 1 year ago

It was the weak bluetooth signal, thanks