[arm-allstar] New weather script test

Tony Ross ynotssor at yahoo.com
Thu Jun 15 20:08:43 EST 2017


On 06/15/2017 05:31 PM, "Doug Crompton via arm-allstar" wrote:
> Tony,
>
>   You can't use $node - you need to put your actual node number in there!
>
> $NODE1  should be the first node on your server. It has to be caps! Do
>
> echo $NODE1 at the Linux prompt.
>
> But better to just use the actual node number you want to play on. You need
> to play it by specifying the script not playing the file out of /tmp.
>
> wx_condition.sh KPHL 40000
>
> would play Philadelphia airport weather to node 40000.
>
> That node must be on the same server where the script is running. It play
> locally.

Thank you Doug. The variable $node in my post is my actual node number 
in a bash shell, just as in your script. Using your KPHL example above, 
or any other NWS station and my node number, there is no audio output 
although the /tmp/current_wx.gsm plays properly in audacity on another 
machine. Exit status = 0 from your script (echo $?). Normal audio is 
excellent when connected to other nodes, so something is apparently 
missing in my installation.

I have an "strace -o ..." output file but can see no problems in it.


More information about the arm-allstar mailing list