Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JK BMS 0 uptime and 0 mos temperature #157

Closed
holywen opened this issue Nov 2, 2023 · 4 comments
Closed

JK BMS 0 uptime and 0 mos temperature #157

holywen opened this issue Nov 2, 2023 · 4 comments

Comments

@holywen
Copy link

holywen commented Nov 2, 2023

Describe the issue here.
uptime is 0, and mos temperature is also 0

JK_B2A2077128

See screenshot and logs:

image
Paste log output between BEGIN and END:
BEGIN 
13:53 INFO [sampling] jk1: BmsSampl(100.0%,U=54.9V,I=0.00A,P=0W,Q=309.0Ah/309,**mos=0.0°C**)
15:13:53 INFO [sampling] jk1 volt=[3456,3445,3456,3429,3456,3457,3435,3457,3337,3435,3457,3392,3394,3409,3458,3457] temp=[31.9, 31.1]
15:13:55 INFO [sampling] JKBt(C8:47:8C:ED:14:8A,jk1) times: connect=1.97s fetch=0.59s
END
@fl4p
Copy link
Owner

fl4p commented Nov 2, 2023

Uptime zero will work with the next update. Not sure about the mos temp. Can you enable verbose_log and post the add-on logs here? It should contain some hex encoded binary data

@holywen
Copy link
Author

holywen commented Nov 10, 2023

