batmon-ha icon indicating copy to clipboard operation
batmon-ha copied to clipboard

Missing SOC and Temp info. Voltages are fine

Open aletmp opened this issue 1 year ago • 19 comments

Using JK BMS with MQTT and bluetooth. It was working fine, no issues, but in the last few weeks I cannot get the all the info. I'm missing SOC and Temps. Tried to restore backups in HA but still the problem persist. I tried different configurations and made no effect. I have no clue what the issue could be. This is from MQTT Explorer:

core-mosquitto.local.hass.io $SYS brokerBateria_LIFEPO4 soc total_voltage = 0.0 current = 0.0 balance_current = 0.0 soc_percent = 0 power = 0.0 capacity = 0.0 cycle_capacity = 357.48 num_cycles = 53555 mosfet_status capacity_ah = 11534 temperature = 0.0 bms uptime = 11141290 meter sample_count = 531 total_charge = -216.6 total_energy = -27.09 total_energy_discharge = 587.2 total_energy_charge = 614.3 total_cycles = 35.74 total_abs_diff_charge = 21750.0 switch cell_voltages 1 = 3.348 2 = 3.348 3 = 3.348 4 = 3.344 5 = 3.346 6 = 3.346 7 = 3.346 8 = 3.346 9 = 3.344 10 = 3.347 11 = 3.349 12 = 3.346 13 = 3.348 14 = 3.347 15 = 3.347 16 = 3.346 min = 3.344 min_index = 4 max = 3.349 max_index = 11 delta = 0.005 average = 3.347 median = 3.3465 temperatures 1 = 0.0 2 = 0.0


BEGIN

09:38:37 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_59_31_42_5A_5F_FB): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -80)>}, []] 09:38:37 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x00\x00'))>}, []] 09:38:37 DEBUG [jikong] bms msg(22) (buf150): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b0 0 0 0 0 0

09:38:37 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_5C_47_57_5A_16_9F): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -68)>}, []] 09:38:37 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'&\xd1\x00\x00\x10\x94\x03\x00\x1c\x11\x00\x00\xaa\x00\xaa\x00\x00\x00\x00\x00\x00\x00\x00D\xa8(\x03\x00\x80\xa3\x04\x00:\x00\x00\x00\x14\x95\x0f\x01d\x00\x00\x00$\xe8\xe1\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x01\x00\x00\x00\x13\x04\x15\x00\x00\x00\x8d\xfd@@\x00\x00\x00\x00\xea\x14\x00\x00\x00\x01\x00\x01\x00\x05\x00\x00p\xcb0\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))>}, []] 09:38:37 DEBUG [jikong] bms msg(128) (buf278): 26 d1 0 0 10 94 3 0 1c 11 0 0 aa 0 aa 0 0 0 0 0 0 0 0 44 a8 28 3 0 80 a3 4 0 3a 0 0 0 14 95 f 1 64 0 0 0 24 e8 e1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff 0 1 0 0 0 13 4 15 0 0 0 8d fd 40 40 0 0 0 0 ea 14 0 0 0 1 0 1 0 5 0 0 70 cb 30 0 0 0 0 0 b0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

09:38:37 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc/\x01\x01\x01\x00\x00\x00\x00\x8a'))>}, []] 09:38:37 DEBUG [jikong] bms msg(22) (buf300): 0 0 0 0 0 0 0 0 0 fe ff 7f dc 2f 1 1 1 0 0 0 0 8a

09:38:37 DEBUG [jikong] got response 2 (len300) 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_59_31_42_5A_5F_FB): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -68)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_59_31_42_5A_5F_FB): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -69)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'U\xaa\xeb\x90\x02f\x13\r\x12\r\x12\r\x0f\r\x12\r\x14\r\x13\r\x12\r\x12\r\x12\r\x15\r\x13\r\x15\r\x14\r\x13\r\x13\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x12\r\x05\x00\x05\x0f>\x005\x005\x005\x005\x006\x003\x003\x003\x003\x003\x003\x003\x004\x004\x003\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))>}, []] 09:38:38 DEBUG [jikong] header, clear buf bytearray(b'') 09:38:38 DEBUG [jikong] bms msg(128) (buf128): 55 aa eb 90 2 66 13 d 12 d 12 d f d 12 d 14 d 13 d 12 d 12 d 12 d 15 d 13 d 15 d 14 d 13 d 13 d 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff ff 0 0 12 d 5 0 5 f 3e 0 35 0 35 0 35 0 35 0 36 0 33 0 33 0 33 0 33 0 33 0 33 0 33 0 34 0 34 0 33 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_5C_47_57_5A_16_9F): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -69)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x00\x00'))>}, []] 09:38:38 DEBUG [jikong] bms msg(22) (buf150): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b0 0 0 0 0 0

