Sensorpi

Latest version: v0.1.6

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.6

- Camera now saves images with timestamp if desired. (Did not work previously)
- Camera now does not popup a preview on screen.
- Cleanup of Readme

0.1.5

- Use the `sensorpi -n "/path/to/newconfig.edn"` functionality to create a new config file.

0.1.4

- 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)

0.1.3

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

0.1.2

- Only important data should be logged.
- In the readme a link to an install.sh script was added to install grafana and influx.

0.1.1

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.