Personal tools

S0 reader script

From PhotoVoltaic Logger new generation

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