Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jordens/c8488
PC/USB weather station (Bresser 5-in-1, 6-in-1 PC and other CCLEL C8488 clones) to Influxdb/UDP logger
https://github.com/jordens/c8488
Last synced: about 1 month ago
JSON representation
PC/USB weather station (Bresser 5-in-1, 6-in-1 PC and other CCLEL C8488 clones) to Influxdb/UDP logger
- Host: GitHub
- URL: https://github.com/jordens/c8488
- Owner: jordens
- License: mit
- Created: 2022-10-19T12:14:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-15T12:23:56.000Z (over 1 year ago)
- Last Synced: 2024-04-25T04:21:50.748Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal PC weather station to influxdb bridge
## Hardware
* Bresser 5-in-1 PC (7002571)
* CCLEL C8488 clones
* VID=1941 PID=8021Very likely also:
* Youshiko YC9388
* Bresser PC 6 in 1
* Garni 935PC
* Ventus W835Original protocol deciphering work from [`weewx-ws6in1`](https://github.com/BobAtchley/weewx-ws6in1/blob/a969571c2e59ff8a739f16a95ff7404f00e822d2/bin/user/ws6in1.py) with additions and simplifications.
## Mechanism
* Uses `hidraw` kernel driver to access the weather station (load that module and ensure it binds the device, also ensure RW access to the respective `hidraw` character device node)
* Does not need libusb or hidapi
* Configures time and date so that rain quantity reset time is correct
* Optionally exports reports receveived to influxdb line protocol and sends via UDP## Compile
E.g. for openwrt on mips architectures:
* Install `cross`
* Run `cross +nightly build --release --target mips-unknown-linux-musl -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort`
* Get a small-ish (~ 100 kB) binary