[arm-allstar] ARM-allstar Digest, Vol 114, Issue 16

lr60 at yahoo.com
Sun Nov 19 13:15:39 EST 2023


 All my nodes, including ASL and Hamvoip are doing it....
    On Sunday, November 19, 2023 at 10:00:07 AM MST, arm-allstar-request at hamvoip.org <arm-allstar-request at hamvoip.org> wrote:  
 
 Send ARM-allstar mailing list submissions to
    arm-allstar at hamvoip.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
or, via email, send a message with subject or body 'help' to
    arm-allstar-request at hamvoip.org

You can reach the person managing the list at
    arm-allstar-owner at hamvoip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ARM-allstar digest..."


Today's Topics:

  1. Re: Weather.sh not working (R Harkins)
  2. Re: Weather.sh not working (Steve Polley)
  3. Re: Weather.sh not working (David McGough)


----------------------------------------------------------------------

Message: 1
Date: Sat, 18 Nov 2023 16:11:57 -0600
From: R Harkins <rick.harkins at gmail.com>
To: ARM Allstar <arm-allstar at hamvoip.org>
Cc: David McGough <kb4fxc at inttek.net>, Steve Polley
    <stormchaselive at gmail.com>
Subject: Re: [arm-allstar] Weather.sh not working
Message-ID:
    <CAGJ9B=mGvpohdP8B3eVR-fSdQ5HBuuc0wTXiZn8H+dEc+Vv1rA at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Same problem here. User reported that the node was saying 'temperature
zero'.  Here is the information you requested (using the stock weather.sh):

[root at ssarcPi sbin]# host myip.hamvoip.org
myip.hamvoip.org is an alias for hamvoip.org.
hamvoip.org has address 74.91.126.182
hamvoip.org mail is handled by 10 mail.hamvoip.org.

[root at ssarcPi sbin]# wget -qO- http://myip.hamvoip.org
209.153.81.36

[root at ssarcPi sbin]# weather.sh 64083
0??F, -18??C /
[root at ssarcPi sbin]# weather.sh 28405
0??F, -18??C /
[root at ssarcPi sbin]# weather.sh 28139
66??F, 19??C / Sunny

I did some experimenting with the curl command as found in weather.sh. I
found that if I removed the metric\=${FAHRENHEIT}\& from the curl command,
everything worked. Put it back in and temp=0.

[root at ssarcPi sbin]# weather.sh 64083  *modified script*
61??F, 16??C / Sunny
[root at ssarcPi sbin]# weathersave.sh 64083  *this is the original script
renamed*
0??F, -18??C /

I got mixed results when visiting the same urls in a browser on my desktop.
Sometimes it worked, sometimes I got zero temps. Very puzzling...

Rick W0FH

On Sat, Nov 11, 2023 at 11:01?PM David McGough via ARM-allstar <
arm-allstar at hamvoip.org> wrote:

>
> Steve,
>
> This seems like some kind of network issue.  From the bash shell prompt,
> please try these commands and report the results:
>
> [root at RPi-Z2W ~]# host myip.hamvoip.org
> myip.hamvoip.org is an alias for hamvoip.org.
> hamvoip.org has address 74.91.126.182
> hamvoip.org mail is handled by 10 mail.hamvoip.org.
>
> [root at RPi-Z2W ~]# wget -qO- http://myip.hamvoip.org
> 12.17.28.216
>
> [root at RPi-Z2W ~]# weather.sh 28405
> 52??F, 11??C / Cloudy
>
> [root at RPi-Z2W ~]# weather.sh 28139
> 50??F, 10??C / Cloudy
>
>
>
> 73, David K4FXC
>
> On Sat, 11 Nov 2023, Steve Polley via ARM-allstar wrote:
>
> > I recently had to rebuild my node from a lightning hit. I have set up
> > the node like my others and they work fine but this no always gives me a
> > No Report when using in a bash shell with either weather.sh or
> > saytime.pl. It says this on my superman page as well. I have tried
> > multiple zip codes and airport codes with the same results. I have also
> > copied over weather.sh from a working node and it will not work either.
> >
> > Any ideas?
> >
> > Steve N0SWP
>
> _______________________________________________
>
> 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/4 web page - http://hamvoip.org
>


------------------------------

