#station #clone #pc #influx-db #weather #logger #bresser

app c8488

PC weather station (Bresser 5-in-1, 6-in-1 PC and other CCLEL C8488 clones) to Influxdb logger

2 releases

0.1.1 Apr 15, 2023
0.1.0 Oct 19, 2022

#7 in #pc

MIT/Apache

10KB
193 lines

Minimal PC weather station to influxdb bridge

Hardware

  • Bresser 5-in-1 PC (7002571)
  • CCLEL C8488 clones
  • VID=1941 PID=8021

Very likely also:

  • Youshiko YC9388
  • Bresser PC 6 in 1
  • Garni 935PC
  • Ventus W835

Original protocol deciphering work from weewx-ws6in1 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

Dependencies

~4–13MB
~149K SLoC