With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Had some more time to play with this. Wunderground can use State and City for US forecasts. Just enter the State abbreviation (ie. MI) where the rest of the world would enter a Country (I changed the variable names too, but I don't think it is needed)
I am trying to adapt it to give USA weather, I am having a problem with the "State", I believe I need the Country, State, and City? Any thoughts on how to make it work in the US, or am I missing something?I have it running well on my NodeMCU (for Zurich), the only thing is the above description says D5 and D6 for the NodeMCU but the example code uses D3 and D4, I am using the D3 and D4 pins and did not change the code.
I forgot to add that I liked the project, Thank You for your work..I have changed the offset to "-5", and changed the "C's" to "F's" in the code (and Metric to "false"). That all works great, I just can't get any weather in the US. Looking at the Wunderground API, I think for the US it also needs the "State" not just the Country and City? I added "const String WUNDERGROUND_STATE = "MI";" and the associated code below that in the sketch, but it failed to compile (which I really half expected it would). Probably has to do with the WundergroundClient.hThanks,
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.