Message: 2
Date: Sat, 18 Nov 2023 22:40:07 -0600
From: Steve Polley <stormchaselive at gmail.com>
To: R Harkins <rick.harkins at gmail.com>
Cc: ARM Allstar <arm-allstar at hamvoip.org>, David McGough
    <kb4fxc at inttek.net>
Subject: Re: [arm-allstar] Weather.sh not working
Message-ID:
    <CA+w4kat9c8i=Dga4_6iKP7wcfNBPFrqBRrLCpbvWMWufc9Yt7Q at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Its reporting now but occasionally saing 0F Degrees as well with multiple
zip codes?

Any ideas on this David?

Steve

N0SWP

On Sat, Nov 18, 2023 at 4:12?PM R Harkins <rick.harkins at gmail.com> wrote:

> Same problem here. User reported that the node was saying 'temperature
> zero'.  Here is the information you requested (using the stock weather.sh):
>
> [root at ssarcPi sbin]# host myip.hamvoip.org
> myip.hamvoip.org is an alias for hamvoip.org.
> hamvoip.org has address 74.91.126.182
> hamvoip.org mail is handled by 10 mail.hamvoip.org.
>
> [root at ssarcPi sbin]# wget -qO- http://myip.hamvoip.org
> 209.153.81.36
>
> [root at ssarcPi sbin]# weather.sh 64083
> 0??F, -18??C /
> [root at ssarcPi sbin]# weather.sh 28405
> 0??F, -18??C /
> [root at ssarcPi sbin]# weather.sh 28139
> 66??F, 19??C / Sunny
>
> I did some experimenting with the curl command as found in weather.sh. I
> found that if I removed the metric\=${FAHRENHEIT}\& from the curl command,
> everything worked. Put it back in and temp=0.
>
> [root at ssarcPi sbin]# weather.sh 64083  *modified script*
> 61??F, 16??C / Sunny
> [root at ssarcPi sbin]# weathersave.sh 64083  *this is the original script
> renamed*
> 0??F, -18??C /
>
> I got mixed results when visiting the same urls in a browser on my
> desktop. Sometimes it worked, sometimes I got zero temps. Very puzzling...
>
> Rick W0FH
>
> On Sat, Nov 11, 2023 at 11:01?PM David McGough via ARM-allstar <
> arm-allstar at hamvoip.org> wrote:
>
>>
>> Steve,
>>
>> This seems like some kind of network issue.  From the bash shell prompt,
>> please try these commands and report the results:
>>
>> [root at RPi-Z2W ~]# host myip.hamvoip.org
>> myip.hamvoip.org is an alias for hamvoip.org.
>> hamvoip.org has address 74.91.126.182
>> hamvoip.org mail is handled by 10 mail.hamvoip.org.
>>
>> [root at RPi-Z2W ~]# wget -qO- http://myip.hamvoip.org
>> 12.17.28.216
>>
>> [root at RPi-Z2W ~]# weather.sh 28405
>> 52??F, 11??C / Cloudy
>>
>> [root at RPi-Z2W ~]# weather.sh 28139
>> 50??F, 10??C / Cloudy
>>
>>
>>
>> 73, David K4FXC
>>
>> On Sat, 11 Nov 2023, Steve Polley via ARM-allstar wrote:
>>
>> > I recently had to rebuild my node from a lightning hit. I have set up
>> > the node like my others and they work fine but this no always gives me
>> a
>> > No Report when using in a bash shell with either weather.sh or
>> > saytime.pl. It says this on my superman page as well. I have tried
>> > multiple zip codes and airport codes with the same results. I have also
>> > copied over weather.sh from a working node and it will not work either.
>> >
>> > Any ideas?
>> >
>> > Steve N0SWP
>>
>> _______________________________________________
>>
>> 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/4 web page - http://hamvoip.org
>>
>


------------------------------

Message: 3
Date: Sun, 19 Nov 2023 00:26:35 -0500 (EST)
From: David McGough <kb4fxc at inttek.net>
To: R Harkins <rick.harkins at gmail.com>
Cc: ARM Allstar <arm-allstar at hamvoip.org>,  Steve Polley
    <stormchaselive at gmail.com>
Subject: Re: [arm-allstar] Weather.sh not working
Message-ID:
    <Pine.LNX.4.44.2311190009160.1198-100000 at goliath.inttek.net>