09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'%\xd1\x00\x00\x0b\x94\x03\x00\x1c\x11\x00\x00\xaa\x00\xaa\x00\x00\x00\x00\x00\x00\x00\x00D\xa8(\x03\x00\x80\xa3\x04\x00:\x00\x00\x00\x14\x95\x0f\x01d\x00\x00\x00%\xe8\xe1\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x01\x00\x00\x00\x13\x04\x15\x00\x00\x00\x8d\xfd@@\x00\x00\x00\x00\xea\x14\x00\x00\x00\x01\x00\x01\x00\x05\x00\x00u\xcb0\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))>}, []] 09:38:38 DEBUG [jikong] bms msg(128) (buf278): 25 d1 0 0 b 94 3 0 1c 11 0 0 aa 0 aa 0 0 0 0 0 0 0 0 44 a8 28 3 0 80 a3 4 0 3a 0 0 0 14 95 f 1 64 0 0 0 25 e8 e1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff 0 1 0 0 0 13 4 15 0 0 0 8d fd 40 40 0 0 0 0 ea 14 0 0 0 1 0 1 0 5 0 0 75 cb 30 0 0 0 0 0 b0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc/\x01\x01\x01\x00\x00\x00\x00\x8f'))>}, []] 09:38:38 DEBUG [jikong] bms msg(22) (buf300): 0 0 0 0 0 0 0 0 0 fe ff 7f dc 2f 1 1 1 0 0 0 0 8f

09:38:38 DEBUG [jikong] got response 2 (len300) 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_59_31_42_5A_5F_FB): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -69)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_78_BD_BC_73_FB_D3): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -56)>}, []] 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/soc/total_voltage data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/soc/current data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/soc/balance_current data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/soc/soc_percent data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/soc/power data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/soc/capacity data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6481), 'b'Bateria_LIFEPO4/soc/cycle_capacity'', ... (6 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6482), 'b'Bateria_LIFEPO4/soc/num_cycles'', ... (5 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/mosfet_status/capacity_ah data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/mosfet_status/temperature data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/bms/uptime data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6483), 'b'Bateria_LIFEPO4/meter/sample_count'', ... (3 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/switch/charge data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/switch/discharge data not changed 09:38:38 INFO [sampling] Bateria_LIFEPO4: BmsSampl(0.0%,U=0.0V,I=0.00A,P=0W,Q=11534/0Ah,mos=0°C) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/1 data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6484), 'b'Bateria_LIFEPO4/cell_voltages/2'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6485), 'b'Bateria_LIFEPO4/cell_voltages/3'', ... (5 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/4 data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6486), 'b'Bateria_LIFEPO4/cell_voltages/5'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6487), 'b'Bateria_LIFEPO4/cell_voltages/6'', ... (5 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/7 data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6488), 'b'Bateria_LIFEPO4/cell_voltages/8'', ... (5 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/9 data not changed 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/10 data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6489), 'b'Bateria_LIFEPO4/cell_voltages/11'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6490), 'b'Bateria_LIFEPO4/cell_voltages/12'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6491), 'b'Bateria_LIFEPO4/cell_voltages/13'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6492), 'b'Bateria_LIFEPO4/cell_voltages/14'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6493), 'b'Bateria_LIFEPO4/cell_voltages/15'', ... (5 bytes) 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6494), 'b'Bateria_LIFEPO4/cell_voltages/16'', ... (5 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/min data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6495), 'b'Bateria_LIFEPO4/cell_voltages/min_index'', ... (1 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/max data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6496), 'b'Bateria_LIFEPO4/cell_voltages/max_index'', ... (2 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/delta data not changed 09:38:38 DEBUG [client] Sending PUBLISH (d0, q0, r0, m6497), 'b'Bateria_LIFEPO4/cell_voltages/average'', ... (5 bytes) 09:38:38 DEBUG [mqtt_util] topic Bateria_LIFEPO4/cell_voltages/median data not changed 09:38:38 INFO [sampling] Bateria_LIFEPO4 volt=[3347,3346,3346,3343,3346,3348,3347,3346,3346,3346,3349,3347,3349,3348,3347,3347] temp=[0.0, 0.0] 09:38:38 INFO [sampling] JKBt(C8:47:8C:EE:B6:D7,Bateria_LIFEPO4) times: connect=0.00s fetch=0.15s 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_5C_47_57_5A_16_9F): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -70)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_78_BD_BC_73_FB_D3): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -52)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_59_31_42_5A_5F_FB): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -75)>}, []] 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'U\xaa\xeb\x90\x02g\x13\r\x12\r\x13\r\x10\r\x12\r\x14\r\x13\r\x12\r\x12\r\x13\r\x15\r\x12\r\x14\r\x13\r\x13\r\x10\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x12\r\x05\x00\x05\x0f>\x005\x005\x005\x005\x006\x003\x003\x003\x003\x003\x003\x003\x004\x004\x003\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))>}, []] 09:38:38 DEBUG [jikong] header, clear buf bytearray(b'') 09:38:38 DEBUG [jikong] bms msg(128) (buf128): 55 aa eb 90 2 67 13 d 12 d 13 d 10 d 12 d 14 d 13 d 12 d 12 d 13 d 15 d 12 d 14 d 13 d 13 d 10 d 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff ff 0 0 12 d 5 0 5 f 3e 0 35 0 35 0 35 0 35 0 36 0 33 0 33 0 33 0 33 0 33 0 33 0 33 0 34 0 34 0 33 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x00\x00'))>}, []] 09:38:38 DEBUG [jikong] bms msg(22) (buf150): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b0 0 0 0 0 0

