A CLI tool providing pre-written sensor implementations for Wiresense, designed to simplify sensor integration and data collection.
- Select the sensor you have
- Select the measurement rate
- Easy to use, only basic knowledge required
- Uses Wiresense for data visualization:
- Automaticly save data into csv files
For more info about Wiresense see: https://github.com/Wiresense
Install with pip
pip install easysense
Make sure you have Python and Git installed!
Run Easysense
easysense
Simply follow the instructions in the terminal to get started
Or edit the config.yaml so you dont need to configure it every time. (csv path can only be changed in config.yaml)
You can open the config with: easysense config
settings:
selected_sensor: "" # Exact name of the sensor (see /sensors folder for the names) (leave empty to get a prompt every time)
read_interval: -1 # Measurement inverval in seconds (set to -1 to get a prompt every time)
csv_folder_path: "./data" # Where to say all created csv files. (For best functionality, use absolute path)
print_data_in_cmd: null # Boolean whether the sensor output should also be printed in the cmd (set to null to get a prompt every time)
All currently availably sensors can be found in this Repo: https://github.com/Saladrian/easysense.py-sensors Simply use the name of the folder to install the sensor:
easysense install <sensor-name>
If you have a sensor that is not yet implemented, feel free to open a issue or contribute it yourself.
For more info about how you can implement a sensor see: src/easysense/sensors/_example_sensor.py