aaronsb / REC-BMSManager

Powershell based management for REC-BMS battery management
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Home Assistant integration #6

Open ChrisR000 opened 2 years ago

ChrisR000 commented 2 years ago

Hey Aaron not sure if this is the proper place for this but are there any updates on the docker container or Home Assistant integration you mentioned in the readme?

I'd be happy to help out as a tester. Thanks.

aaronsb commented 2 years ago

Hi Chris,

I have returned back to living in the bus full time so I'll probably be able to focus on this a little more. (Since it's partially hardware test dependent, it's difficult to do dev work remotely)

I was thinking of using the official powershell docker container as the basis for it.

https://hub.docker.com/_/microsoft-powershell

aaronsb commented 2 years ago

Also the most pressing issue right now is there are no docker tags for ARM64 for that platform. See https://github.com/PowerShell/PowerShell-Docker/issues/520

jonasf21 commented 2 years ago

Hey Aaron,

just found this great project. I am looking for a way to get the data of the BMS into MQTT via Tasmota (ESP8266/ESP32 based MCU with RS485<->TTL converter). The REC BMS has +5V on the RS485, so this little MCU (with Wifi) would be great to be device independent and having best power efficiency. (also no PC required to be connected to the REC) I've opened a discussion at the tasmota project here: https://github.com/arendst/Tasmota/discussions/15696 Not sure if this is something you could help with (i guess porting this from powershell to C would be a significant job).

aaronsb commented 2 years ago

I don't feel confident enough to just straight up port to C without doing something disasterous with pointers or buffer overflows or something 🤯 😅.

Do you think it could be written for the Tasmota platform in Rust for the ESP platform? I see this exists -> https://github.com/espressif/rust-esp32-example