Weather Software > Acurite Access Software

Apps Script from MyAcurite to WU, Windy, PWSWeather, OWM, WindGuru, and/or CWOP

(1/8) > >>

xd1936:
Hello all!

I've built a solution that periodically grabs data directly from MyAcurite and forwards it on to Wunderground, Windy.com, PWSWeather, OpenWeatherMap, WindGuru, and/or NOAA CWOP. It's built on the free Google Apps Script infrastructure and is available on Github:

https://github.com/leoherzog/WundergroundStationForwarder

I've been developing and using it for a few years now and it's pretty battle-tested. Give it a try and let me know your thoughts!

ctccbc:
I appreciate someone finally taking the time to make this script. I am trying to send my data from either Wunderground or Myacurite to CWOP. So far I'm having trouble with the setup and getting this error:  TypeError: Cannot read properties of undefined (reading 'id')

I have used my Wunderground api and station and get this error. I then tried for MyAcurite, I'm not sure what is meant by HubName and StationName. I used 'Access' as HubName and New Mandy Farms Atlas for StationName since that is what shows up on the MyAcurite app.

Any help is appreciated and thank again for making this script.

Chris

xd1936:
Hi Chris!

Sure thing. Does the error say what Line it's happening on?

ctccbc:
When I try using Wunderground (ibm), which is my preference, I get this error. Seems to not like the url

11:59:11 AM   Error   
Problem fetching https://api.weather.com/v2/pws/observations/current?stationId=KNCMOREH2&format=json&units=e&numericPrecision=decimal&apiKey=b8b4c3b0
fetchJSON_   @ Code.gs:745
refreshFromIBM_   @ Code.gs:112
Schedule   @ Code.gs:73

xd1936:
Hrm. When I load up

--- Code: ---https://api.weather.com/v2/pws/observations/current?stationId=KNCMOREH2&format=json&units=e&numericPrecision=decimal&apiKey={myapikey}
--- End code ---
it loads as expected... Are you sure your API Key is correct in the code? It should be a good 32 characters long...

Navigation

[0] Message Index

[#] Next page

Go to full version