## About This small tool is meant for logging the electricity values from the `Landis Gyr E350` electricity meter. As a bonus it also stores the gas concumption values. ## Example Usage ```bash #!/bin/bash directoryPath="/var/log/electricity/$(date +%Y/)" if ! [ -d "$directoryPath" ]; then mkdir -p "$directoryPath" fi outputFile="$directoryPath$(date +%m_%d.txt)" if ! [ -f "$outputFile" ]; then touch "$outputFile" fi datestr="$(date +%Y-%m-%dT%T)" electricity-logger -c "$datestr" /dev/ttyUSB0 >> "$outputFile" ``` Use the `--help` switch for more information about the possible arguments `electricity-logger` can take.