09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'"\xd1\x00\x00\x00\x94\x03\x00\x1c\x11\x00\x00\xaa\x00\xaa\x00\x00\x00\x00\x00\x00\x00\x00D\xa9(\x03\x00\x80\xa3\x04\x00:\x00\x00\x00\x14\x95\x0f\x01d\x00\x00\x00%\xe8\xe1\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x01\x00\x00\x00\x13\x04\x15\x00\x00\x00\x8d\xfd@@\x00\x00\x00\x00\xe9\x14\x00\x00\x00\x01\x00\x01\x00\x05\x00\x00{\xcb0\x00\x00\x00\x00\x00\xb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))>}, []] 09:38:38 DEBUG [jikong] bms msg(128) (buf278): 22 d1 0 0 0 94 3 0 1c 11 0 0 aa 0 aa 0 0 0 0 0 0 0 0 44 a9 28 3 0 80 a3 4 0 3a 0 0 0 14 95 f 1 64 0 0 0 25 e8 e1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff 0 1 0 0 0 13 4 15 0 0 0 8d fd 40 40 0 0 0 0 e9 14 0 0 0 1 0 1 0 5 0 0 7b cb 30 0 0 0 0 0 b0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_EE_B6_D7/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_fast.signature.Variant ('ay', bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc/\x01\x01\x01\x00\x00\x00\x00\x85'))>}, []] 09:38:38 DEBUG [jikong] bms msg(22) (buf300): 0 0 0 0 0 0 0 0 0 fe ff 7f dc 2f 1 1 1 0 0 0 0 85

09:38:38 DEBUG [jikong] got response 2 (len300) 09:38:38 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_5C_47_57_5A_16_9F): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -76)>}, []] 09:38:39 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_5C_47_57_5A_16_9F): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -77)>}, []] 09:38:39 DEBUG [manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_78_BD_BC_73_FB_D3): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -56)>}, []]

END

aletmp avatar Jan 02 '24 08:01 aletmp

Same issue for me.

snascime avatar Jan 14 '24 13:01 snascime

Same problem JK_B2A20S20P, 16s 280 Ah No SoC, no temperatures and no Total Battery Voltage

