5 releases
| 0.2.3 | Jul 21, 2024 |
|---|---|
| 0.2.2 | Jul 21, 2024 |
| 0.2.1 | Jul 20, 2024 |
| 0.2.0 | Jul 20, 2024 |
| 0.1.3 | Jul 20, 2024 |
#27 in #solar
130 downloads per month
18KB
403 lines
What?
I have a victron BlueSolar mppt charger for a long term science project I'm running. I wanted a way to keep tabs
on the solar status, but the BLE output from the victron is kind of sketchy and prone to stop working in my install.
I decided to buy a VE.Direct to USB cable and then figure out how to get meaningful data from it. This project is the result of that.
Components
vedirect_rs
This crate utilizes the nom parser to convert the serial output of a VE.Direct serial connection into a usable data structure.
vedirect_to_json
This is a test app for vedirect_rs that connects to /dev/ttyUSB0 and parses the output of the VE.Direct serial stream therein.
Thanks
Special thanks to @gshipilov for helping me with understanding how the nom crate works for payload parsing. Without his help,
I would have likely given up.
Dependencies
~11–15MB
~197K SLoC