Replies: 1 comment 1 reply
-
Same situation in my system. Batmon is working with two JBD BMS but integration of Victron smartshunt doesn't work. I also would be happy for some useful hints. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @ALL,
I'm using batmon for my JKBMS with success, it works perfect. Now I added a Smartshunt to my system but batmon can't connect. I enabled GATT in the App, powercycled the shunt, cleared the cache in /var/lib/bluetooth, tried "000000", the actual pin and the Victron encryption key (:D) for pin in options.json but all I get is:
10:43:44 INFO [main] Fetching 1 BMS + 0 virtual + 0 others serially, period=1.00s, keep_alive=True 10:43:44 INFO [sampling] connecting bms SmartShuntBt(D2:D3:AF:4E:BF:2B,smartshunt) 10:43:46 WARNING [victron] error sending keep alive b' N' Traceback (most recent call last): File "/home/visnu/batmon-ha/bmslib/models/victron.py", line 65, in _keep_alive_loop await self.client.write_gatt_char('6597ffff-4bda-4c1e-af4b-551c4cf74769', data, response=False) File "/home/visnu/batmon-ha/venv/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 945, in write_gatt_char assert_reply(reply) File "/home/visnu/batmon-ha/venv/lib/python3.10/site-packages/bleak/backends/bluezdbus/utils.py", line 23, in assert_reply raise BleakDBusError(reply.error_name, reply.body) bleak.exc.BleakDBusError: [org.bluez.Error.NotPermitted] Not paired 10:43:46 ERROR [sampling] SmartShuntBt(D2:D3:AF:4E:BF:2B,smartshunt) device not found, retry in 1 seconds
I also tried to remove the working JKBMS config temporarily but it makes no difference.
Any clues? Is there someone using batmon with the Smartshunt who can help me with firmware version numbers etc? Maybe victron changed the data structures?
Michael
Beta Was this translation helpful? Give feedback.
All reactions