Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manio/canze-rs
Renault Zoe influxdb parameters logger
https://github.com/manio/canze-rs
bluer bluetooth canze elm327 influxdb raspberry-pi-zero-2-w rust-lang zoe
Last synced: about 8 hours ago
JSON representation
Renault Zoe influxdb parameters logger
- Host: GitHub
- URL: https://github.com/manio/canze-rs
- Owner: manio
- License: gpl-2.0
- Created: 2024-03-27T11:47:41.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-06-12T15:51:45.000Z (5 months ago)
- Last Synced: 2024-06-12T21:55:18.227Z (5 months ago)
- Topics: bluer, bluetooth, canze, elm327, influxdb, raspberry-pi-zero-2-w, rust-lang, zoe
- Language: Rust
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚗 canze-rs
## How it works
![Hardware overview](images/canze-rs.webp)## Description
This small linux tool is intended to connect to Renault Zoe's CAN bus and save some basic parameters to InfluxDB.
Name of the project is inspired by (and a tribute to) a great [CanZE](https://canze.fisch.lu/) project.#### This tools is saving the following four parameters to Influx:
- SOC (state of charge)
- Active power from the grid (when charging from AC)
- SOH (battery's state of health)
- Total vehicle distance (odometer)It is intended to running constantly (as a daemon) sensing when the car's OBD dongle is in range.
When the car is not in sleep mode (eg. when it is charging), then it is saving the parameters.## Usage
```
canze-rs 0.1.0
Renault Zoe influxdb parameters loggerUSAGE:
canze-rs [OPTIONS]OPTIONS:
-c, --config Config file path [default: /etc/canze-rs.conf]
-d, --debug Enable debug info
-h, --help Print help information
-V, --version Print version information
```## Config
The project uses a simple configuration file:
`/etc/canze-rs.conf`A sample file may have the following contents:
```
[general]
mac = 00:00:00:00:00:00 #enter your bluetooth dongle MAC here[influxdb]
url = http://192.168.1.1:8086
db = zoe
```