leoherzog / WundergroundStationForwarder

🌦️ Google Apps Script code to send your weather station data to Wunderground, Windy, PWSWeather, Weathercloud, OpenWeatherMap, WindGuru, and/or CWOP
42 stars 6 forks source link

Trouble with Humidity from MyAcurite to CWOP #17

Closed aolfish closed 10 months ago

aolfish commented 10 months ago

Line 54 should = true Humidity not being reported from Acurite to CWOP

leoherzog commented 10 months ago

Hi @aolfish!

As to your first point, and as the instructions explain, all of the various forwarding destinations start off as false. You're correct that if you want to begin reporting to CWOP, you'll want to set line 54 to true in your project... but not everyone will want to do so.

As for the humidity thing, it is currently set up to receive from MyAcurite and send to CWOP. I can confirm that my station is showing up on FindU with the current relative humidity listed along the top. Where/how are you viewing your station's CWOP data?

aolfish commented 10 months ago

http://www.findu.com/cgi-bin/wx.cgi?call=n4trf www1.findu.com/cgi-bin/raw.cgi?call=n4trf

leoherzog commented 10 months ago

@aolfish I think I found the problem! Thank you for making me aware of it. Give the latest version a try and see if it fixes the problem for you.

aolfish commented 10 months ago

Now I'm getting the following error

Error
Problem fetching https://api.weather.com/v2/pws/observations/current?stationId=KXXXXXXXXXX&format=json&units=e&numericPrecision=decimal&apiKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx fetchJSON @ code.gs:900 refreshFromIBM @ code.gs:121 Schedule @ code.gs:78

leoherzog commented 10 months ago

Are you trying to fetch your readings from Wunderground or from MyAcurite? Which data source have you chosen on Line 10?

aolfish commented 10 months ago

Thank you. Was in a hurry to get it reset up and missed Line 10. Humidity is showing up on data received now.