[arm-allstar] New weather script test

Doug Crompton wa3dsp at gmail.com
Thu Jun 15 21:19:05 EST 2017


Tony,

 Not sure what the problem could be. I have copied the script to other
systems and it seems to play fine. Are you using this on V1.5 code? RPi 2
or 3? I assume you have downloaded the xml2 package?

I am also confused as to how you would be playing the file from /tmp as the
audio file is removed in the script after it plays. If it is still there
something is not completing.

Doug

On Thu, Jun 15, 2017 at 9:08 PM, "Tony Ross via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> 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.
> _______________________________________________
>
> 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