[arm-allstar] Weather.sh not working
Steve Polley
stormchaselive at gmail.com
Sat Nov 18 23:40:07 EST 2023
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
>>
>
More information about the ARM-allstar
mailing list