22:26:56 DEBUG [client] Sending PUBLISH (d0, q0, r0, m528), 'b'jk1/temperatures/2'', ... (4 bytes)
22:26:56 INFO [sampling] jk1 volt=[3250,3247,3248,3246,3247,3252,3252,3250,3247,3252,3244,3247,3248,3247,3253,3252] temp=[32.7, 32.5]
22:26:56 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Notifying': <dbus_next.signature.Variant ('b', False)>}, []]
22:26:56 DEBUG [client] Disconnecting (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:26:58 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A): ['org.bluez.Device1', {'ServicesResolved': <dbus_next.signature.Variant ('b', False)>}, []]
22:26:58 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A): ['org.bluez.Device1', {'Connected': <dbus_next.signature.Variant ('b', False)>}, []]
22:26:58 DEBUG [client] Device disconnected (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:26:58 DEBUG [client] _remove_signal_handlers(/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:26:58 DEBUG [client] _disconnect_message_bus(/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:26:58 INFO [sampling] JKBt(C8:47:8C:ED:14:8A,jk1) times: connect=3.37s fetch=0.63s
22:27:03 INFO [sampling] connecting bms JKBt(C8:47:8C:ED:14:8A,jk1)
22:27:03 INFO [bt] connecting jk1 (C8:47:8C:ED:14:8A) adapter=None
22:27:03 DEBUG [client] Connecting to device @ C8:47:8C:ED:14:8A with hci0
22:27:04 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A): ['org.bluez.Device1', {'Connected': <dbus_next.signature.Variant ('b', True)>}, []]
22:27:04 DEBUG [client] Connection successful (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:27:04 DEBUG [client] Waiting for ServicesResolved (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:27:04 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A): ['org.bluez.Device1', {'ServicesResolved': <dbus_next.signature.Variant ('b', True)>}, []]
22:27:04 INFO [bt] [Service] f000ffc0-0451-4000-b000-000000000000 (Handle: 43): Unknown
22:27:04 INFO [bt] 	[Characteristic] f000ffc2-0451-4000-b000-000000000000 (Handle: 48): Unknown (write-without-response,write,notify), Value: None
22:27:04 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char0030/desc0033): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'Img Block\x00')>}, []]
22:27:04 DEBUG [client] Read Descriptor 51 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char0030/desc0033: bytearray(b'Img Block\x00')
22:27:04 INFO [bt] 		[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 51): Characteristic User Description) | Value: b'Img Block\x00'
22:27:04 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char0030/desc0032): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00')>}, []]
22:27:04 DEBUG [client] Read Descriptor 50 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char0030/desc0032: bytearray(b'\x00\x00')
22:27:04 INFO [bt] 		[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 50): Client Characteristic Configuration) | Value: b'\x00\x00'
22:27:04 INFO [bt] 	[Characteristic] f000ffc1-0451-4000-b000-000000000000 (Handle: 44): Unknown (write-without-response,write,notify), Value: None
22:27:04 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char002c/desc002f): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'Img Identify\x00')>}, []]
22:27:05 DEBUG [client] Read Descriptor 47 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char002c/desc002f: bytearray(b'Img Identify\x00')
22:27:05 INFO [bt] 		[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 47): Characteristic User Description) | Value: b'Img Identify\x00'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char002c/desc002e): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00')>}, []]
22:27:05 DEBUG [client] Read Descriptor 46 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service002b/char002c/desc002e: bytearray(b'\x00\x00')
22:27:05 INFO [bt] 		[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 46): Client Characteristic Configuration) | Value: b'\x00\x00'
22:27:05 INFO [bt] [Service] 0000180f-0000-1000-8000-00805f9b34fb (Handle: 39): Battery Service
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0027/char0028): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a19-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0027/char0028: bytearray(b'\x00')
22:27:05 INFO [bt] 	[Characteristic] 00002a19-0000-1000-8000-00805f9b34fb (Handle: 40): Battery Level (read,notify), Value: b'\x00'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0027/char0028/desc002a): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'\x01\x00')>}, []]
22:27:05 DEBUG [client] Read Descriptor 42 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0027/char0028/desc002a: bytearray(b'\x01\x00')
22:27:05 INFO [bt] 		[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 42): Client Characteristic Configuration) | Value: b'\x01\x00'
22:27:05 INFO [bt] [Service] 0000180a-0000-1000-8000-00805f9b34fb (Handle: 20): Device Information
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0025): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x02^\x04@\x00\x00\x03')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a50-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0025: bytearray(b'\x02^\x04@\x00\x00\x03')
22:27:05 INFO [bt] 	[Characteristic] 00002a50-0000-1000-8000-00805f9b34fb (Handle: 37): PnP ID (read), Value: b'\x02^\x04@\x00\x00\x03'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0023): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\xff\xee\xdd\xcc\xbb\xaa')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a2a-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0023: bytearray(b'\xff\xee\xdd\xcc\xbb\xaa')
22:27:05 INFO [bt] 	[Characteristic] 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 35): IEEE 11073-20601 Regulatory Cert. Data List (read), Value: b'\xff\xee\xdd\xcc\xbb\xaa'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0021): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x124V\xff\xfe\x9a\xbc\xde')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a23-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0021: bytearray(b'\x124V\xff\xfe\x9a\xbc\xde')
22:27:05 INFO [bt] 	[Characteristic] 00002a23-0000-1000-8000-00805f9b34fb (Handle: 33): System ID (read), Value: b'\x124V\xff\xfe\x9a\xbc\xde'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char001f): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'6.3.0')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a28-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char001f: bytearray(b'6.3.0')
22:27:05 INFO [bt] 	[Characteristic] 00002a28-0000-1000-8000-00805f9b34fb (Handle: 31): Software Revision String (read), Value: b'6.3.0'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char001d): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'6.1.2')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a26-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char001d: bytearray(b'6.1.2')
22:27:05 INFO [bt] 	[Characteristic] 00002a26-0000-1000-8000-00805f9b34fb (Handle: 29): Firmware Revision String (read), Value: b'6.1.2'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char001b): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'1.0.0')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a27-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char001b: bytearray(b'1.0.0')
22:27:05 INFO [bt] 	[Characteristic] 00002a27-0000-1000-8000-00805f9b34fb (Handle: 27): Hardware Revision String (read), Value: b'1.0.0'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0019): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'1.0.0.0-LE')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a25-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0019: bytearray(b'1.0.0.0-LE')
22:27:05 INFO [bt] 	[Characteristic] 00002a25-0000-1000-8000-00805f9b34fb (Handle: 25): Serial Number String (read), Value: b'1.0.0.0-LE'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0017): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'BK-BLE-1.0')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a24-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0017: bytearray(b'BK-BLE-1.0')
22:27:05 INFO [bt] 	[Characteristic] 00002a24-0000-1000-8000-00805f9b34fb (Handle: 23): Model Number String (read), Value: b'BK-BLE-1.0'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0015): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'BEKEN SAS')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a29-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service0014/char0015: bytearray(b'BEKEN SAS')
22:27:05 INFO [bt] 	[Characteristic] 00002a29-0000-1000-8000-00805f9b34fb (Handle: 21): Manufacturer Name String (read), Value: b'BEKEN SAS'
22:27:05 INFO [bt] [Service] 0000ffe0-0000-1000-8000-00805f9b34fb (Handle: 14): Vendor specific
22:27:05 INFO [bt] 	[Characteristic] 0000ffe1-0000-1000-8000-00805f9b34fb (Handle: 17): Vendor specific (write-without-response,write,notify), Value: None
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011/desc0013): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00')>}, []]
22:27:05 DEBUG [client] Read Descriptor 19 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011/desc0013: bytearray(b'\x00\x00')
22:27:05 INFO [bt] 		[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 19): Client Characteristic Configuration) | Value: b'\x00\x00'
22:27:05 INFO [bt] 	[Characteristic] 0000ffe2-0000-1000-8000-00805f9b34fb (Handle: 15): Vendor specific (write-without-response), Value: None
22:27:05 INFO [bt] [Service] 00001801-0000-1000-8000-00805f9b34fb (Handle: 10): Generic Attribute Profile
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000a/char000b): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x01\x00\xff\xff')>}, []]
22:27:05 DEBUG [client] Read Characteristic 00002a05-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000a/char000b: bytearray(b'\x01\x00\xff\xff')
22:27:05 INFO [bt] 	[Characteristic] 00002a05-0000-1000-8000-00805f9b34fb (Handle: 11): Service Changed (read,indicate), Value: b'\x01\x00\xff\xff'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000a/char000b/desc000d): ['org.bluez.GattDescriptor1', {'Value': <dbus_next.signature.Variant ('ay', b'\x02\x00')>}, []]
22:27:05 DEBUG [client] Read Descriptor 13 | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000a/char000b/desc000d: bytearray(b'\x02\x00')
22:27:05 INFO [bt] 		[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 13): Client Characteristic Configuration) | Value: b'\x02\x00'
22:27:05 DEBUG [jikong] char_handle_notify=0000ffe1-0000-1000-8000-00805f9b34fb (Handle: 17): Vendor specific, char_handle_write=0000ffe1-0000-1000-8000-00805f9b34fb (Handle: 17): Vendor specific
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Notifying': <dbus_next.signature.Variant ('b', True)>}, []]
22:27:05 DEBUG [jikong] write b'\xaaU\x90\xeb\x97\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11'
22:27:05 DEBUG [client] Write Characteristic 0000ffe1-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011: b'\xaaU\x90\xeb\x97\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11'
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'U\xaa\xeb\x90\x03yJK_B2A20S20P\x00\x00\x00\x0011.XW\x00\x00\x0011.26\x00\x00\x004t9\x00\x03\x00\x00\x00JK_B2A2077128\x00\x00\x00781110\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00230928\x00\x003010545148\x000000\x00Input Userdata\x00\x00781110\x00\x00\x00\x00')>}, []]
22:27:05 DEBUG [jikong] header, clear buf bytearray(b'')
22:27:05 DEBUG [jikong] bms msg(128) (buf128): 55 aa eb 90 3 79 4a 4b 5f 42 32 41 32 30 53 32 30 50 0 0 0 0 31 31 2e 58 57 0 0 0 31 31 2e 32 36 0 0 0 34 74 39 0 3 0 0 0 4a 4b 5f 42 32 41 32 30 37 37 31 32 38 0 0 0 37 38 31 31 31 30 0 0 0 0 0 0 0 0 0 0 32 33 30 39 32 38 0 0 33 30 31 30 35 34 35 31 34 38 0 30 30 30 30 0 49 6e 70 75 74 20 55 73 65 72 64 61 74 61 0 0 37 38 31 31 31 30 0 0 0 0

