Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.

Releases: weidtn/sensorpi

v0.1.6: Fixed some camera bugs

Pre-release

Choose a tag to compare

@weidtn weidtn released this 07 Apr 10:34
  • Camera now saves images with timestamp if desired. (Did not work previously)
  • Camera now does not popup a preview on screen.
  • Cleanup of Readme

v0.1.5: Added functionality to create a new config.edn

Choose a tag to compare

@weidtn weidtn released this 05 Apr 12:57
  • Use the sensorpi -n "/path/to/newconfig.edn" functionality to create a new config file.

v0.1.4: Use sensor handler, fixes

Pre-release

Choose a tag to compare

@weidtn weidtn released this 02 Apr 09:30
  • Uses a handler for the sensors now. Makes the code easier to read.
  • Used logging instead of printing for exceptions
  • The difference between timestamps better matches the interval now (still not perfect)

v0.1.3: Catching Exception when database timeouts

Choose a tag to compare

@weidtn weidtn released this 24 Feb 16:51

Will catch the exception when database is not reachable. But will not try later. Measurement is just discarded.

v0.1.2: Fixed logging from imported modules

Choose a tag to compare

@weidtn weidtn released this 22 Feb 13:15
  • Only important data should be logged.
  • In the readme a link to an install.sh script was added to install grafana and influx.

v0.1.1: Added Argument parsing

Pre-release

Choose a tag to compare

@weidtn weidtn released this 18 Feb 10:51

Now the main arguments are parsed from the CLI.

If no arguments are given, the program will ask for measurement and interval and automatically look for the config.edn file in the current working directory.

Example:

sensorpi -h
usage: sensorpi [-h] [--config CONFIG] [--measurement MEASUREMENT] [--interval INTERVAL] [--verbose]

Run measurements from different sensors and send data to an influx db.

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG, -c CONFIG
                        config.edn file to use.
  --measurement MEASUREMENT, -m MEASUREMENT
                        Measurement name.
  --interval INTERVAL, -i INTERVAL
                        Interval between measurements in seconds.
  --verbose, -v

First beta release

First beta release Pre-release
Pre-release

Choose a tag to compare

@weidtn weidtn released this 17 Feb 16:26

First beta release. The program should run with basic functionality.

But the code is not clean.