Avi
New Member
Posts: 15
Other Device: Odroid-C2
|
Post by Avi on Jan 16, 2018 11:34:12 GMT -8
Hi,
I'm on firmware 027 and I've entered my WUID and pass more than a few times, but MW does not show up on the wunderground.com PWS page.
http://192.168.2.243/setWUKEY?params=IPUNE8
http://192.168.2.243/setWUSID?params=xxxxxxx
both return
{"return_value": 0, "id": "1", "name": "OurWeather", "connected": true}
Where do I start to troubleshoot this?
|
|
greyknob
New Member
Posts: 4
Raspberry Pi: Yes
Other Device: arduino
|
Post by greyknob on Jan 16, 2018 12:22:24 GMT -8
You need to pass in both the admin password for the SDL OurWeather device as well as the WU password: two params: The return of '0' in the response indicates the admin password was missing. 192.168.xxx.yyy/setWUKEY?params=<OWpwd>,<WU PWD> for example: where admin is the default admin password for the OurWeather device and WUPWD is your Weather Underground password. 192.168.2.243/setWUKEY?params=admin,WUPWD
|
|
Avi
New Member
Posts: 15
Other Device: Odroid-C2
|
Post by Avi on Jan 16, 2018 19:11:13 GMT -8
greyknob Done, it reports 1 now, but WU still says the PWS isn't reporting data :/ {"return_value": 1, "id": "1", "name": "OurWeather", "connected": true} It appears OurWeather is still not sending the correct credentials unless this is the correct URL " /weatherstation/updateweatherstation.php?ID=&PASSWORD": ~# tcpdump -vvi br-lan src 192.168.2.243
tcpdump: listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
08:46:00.956407 IP (tos 0x0, ttl 128, id 24589, offset 0, flags [none], proto TCP (6), length 40)
OurWeather-Espressif.9525 > ec2-52-25-21-79.us-west-2.compute.amazonaws.com.80: Flags [F.], cksum 0x246e (correct), seq 10165527, ack 1310119492, win 5840, length 0
08:48:16.722395 IP (tos 0x0, ttl 128, id 24590, offset 0, flags [none], proto UDP (17), length 77)
OurWeather-Espressif.4096 > apu.wrtpoona.in.53: [udp sum ok] 96+ A? weatherstation.wunderground.com. (49)
08:48:16.864539 IP (tos 0x0, ttl 128, id 24591, offset 0, flags [none], proto UDP (17), length 77)
OurWeather-Espressif.4096 > apu.wrtpoona.in.53: [udp sum ok] 237+ A? weatherstation.wunderground.com. (49)
08:48:16.867207 IP (tos 0x0, ttl 128, id 24592, offset 0, flags [none], proto TCP (6), length 44)
OurWeather-Espressif.28195 > ec2-52-25-21-79.us-west-2.compute.amazonaws.com.80: Flags [S], cksum 0x948e (correct), seq 10252469, win 5840, options [mss 1460], length 0
08:48:17.118152 IP (tos 0x0, ttl 128, id 24593, offset 0, flags [none], proto TCP (6), length 40)
OurWeather-Espressif.28195 > ec2-52-25-21-79.us-west-2.compute.amazonaws.com.80: Flags [.], cksum 0x3c98 (correct), seq 10252470, ack 2297489074, win 5840, length 0
08:48:17.131788 IP (tos 0x0, ttl 128, id 24594, offset 0, flags [none], proto TCP (6), length 353)
OurWeather-Espressif.28195 > ec2-52-25-21-79.us-west-2.compute.amazonaws.com.80: Flags [P.], cksum 0x3123 (correct), seq 0:313, ack 1, win 5840, length 313: HTTP, length: 313
GET /weatherstation/updateweatherstation.php?ID=&PASSWORD=&dateutc=now&winddir=67.50&windspeedmph=0.00&windgustmph=0.00&humidity=41.60&tempf=83.12&dewptf=62.10&rainin=0.04&dailyrainin=0.07&baromin=30.0695&indoortempf=87.53&software=OurWeather HTTP/1.1
Host: weatherstation.wunderground.com
Connection: close
I tried /weatherstation/updateweatherstation.php?ID=IPUNE8&PASSWORD=XXXXXX... but WU still says PWS not reporting data. I've tried resetting the board and configuring it, no change Could github.com/switchdoclabs/OurWeatherWeatherPlus/commit/e697a2974969aaa003908713ea62eb230fcd0166 have introduced this?
|
|
Avi
New Member
Posts: 15
Other Device: Odroid-C2
|
Post by Avi on Jan 17, 2018 1:38:06 GMT -8
After some resetting, I stopped changing the MW password sticking to the default ' admin' and now it reports to WU fine. I've yet to confirm if this is caused by me exceeding the allowed password complexity or hitting the max character limit. It would be nice to jot the limits in the quick start doc. For reference, the old pass causing the issue was k88!7f4V86#8Sa68Station up : www.wunderground.com/personal-weather-station/dashboard?ID=IPUNE8#history192.168.2.243.9694 > 52.37.66.10.80: Flags [P.], cksum 0xdf61 (correct), seq 0:327, ack 1, win 5840, length 327: HTTP, length: 327
GET /weatherstation/updateweatherstation.php?ID=IPUNE8&PASSWORD=xxxxxxxx&dateutc=now&winddir=45.00 &windspeedmph=0.00&windgustmph=0.00&humidity=25.90&tempf=89.78&dewptf=63.10&rainin=0.00 &dailyrainin=0.00&baromin=29.9546&indoortempf=94.15&software=OurWeather HTTP/1.1
Host: weatherstation.wunderground.com
Connection: close
|
|
|
Post by SDL on Jan 19, 2018 13:38:34 GMT -8
Sounds like a password issue. Glad you are up and running. Love your use of TCPDUMP to help diagnose this.
BP
|
|
Avi
New Member
Posts: 15
Other Device: Odroid-C2
|
Post by Avi on Jan 20, 2018 1:42:21 GMT -8
Yep, it's currently indoors near a window, it will be mounted outdoors for two months (where I hope to compare temps and altitude with some accurate instruments I have). I hope to add more sensors and then mount it in its permanent location near a river powered by solar. Working in IT-Networking, every thing can be troubleshot by reading the wire, it's over HTTP
|
|