check_em01
A perl plugin for the EM01b Sequoia websensor
Syntax:
check_em01.pl [options] sensor
sensor is the address of sensor on network (name or IP)
--debug | print debug messages to stdout |
--timeout=x | how long to wait before failing. Default=$opt_timeout |
--type={ all | temp | hum | illum } | which sensor data you want to retrieve. If you did not specify this option, then this plugin will return all sensor data. |
--temp={ hum | illum } | (warnlow/warnhi),(critlow/crithi) four values are required. 'x' is used to specify no value. |
Example:
check_em01.pl --type=temp --temp=65/75,60/80
check_em01.pl --type=all --temp=65/75,60/80 --hum=30/40,25/50 --illum=40/70,30/80