22:27:05 DEBUG [client] Sending PINGREQ
22:27:05 DEBUG [client] Received PINGRESP
22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x00\x00\x00\x00Input Userdata\x00\x00')>}, []]
22:27:05 DEBUG [jikong] bms msg(22) (buf150): 0 0 0 0 0 0 49 6e 70 75 74 20 55 73 65 72 64 61 74 61 0 0

22:27:05 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'|\xf8\xff\xff\x1f\r\x00\x00\x00\x00\x00\x00\x90\x0f\x00\x00\x00\x00\xc0\xd8\x03\x00\x00\x00\x00\x01\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\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\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\x00\x00\x00\x00\x00\x00')>}, []]
22:27:05 DEBUG [jikong] bms msg(128) (buf278): 7c f8 ff ff 1f d 0 0 0 0 0 0 90 f 0 0 0 0 c0 d8 3 0 0 0 0 1 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 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 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 0 0 0 0 0 0

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00H')>}, []]
22:27:06 DEBUG [jikong] bms msg(22) (buf300): 0 0 0 0 0 0 0 0 0 fe f 0 0 0 0 0 0 0 0 0 0 48

22:27:06 DEBUG [jikong] got response 3 (len300)
22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\xaaU\x90\xeb\xc8\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00D')>}, []]
22:27:06 DEBUG [jikong] bms msg(20) (buf20): aa 55 90 eb c8 1 1 0 0 0 0 0 0 0 0 0 0 0 0 44

