[arm-allstar] AutoSky, A Skywarn script for hamvoip
Doug Crompton
wa3dsp at gmail.com
Tue Apr 18 10:08:00 EST 2017
I have run this many times here and it works fine. Be aware of a couple of
things. There was a spelling error in the howto. It is now corrected. The
directories are spelled AUTOSKY, all caps, the filenames in all cases are
spelled - AutoSky - capital A and S. Shown below is the tail of my
/etc/rc.local file with the added commands.
/usr/local/etc/rc.allstar
/usr/local/bin/AUTOSKY/AutoSky
/usr/local/bin/AUTOSKY/AutoSky.ON
exit 0
When my system boots it says my ID and IP address and then "weather alert
on"
The /tmp/AUTOSKY directory should look like this -
[root at Pi3-test supermon]# ls /tmp/AUTOSKY/
alert.enbl alert.save alert.txt1 alert.txt2 WXA
The alert.enbl file shows it is enabled. After this point the cron entry
actually starts things rolling. In 4 minutes you should get an all alerts
clear message. The journal should look like below. There may be one
Xresult=2 then it will go to 1 on the first 4 minute interval giving the
clear message and finally 0 after that until an event occurs.
journalctl -f
Apr 18 10:44:15 Pi3-test CROND[906]: (root) CMDOUT (AutoSky Xresult is 2)
Apr 18 10:48:01 Pi3-test CROND[1381]: (root) CMD
(/usr/local/bin/AUTOSKY/AutoSky)
Apr 18 10:48:01 Pi3-test CROND[1380]: (root) CMDOUT (AutoSky Xresult is 1)
Apr 18 10:48:02 Pi3-test CROND[1380]: pam_unix(crond:session): session
closed for user root
Be sure your cron entry is in there and correct. after you enter and save
it do a 'crontab -l' to view it. It should look like this:
*/4 * * * * /usr/local/bin/AUTOSKY/AutoSky
and it should display every 4 minutes in the 'journalctl -f' output.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Tue, Apr 18, 2017 at 10:23 AM, "Maurice Dake via arm-allstar" <
arm-allstar at hamvoip.org> wrote:
> Loaded this program and it loads on boot up (get a voice indication). I
> have also loaded the *880 and *881 commands but get no voice indication of
> turn off and on.
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>
>
More information about the arm-allstar
mailing list