https://github.com/petergrace/vedirect_rs
rust crate to process ve.direct payloads from victron devices
https://github.com/petergrace/vedirect_rs
vedirect victron
Last synced: 2 months ago
JSON representation
rust crate to process ve.direct payloads from victron devices
- Host: GitHub
- URL: https://github.com/petergrace/vedirect_rs
- Owner: PeterGrace
- License: mit
- Created: 2024-07-18T23:08:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T00:56:32.000Z (11 months ago)
- Last Synced: 2025-03-07T06:20:06.571Z (3 months ago)
- Topics: vedirect, victron
- Language: Rust
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.