serial_data_logger
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
serial_data_logger [2014/07/07 11:28] – [rsync / init script] admin | serial_data_logger [2014/07/07 11:29] – [rsync / init script] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | =====Serial | + | =====Smart Meter - P1 data logger===== |
This script will log serial data and prepend time/date stamp. The example below if P1 data from a smart meter. You can pipe this to [[rotatelogs]] to save the output to rotated logs. | This script will log serial data and prepend time/date stamp. The example below if P1 data from a smart meter. You can pipe this to [[rotatelogs]] to save the output to rotated logs. | ||
< | < | ||
Line 155: | Line 155: | ||
update-rc.d rsync-p1-data enable</ | update-rc.d rsync-p1-data enable</ | ||
* Enable automatic sync every hour. Add to crontab: < | * Enable automatic sync every hour. Add to crontab: < | ||
+ |
serial_data_logger.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1