-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
expose heating status/current implements #420 fixes #433 #436
Conversation
@@ -556,6 +558,13 @@ void JkBmsBle::decode_jk02_cell_info_(const std::vector<uint8_t> &data) { | |||
// 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 | |||
// 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 | |||
// 0x00 | |||
|
|||
// 224 1 0x01 Heating status 0x00: off, 0x01: on | |||
this->publish_state_(this->heating_binary_sensor_, (bool) data[224 + offset]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment we cannot be sure this byte position applies to JK02_32S
frames too. All your devices are so called old style 24S devices?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, unfortunately i dont have a new style here to test.
But if it works it works and if not it will not brake anything just show the wrong status, same with the heating current.
Do you have any btsnoops of the new style bms?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've a BMS here using the new protocol version. It looks like old version. IMO just the firmware (+ protocol version) has changed. My model doesn't have an heater element but I will check the heating current
and status
. In best case it's 0
.
implements #420
fixes #433