Personal tools

S0 reader script

From PhotoVoltaic Logger new generation

Revision as of 14:42, 23 October 2016 by KKoPV (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
# cd /path/to/PVLng-scripts/S0-serial/

The script uses outputs of the S0 serial reader daemon.

Configuration

Please refer to dist/S0.conf to configure your environment regarding interfaces and channels.

# cp dist/S0.conf .

Test

To test your configuration, run

# ./S0.sh -tv

Run with cron

Edit your crontab

### run S0 reader each minute
* * * * * /path/to/PVLng-scripts/S0-serial/S0.sh