Hey @B_Rotten , i don’t know if the original project is alive still… but i made an issue in that repo as yours didn’t have issues enabled.
opened 04:15PM - 27 Feb 26 UTC
I tested this in a fork, I'm not sure how to integrate this with your project, o… r I would submit a PR.
my fork is here, it seems to work: https://github.com/derekpurdy/BM7
<img width="660" height="819" alt="Image" src="https://github.com/user-attachments/assets/74f1f0f6-6d9b-4d6a-b2d1-90d1087fae3f" />
..
The change basically just requires updating
```
CRYPT_KEY = bytearray(
[108, 101, 97, 103, 101, 110, 100, 255, 254, 48, 49, 48, 48, 48, 48, 57]
)
```
to
```
CRYPT_KEY = bytearray(
[108, 101, 97, 103, 101, 110, 100, 255, 254, 48, 49, 48, 48, 48, 48, 64]
)
```
Referenced from: https://github.com/slydiman/bm7-battery-monitor/blob/main/ESPHome/bm7.yaml#L81
to make it work with the BM7 (BM300 Pro), if you can identify a way to have it support both types that would be ideal instead of creating a new integration.
do you think this is something you could implement in your fork? my fork works as a POC… but i think it would be better if a single integration would support multiple devices.
if anyone wants to test the fork or work on changes to submit PR to original Rafciq repo, its here… GitHub - derekpurdy/BM7: Home Assistant integration for Battery Monitor BM7
1 Like