Personal tools

Difference between revisions of "S0 reader script"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
(Created page with "{{TOCright}}Category:Scripts")
 
m
Line 1: Line 1:
 
{{TOCright}}[[Category:Scripts]]
 
{{TOCright}}[[Category:Scripts]]
 +
=== Configuration ===
 +
 +
Please refer to <tt>S0.conf.dist</tt> to configure your environment regarding interfaces and channels.
 +
 +
# cp S0.conf.dist S0.conf
 +
 +
=== Test ===
 +
 +
To test your configuration, run
 +
 +
# ./S0.sh -tv S0.conf
 +
 +
=== Run with cron ===
 +
 +
Edit your crontab
 +
 +
### run S0 reader each minute
 +
* * * * * /path/to/PVLng-sctipts/S0/S0.sh S0.conf

Revision as of 10:11, 9 September 2014

Configuration

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

# cp S0.conf.dist S0.conf

Test

To test your configuration, run

# ./S0.sh -tv S0.conf

Run with cron

Edit your crontab

### run S0 reader each minute
* * * * * /path/to/PVLng-sctipts/S0/S0.sh S0.conf