Problems with weather app (GXP2170 - 1.0.9.135)


#1

Cant make the Weather app work. Config looks good, phone has dns, I have tried every combination for the city state zip i can find. Still see Service Unavailable. What should i try. Im pushing a custom xml file via tftp. Even when i reset the settings using the Config button i cant make it work.

Ideas?


#2

Have you tried simply using the Auto-Location feature? Just to see if it displays something.


#3

I have proven my config works with a phone running 1.0.9.103
Either something has changed in the way .135 gets configured or its broken.


#4

First factory reset the phone and instead of using any config file, simply use the web gui of the phone to see if using a main city Zip will work. GS has changed some pcodes and while I do not know if any of the weather pcodes were involved, at least this should prove whether the function works or not.


#5

What Larry says holds a lot of merit and once you have tested that your phone does pull the weather down correctly for those that need to adjust for Australia… see below:

<!--#  Settings/Web Service -->
<!--############################################################################# -->
<!-- Weather Update -->

<!-- Use Auto Location Service. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P8338>0</P8338>

<!-- Enable weather update. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1402>1</P1402>

<!-- City Code -->
<!-- 0 - Self-Defined City Code, 1 - Automatic. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1405>0</P1405>

<!-- Self-Defined City Code -->
<!-- String -->
<P1377>**Bayswater**,AU</P1377>

<!-- Update Interval (in minutes). Default is 15 -->
<!-- Number: 5 - 360 -->
<!-- Mandatory -->
<P1378>15</P1378>

<!-- Degree Unit. auto - Automatic, f - Fahrenheit, c - Celsius. Default is auto -->
<!-- String: auto, f, c -->
<!-- Mandatory -->
<P1379>c</P1379>

For those in Australia - change the bolded city name to a city closer to yours.

Kev


#6

Here is what I tried.

Two phones, 1 running 1.0.9.108 and 1 running 1.0.9.135 both factory reset. The 108 device boots, pulls up weather using auto everything and displays the 5 day and the current status next to the date/time on the home screen. Now, it is pulling the incorrect location…like other side of the country wrong.
The 135 Device boots, but does not show current temp next to the date and time, but does show the 5 day, nearby.

I change to a self defined city code, enter my zip code on both devices and the 108 responds the way it should, home screen and 5 day look great, enter it on the 135 device and service not available. Change it back to auto, service not available.

Any other ideas? I copied the config from scottsip and updated my location but that didnt fix it. I can confirm the phones have a vaild DNS because they pull the background image from my web server.


#7

my format was from our 3cx pbx… so you would have to use the pcodes as indicated…


#8

use the following pcodes - silver service:
PCode 8338 = 0
PCode P1402 = 1
PCode P1405 = 0
PCode P1377 = Columbia,US
PCode P1378 = 15
PCode P1379 = f


#9

I should add that im using the txt to xml utility.

This is from the txt file.
##############################################################################
## Settings/Web Service
##############################################################################
# Weather Update

# Use Auto Location Service. 0 - No, 1 - Yes. Default is 1
# Number: 0, 1
# Mandatory
P8338 = 0

# Enable weather update. 0 - No, 1 - Yes. Default is 1
# Number: 0, 1
# Mandatory
P1402 = 1

# City Code
# 0 - Self-Defined City Code, 1 - Automatic. Default is 1
# Number: 0, 1
# Mandatory
P1405 = 0

# Self-Defined City Code
# String
P1377 = Columbia,US

# Update Interval (in minutes). Default is 15
# Number: 5 - 360
# Mandatory
P1378 = 15

# Degree Unit. auto - Automatic, f - Fahrenheit, c - Celsius. Default is auto
# String: auto, f, c
# Mandatory
P1379 = f

This is after its formatted into xml for loading via tftp

<!-- ##  Settings/Web Service -->
<!-- ############################################################################## -->
<!-- # Weather Update -->

<!-- # Use Auto Location Service. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8338>0</P8338>

<!-- # Enable weather update. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1402>1</P1402>

<!-- # City Code -->
<!-- # 0 - Self-Defined City Code, 1 - Automatic. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1405>0</P1405>

<!-- # Self-Defined City Code -->
<!-- # String -->
<P1377>Columbia,US</P1377>

<!-- # Update Interval (in minutes). Default is 15 -->
<!-- # Number: 5 - 360 -->
<!-- # Mandatory -->
<P1378>15</P1378>

<!-- # Degree Unit. auto - Automatic, f - Fahrenheit, c - Celsius. Default is auto -->
<!-- # String: auto, f, c -->
<!-- # Mandatory -->
<P1379>f</P1379>

N/A Service Unavailable. Just for testing i even tried your string Bayswater, AU and still get service unavailable.


#11

sounds like the telephone has no internet connection…

to check, use the ntp settings outside of your network and see if the time is correct…

use pool.ntp.org


#12

Do not use the above as it is not defined as is might be anyone of the below (all US) -

Use “75214” - as this is Dallas, TX zip code as a test.


#13


free upload photo

website image hosting


#14

But is interesting…

website image hosting

website image hosting


#15

okay set it as dhcp and see if things change :wink:


#16

No Change.

The CLI still shows 0.0.0.0.


#17

change the ethernet switch port the handset is connecting to in case that is the issue


#18

Regress the firmware to 9.127 and see. Maybe a new stealth feature (tongue in cheek) that was added in a later release.


#19

Ding, Ding, Ding… We have a winner… Rolled back to 9.127… Weather works.


#20

I am uncertain about 9.132. I just received some 2170s and I will test, but apt to be a couple of days. Would be nice if someone could repeat your testing to confirm findings so that, if needed, a ticket can be filed before it becomes a forum/user headache.


#21

This is my first project since my cisco 79XX days, i must say…this Pcode way of doing this while i see it has its benefits, Grandstream has a long way to go before this system is as easy to deploy as sip on cisco…