22:27:06 DEBUG [jikong] write b'\xaaU\x90\xeb\x96\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10'
22:27:06 DEBUG [client] Write Characteristic 0000ffe1-0000-1000-8000-00805f9b34fb | /org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011: b'\xaaU\x90\xeb\x96\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10'
22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'U\xaa\xeb\x90\x01yX\x02\x00\x00(\n\x00\x00Z\n\x00\x00\x10\x0e\x00\x00\xde\r\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc4\t\x00\x00`\xea\x00\x00\x1e\x00\x00\x00<\x00\x00\x00@\r\x03\x00,\x01\x00\x00<\x00\x00\x00<\x00\x00\x00\xd0\x07\x00\x00\xbc\x02\x00\x00X\x02\x00\x00\xbc\x02\x00\x00X\x02\x00\x008\xff\xff\xff\x9c\xff\xff\xff\xe8\x03\x00\x00 \x03\x00\x00\x10\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00')>}, []]
22:27:06 DEBUG [jikong] header, clear buf bytearray(b'\xaaU\x90\xeb\xc8\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00D')
22:27:06 DEBUG [jikong] bms msg(128) (buf128): 55 aa eb 90 1 79 58 2 0 0 28 a 0 0 5a a 0 0 10 e 0 0 de d 0 0 a 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 c4 9 0 0 60 ea 0 0 1e 0 0 0 3c 0 0 0 40 d 3 0 2c 1 0 0 3c 0 0 0 3c 0 0 0 d0 7 0 0 bc 2 0 0 58 2 0 0 bc 2 0 0 58 2 0 0 38 ff ff ff 9c ff ff ff e8 3 0 0 20 3 0 0 10 0 0 0 1 0 0 0 1 0 0 0 1 0

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x08\xb7\x04\x00\xdc\x05\x00\x00\xb8\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')>}, []]
22:27:06 DEBUG [jikong] bms msg(22) (buf150): 0 0 8 b7 4 0 dc 5 0 0 b8 b 0 0 0 0 0 0 0 0 0 0

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\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\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\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\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')>}, []]
22:27:06 DEBUG [jikong] bms msg(128) (buf278): 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 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 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 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

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\xb0q\x0b\x00\x00\x00\x00\x00\x00|\xf8\xff\xff\x1f\r\x00\x00\x00\x00\x00\x00\x84')>}, []]
22:27:06 DEBUG [jikong] bms msg(22) (buf300): b0 71 b 0 0 0 0 0 0 7c f8 ff ff 1f d 0 0 0 0 0 0 84