Using esphome-jk-bms no problem.

MQTT_Explorer_2024-01-17_17-05-08

gianfrdp avatar Jan 17 '24 17:01 gianfrdp

Same issue for me. Bluetooth in hasio, debian laptop , jk bms. All ok before december .Now no SOC,no voltaje........

Downgrade??

Thanks

pedrovelaz avatar Jan 23 '24 06:01 pedrovelaz

Downgrade didn't work for me. No idea what the problem is... I'm using Raspberry 3b and also tried with another raspberry 4 with fresh installation and got the same issue straight away

aletmp avatar Jan 23 '24 06:01 aletmp

Same problem for me as well :(

JK

philtechsl avatar Feb 17 '24 23:02 philtechsl

same problem for me too

mikeleord avatar Feb 19 '24 10:02 mikeleord

https://github.com/fl4p/batmon-ha/commit/bd601954b6d05013ebe4741915fd82008f8a95a6 should fix it

fl4p avatar Feb 21 '24 09:02 fl4p

@fl4p for me is working now but at the first moment I was getting errors like this. "paho.mqtt.client' has no attribute 'callbackApi Version", so after reading this page https://www.emqx.com/en/blog/how-to-use-mqtt-in-python I replace the following line and added another one. in main.py file. #mqtt_client = paho.Client(paho.CallbackAPIVersion.VERSION1) => commented client_id = f'python-mqtt-{random.randint(0, 100)}' => added this new line mqtt_client = paho.Client(client_id) => new value for the varibale

After these changes, I can see all values as expected for JK BMS.

snascime avatar Feb 22 '24 02:02 snascime

@snascime update your paho version to 2.0

fl4p avatar Feb 22 '24 05:02 fl4p

bd60195 should fix it

I still have the problem and I don´t know ho to apply this as I am quite new with home assistant :(

Regards

philtechsl avatar Feb 24 '24 18:02 philtechsl

Same problem for me as well :(

JK

Still same problem :(

philtechsl avatar Mar 09 '24 11:03 philtechsl

same issue here on a new install of batmon 3/12/2024 with a JBD bms , temperatures populate intermittently , showing correctly and then unavailable then correct , so on and so on.

crunchtime2k avatar Mar 12 '24 21:03 crunchtime2k

hello do you guys have news?

donulf avatar Mar 21 '24 20:03 donulf

D bms , temperatures populate intermittently

New to Home assistant. I do not know how to apply the suggested fix... but my system is depending on it. @fl4p , your assistant is much appreciated and i'm willing to reward your help if nessecary.....

EricGrosfeld avatar Mar 30 '24 21:03 EricGrosfeld

I can't even make it work. I too would be willing to contribute financially for a solution, not to mention the fact that I have already contributed in the past. However, it seems to me that @fl4p hasn't looked at messages for a while

donulf avatar Mar 31 '24 16:03 donulf

Have anyone found a solution for this issue? I still have the same problem

philtechsl avatar May 02 '24 08:05 philtechsl

I couldn't find any solution yet. I don't really know how to do the workaround suggested, tbh.

alejandropradocabrero avatar May 02 '24 14:05 alejandropradocabrero

I can verify a work around as also mentioned earlier in this trail.

Use the JK BMS app on your phone (I use th android version) to connect to the BMS via bluetooth.

Then go to setting. (Enter password if necessary). Change the battery type to an other profile then the current one, and then change it back to the original profile (in my case lifepo4).

Do not forget to update the parameters like cell count and capacity because these setting are changed to the factory default in the step above.

After this, all setting are again received and visible in home assistant.

Cheers, Eric

EricGrosfeld avatar May 04 '24 14:05 EricGrosfeld

I can verify a work around as also mentioned earlier in this trail.

Use the JK BMS app on your phone (I use th android version) to connect to the BMS via bluetooth.

Then go to setting. (Enter password if necessary). Change the battery type to an other profile then the current one, and then change it back to the original profile (in my case lifepo4).

Do not forget to update the parameters like cell count and capacity because these setting are changed to the factory default in the step above.

After this, all setting are again received and visible in home assistant.

Cheers, Eric

Thanks, It did work

philtechsl avatar May 15 '24 13:05 philtechsl