Hi,
Heres an example upload from Metoffice website:
I dont know what timestamp my script is using.
I found an example (although its written for Arduino)for the "dateutc=now", code below.
But i dont know how to get this working in my script.
Heres the example:
Heres an example upload from Metoffice website:
http://wow.metoffice.gov.uk/automaticreading?siteid=123456&siteAuthenticationKey=654321&dateutc=2011-02-02+10%3A32%3A55&winddir=230&windspeedmph=12&windgustmph=12&windgustdir=25&humidity=90&dewptf=68.2&tempf=70&rainin=0&dailyrainin=5&baromin=29.1&soiltempf=25&soilmoisture=25&visibility=25&softwaretype=weathersoftware1.0Regarding the "dateutc=now", thats maybe why its behaving this way, the upload issue.
I dont know what timestamp my script is using.
I found an example (although its written for Arduino)for the "dateutc=now", code below.
But i dont know how to get this working in my script.
Heres the example:
date = time.strftime("%Y-%m-%d",time.gmtime()) hours = time.strftime("%H",time.gmtime()) minutes = time.strftime("%M",time.gmtime()) seconds = time.strftime("%S",time.gmtime()) # Save it as a string in a format that WOW likes localdt = date+"+"+hours+"%3A"+minutes+"%3A"+seconds