22:27:06 DEBUG [jikong] got response 1 (len300)
22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\xaaU\x90\xeb\xc8\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00D')>}, []]
22:27:06 DEBUG [jikong] bms msg(20) (buf20): aa 55 90 eb c8 1 1 0 0 0 0 0 0 0 0 0 0 0 0 44

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'U\xaa\xeb\x90\x02y\xb4\x0c\xb2\x0c\xb0\x0c\xae\x0c\xac\x0c\xb1\x0c\xb1\x0c\xb0\x0c\xb0\x0c\xb4\x0c\xb1\x0c\xb0\x0c\xaf\x0c\xaf\x0c\xb5\x0c\xb2\x0c\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\xb1\x0c\x0c\x00\t\x0c6\x006\x009\x009\x005\x005\x004\x004\x004\x005\x005\x005\x005\x005\x005\x005\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')>}, []]
22:27:06 DEBUG [jikong] header, clear buf bytearray(b'\xaaU\x90\xeb\xc8\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00D')
22:27:06 DEBUG [jikong] bms msg(128) (buf128): 55 aa eb 90 2 79 b4 c b2 c b0 c ae c ac c b1 c b1 c b0 c b0 c b4 c b1 c b0 c af c af c b5 c b2 c 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 b1 c c 0 9 c 36 0 36 0 39 0 39 0 35 0 35 0 34 0 34 0 34 0 35 0 35 0 35 0 35 0 35 0 35 0 35 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00V\x01\x00\x00\x00\x00')>}, []]
22:27:06 DEBUG [jikong] bms msg(22) (buf150): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 1 0 0 0 0

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x0e\xcb\x00\x00\xae\x9f\t\x00\x9b\xd0\xff\xffG\x01E\x01\x00\x00\x00\x00\xce\x07\x0177\x98\x02\x00\x08\xb7\x04\x00\x0e\x00\x00\x00!\x05F\x00d\x00\x00\x00.u9\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x01\x00\x00\x00\x16\x04\x00\x00:\x00u\xe3>@\x00\x008\x01N\x14\x11\x1e\x00\x01\x00\x01\x00\x05\x00\x00O\xf7\xa6\x01\x00\x00\x00\x00V\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')>}, []]
22:27:06 DEBUG [jikong] bms msg(128) (buf278): e cb 0 0 ae 9f 9 0 9b d0 ff ff 47 1 45 1 0 0 0 0 ce 7 1 37 37 98 2 0 8 b7 4 0 e 0 0 0 21 5 46 0 64 0 0 0 2e 75 39 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff 0 1 0 0 0 16 4 0 0 3a 0 75 e3 3e 40 0 0 38 1 4e 14 11 1e 0 1 0 1 0 5 0 0 4f f7 a6 1 0 0 0 0 56 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

22:27:06 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc\x0f\x01\x00\x00\x00\x00\x00\x00u')>}, []]
22:27:06 DEBUG [jikong] bms msg(22) (buf300): 0 0 0 0 0 0 0 0 0 fe ff 7f dc f 1 0 0 0 0 0 0 75

22:27:06 DEBUG [jikong] got response 2 (len300)
22:27:06 INFO [sampling] connected bms JKBt(C8:47:8C:ED:14:8A,jk1)!

