Fantastic job Coffee! There are two take-aways for me here. First, I had ported JSMN to Spark but the JsonParser package is excellent. That one is worth making into a standard library. The second is this project has given me an idea for a Maker Kit project!
I’m currently using a Spark Core and a Temp/Humidity Sensor SHT-15 to display current temp and humidity data in the house and then that data gets displayed on my Digole color LCD display & uploaded to my Google Excel Spreadsheet account and then graphed out over time for review later.
I have been wanting to add the outside weather data to this display also by using the Sparks WiFi connection to eliminate the need of using an extra temp sensor to gather outside weather data.
As @peekay123 mentioned, I would also like to pull in current weather temp, humidity, and data that shows the weather condition like (Cloudy, Rain, Sunny, ect…).
If we took this weather app and combined it with my current local temp sensor app with data upload to Google Drive we would have a pretty cool WiFi enabled weather station. I would like to display the weather data one some sort of LED display like this. https://www.adafruit.com/products/420
Greetings from Sydney, AU. I’m not a coder and am having some problems attempting to write code to download the next 24hrs weather forecast using the openweather.org API and your technique outlined above.
@InventorSteve, it is not your fault! I tried compiling the code with Spark CLI (which uses the same build servers) and it gives me indeterminate errors as well. I have found that it will only compile locally with the full toolchain and the latest github repo. I will be doing some tests a bit later to see if that still holds true since it has been a couple of months since the last time I tried and much has changed since!
I currently also have problems with the spark-cli, it stops just with the message “Compile failed - compile failed”, and i also had problems with http not connecting.
unfortunately I am currently to busy to debug the issue.