mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-23 10:11:00 +03:00
add -r and return 1 if clouds<1800
This commit is contained in:
@@ -7,12 +7,13 @@ Check meteostation parameters
|
||||
|
||||
-d, --devname=arg serial device name
|
||||
-h, --help show this help
|
||||
-r, --raw show raw information from meteostation
|
||||
-s, --speed=arg baudrate (default: 9600)
|
||||
|
||||
|
||||
Output:
|
||||
Rain=0/1
|
||||
Clouds=0/1
|
||||
Clouds=xxxx
|
||||
|
||||
Return value:
|
||||
0 if no rain, 1 if there's rainy
|
||||
0 if no rain and Clouds>1800, 1 if there's rainy or Clouds>1800
|
||||
|
||||
Reference in New Issue
Block a user