pi@raspberrypi3:~/batmon-ha $ 22:27:07 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'U\xaa\xeb\x90\x02z\xb2\x0c\xb0\x0c\xaf\x0c\xaf\x0c\xae\x0c\xb4\x0c\xb4\x0c\xb2\x0c\xa6\x0c\xb2\x0c\xaf\x0c\xb1\x0c\xb1\x0c\xaf\x0c\xb5\x0c\xb2\x0c\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\xb1\x0c\x0f\x00\x0e\x086\x006\x009\x009\x005\x005\x004\x004\x004\x005\x005\x005\x005\x005\x005\x005\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')>}, []]
22:27:07 DEBUG [jikong] header, clear buf bytearray(b'')
22:27:07 DEBUG [jikong] bms msg(128) (buf128): 55 aa eb 90 2 7a b2 c b0 c af c af c ae c b4 c b4 c b2 c a6 c b2 c af c b1 c b1 c af c b5 c b2 c 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 b1 c f 0 e 8 36 0 36 0 39 0 39 0 35 0 35 0 34 0 34 0 34 0 35 0 35 0 35 0 35 0 35 0 35 0 35 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


pi@raspberrypi3:~/batmon-ha $ 22:27:07 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00V\x01\x00\x00\x00\x00')>}, []]
22:27:07 DEBUG [jikong] bms msg(22) (buf150): 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 56 1 0 0 0 0

22:27:07 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x0e\xcb\x00\x00\xae\x9f\t\x00\x9b\xd0\xff\xffG\x01E\x01\x00\x00\x00\x00\xa8\x07\x0175\x98\x02\x00\x08\xb7\x04\x00\x0e\x00\x00\x00#\x05F\x00d\x00\x00\x00.u9\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x01\x00\x00\x00\x16\x04\x00\x00:\x00u\xe3>@\x00\x008\x01N\x14\x11\x1e\x00\x01\x00\x01\x00\x05\x00\x00T\xf7\xa6\x01\x00\x00\x00\x00V\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')>}, []]
22:27:07 DEBUG [jikong] bms msg(128) (buf278): e cb 0 0 ae 9f 9 0 9b d0 ff ff 47 1 45 1 0 0 0 0 a8 7 1 37 35 98 2 0 8 b7 4 0 e 0 0 0 23 5 46 0 64 0 0 0 2e 75 39 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ff 0 1 0 0 0 16 4 0 0 3a 0 75 e3 3e 40 0 0 38 1 4e 14 11 1e 0 1 0 1 0 5 0 0 54 f7 a6 1 0 0 0 0 56 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

22:27:07 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Value': <dbus_next.signature.Variant ('ay', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc\x0f\x01\x00\x00\x00\x00\x00\x00T')>}, []]
22:27:07 DEBUG [jikong] bms msg(22) (buf300): 0 0 0 0 0 0 0 0 0 fe ff 7f dc f 1 0 0 0 0 0 0 54