Content-Type: TEXT/PLAIN; charset=ISO-8859-1


Hi Rick,

I did some experimenting earlier today.  I agree that the returned results
seem to be unreliable.  I just read a comment in the Accuweather RSS
documentation that setting metric=1 is for Celsius and metric=2 is
Fahrenheit.  I tried both and leaving the metric parameter out entirely.  
Sometimes the query works, sometimes it reports 0 degrees.

Also, I tried running the query with and without TLS (HTTP/80 and then 
HTTPS/443)....The HTTP/80 results seemed more consistent, but still not 
perfect.

Looking further at their API documentation, I'm suspecting that they're 
now requiring a key/subscription for "premium" access.  Also, while 
accessing their on-line docs, I had several pages time-out, getting 
errors.  So, they might have some kind of infrastructure issue going on??

I know this API had worked very reliably....Not sure when this changed?

73, David K4FXC



On Sat, 18 Nov 2023, R Harkins wrote:

> Same problem here. User reported that the node was saying 'temperature
> zero'.  Here is the information you requested (using the stock weather.sh):
> 
> [root at ssarcPi sbin]# host myip.hamvoip.org
> myip.hamvoip.org is an alias for hamvoip.org.
> hamvoip.org has address 74.91.126.182
> hamvoip.org mail is handled by 10 mail.hamvoip.org.
> 
> [root at ssarcPi sbin]# wget -qO- http://myip.hamvoip.org
> 209.153.81.36
> 
> [root at ssarcPi sbin]# weather.sh 64083
> 0????F, -18????C /
> [root at ssarcPi sbin]# weather.sh 28405
> 0????F, -18????C /
> [root at ssarcPi sbin]# weather.sh 28139
> 66????F, 19????C / Sunny
> 
> I did some experimenting with the curl command as found in weather.sh. I
> found that if I removed the metric\=${FAHRENHEIT}\& from the curl command,
> everything worked. Put it back in and temp=0.
> 
> [root at ssarcPi sbin]# weather.sh 64083  *modified script*
> 61????F, 16????C / Sunny
> [root at ssarcPi sbin]# weathersave.sh 64083  *this is the original script
> renamed*
> 0????F, -18????C /
> 
> I got mixed results when visiting the same urls in a browser on my desktop.
> Sometimes it worked, sometimes I got zero temps. Very puzzling...
> 
> Rick W0FH
> 
> On Sat, Nov 11, 2023 at 11:01???PM David McGough via ARM-allstar <
> arm-allstar at hamvoip.org> wrote:
> 
> >
> > Steve,
> >
> > This seems like some kind of network issue.  From the bash shell prompt,
> > please try these commands and report the results:
> >
> > [root at RPi-Z2W ~]# host myip.hamvoip.org
> > myip.hamvoip.org is an alias for hamvoip.org.
> > hamvoip.org has address 74.91.126.182
> > hamvoip.org mail is handled by 10 mail.hamvoip.org.
> >
> > [root at RPi-Z2W ~]# wget -qO- http://myip.hamvoip.org
> > 12.17.28.216
> >
> > [root at RPi-Z2W ~]# weather.sh 28405
> > 52????F, 11????C / Cloudy
> >
> > [root at RPi-Z2W ~]# weather.sh 28139
> > 50????F, 10????C / Cloudy
> >
> >
> >
> > 73, David K4FXC
> >
> > On Sat, 11 Nov 2023, Steve Polley via ARM-allstar wrote:
> >
> > > I recently had to rebuild my node from a lightning hit. I have set up
> > > the node like my others and they work fine but this no always gives me a
> > > No Report when using in a bash shell with either weather.sh or
> > > saytime.pl. It says this on my superman page as well. I have tried
> > > multiple zip codes and airport codes with the same results. I have also
> > > copied over weather.sh from a working node and it will not work either.
> > >
> > > Any ideas?
> > >
> > > Steve N0SWP
> >
> > _______________________________________________
> >
> > 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/4 web page - http://hamvoip.org
> >
> 



------------------------------

Subject: Digest Footer

_______________________________________________
ARM-allstar mailing list
ARM-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar


------------------------------

End of ARM-allstar Digest, Vol 114, Issue 16
********************************************
  


More information about the ARM-allstar mailing list