cyrils / renogy-bt

Python library to read Renogy compatible BT-1 or BT-2 bluetooth modules
GNU General Public License v3.0
94 stars 39 forks source link

ERROR:root:base client cannot be used directly #48

Closed riker65 closed 1 year ago

riker65 commented 1 year ago

Hi I am runnng into the error

ERROR:root:base client cannot be used directly ` INFO:root:[E0:7D:EA:83:xx:xx] Resolved services

INFO:root:subscribed to notification 0000fff1-0000-1000-8000-00805f9b34fb INFO:root:found write characteristic 0000ffd1-0000-1000-8000-00805f9b34fb INFO:root:resolved services

ERROR:root:base client cannot be used directly

INFO:root:characteristic_enable_notifications_succeeded `

any root cause known?

what am I missing

thanks a lot

cyrils commented 1 year ago

Your config.ini is probably messed up. Can you upload it here?

riker65 commented 1 year ago

Hi

please see here.

which options are available for tYPE? Having rover llite RCC40

Thanks for your help

`[device] adapter = hci0 mac_addr = E0:7D:EA:83:F7:XX alias = BT-TH-EA83F7xx type = RNG_CTRL device_id = 17

check

[data]

enable_polling = false poll_interval = 60 temperature_unit = C fields =

[remote_logging] enabled = false url = https://example.com/post.php auth_header = auth_header

[mqtt] enabled = true server = 192.168.x.7 port = 1883 topic = renogy/RCC40/ble/state user = MQTT password =xxx

[pvoutput]

free accounts has a cap of max one request per minute.

enabled = false api_key = system_id =`

riker65 commented 1 year ago

Hi looks like device was frozen, after repowering the renogy it worked.

thanks a lot