22:27:07 DEBUG [jikong] got response 2 (len300)
22:27:07 DEBUG [jikong] New 11.x firmware, offset=32
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m529), 'b'jk1/soc/total_voltage'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m530), 'b'jk1/soc/current'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m531), 'b'jk1/soc/balance_current'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m532), 'b'jk1/soc/soc_percent'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m533), 'b'jk1/soc/power'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m534), 'b'jk1/soc/capacity'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m535), 'b'jk1/soc/cycle_capacity'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m536), 'b'jk1/soc/num_cycles'', ... (2 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m537), 'b'jk1/mosfet_status/capacity_ah'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m538), 'b'jk1/mosfet_status/temperature'', ... (3 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m539), 'b'jk1/bms/uptime'', ... (3 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m540), 'b'jk1/meter/sample_count'', ... (2 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m541), 'b'jk1/switch/charge'', ... (2 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m542), 'b'jk1/switch/discharge'', ... (2 bytes)
22:27:07 INFO [sampling] jk1: BmsSampl(55.0%,U=52.0V,I=-12.03A,P=-625W,Q=170.0Ah/309,mos=0.0°C)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m543), 'b'jk1/meter/total_charge'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m544), 'b'jk1/meter/total_energy'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m545), 'b'jk1/meter/total_energy_discharge'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m546), 'b'jk1/meter/total_energy_charge'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m547), 'b'jk1/meter/total_cycles'', ... (6 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m548), 'b'jk1/meter/total_abs_diff_charge'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m549), 'b'jk1/cell_voltages/1'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m550), 'b'jk1/cell_voltages/2'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m551), 'b'jk1/cell_voltages/3'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m552), 'b'jk1/cell_voltages/4'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m553), 'b'jk1/cell_voltages/5'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m554), 'b'jk1/cell_voltages/6'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m555), 'b'jk1/cell_voltages/7'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m556), 'b'jk1/cell_voltages/8'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m557), 'b'jk1/cell_voltages/9'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m558), 'b'jk1/cell_voltages/10'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m559), 'b'jk1/cell_voltages/11'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m560), 'b'jk1/cell_voltages/12'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m561), 'b'jk1/cell_voltages/13'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m562), 'b'jk1/cell_voltages/14'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m563), 'b'jk1/cell_voltages/15'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m564), 'b'jk1/cell_voltages/16'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m565), 'b'jk1/cell_voltages/min'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m566), 'b'jk1/cell_voltages/min_index'', ... (1 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m567), 'b'jk1/cell_voltages/max'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m568), 'b'jk1/cell_voltages/max_index'', ... (2 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m569), 'b'jk1/cell_voltages/delta'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m570), 'b'jk1/cell_voltages/average'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m571), 'b'jk1/cell_voltages/median'', ... (5 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m572), 'b'jk1/temperatures/1'', ... (4 bytes)
22:27:07 DEBUG [client] Sending PUBLISH (d0, q0, r0, m573), 'b'jk1/temperatures/2'', ... (4 bytes)
22:27:07 INFO [sampling] jk1 volt=[3250,3248,3247,3247,3246,3252,3252,3250,3238,3250,3247,3249,3249,3247,3253,3250] temp=[32.7, 32.5]
22:27:07 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A/service000e/char0011): ['org.bluez.GattCharacteristic1', {'Notifying': <dbus_next.signature.Variant ('b', False)>}, []]
22:27:07 DEBUG [client] Disconnecting (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)

pi@raspberrypi3:~/batmon-ha $
pi@raspberrypi3:~/batmon-ha $
pi@raspberrypi3:~/batmon-ha $
pi@raspberrypi3:~/batmon-ha $
pi@raspberrypi3:~/batmon-ha $
pi@raspberrypi3:~/batmon-ha $ 22:27:09 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A): ['org.bluez.Device1', {'ServicesResolved': <dbus_next.signature.Variant ('b', False)>}, []]
22:27:09 DEBUG [client] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A): ['org.bluez.Device1', {'Connected': <dbus_next.signature.Variant ('b', False)>}, []]
22:27:09 DEBUG [client] Device disconnected (/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:27:09 DEBUG [client] _remove_signal_handlers(/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:27:09 DEBUG [client] _disconnect_message_bus(/org/bluez/hci0/dev_C8_47_8C_ED_14_8A)
22:27:09 INFO [sampling] JKBt(C8:47:8C:ED:14:8A,jk1) times: connect=2.92s fetch=0.63s

@fl4p
Copy link
Owner

fl4p commented Nov 26, 2023

thanks,
80f654b fixes this.
will be in the next update.
please re-open if needed

@fl4p fl4p closed this as completed Nov 26, 2023
@holywen
Copy link
Author

holywen commented Dec 15, 2023

It works now, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants