<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Windy station Posting]]></title><description><![CDATA[<p dir="auto">Hi, this is my first go at posting to windy, I just want to make sure i've got this right.</p>
<p dir="auto">my station is based on a raspberry Pi zero and has temp, pressure and humidity<br />
(for now, wind speed and more to come!)<br />
I'm currently trying to send these values to my registered station with the API key using a python script</p>
<p dir="auto"><em>edit</em><br />
forgot to mention this is controlled by Cron and posts every 5 minutes as per the windy guidelines</p>
<p dir="auto">the script is as follows :</p>
<pre><code>*omitted*
URL = 'https://stations.windy.com./pws/update/*MY-API-HERE*?'
#while running
try:
        #read the humidity and temperature
        humidity, temperature = Adafruit_DHT.read_retry(sensor, sensor_pin)
        #read the pressure
        pressure = bmp280.get_pressure()

        #set up URL PARAMS
       PARAMS = "temp={temperature}&amp;pressure={pressure}&amp;rh={humidity}".format(**vars())
        #deterimine if the reading is valid, and only print valid readings

      if humidity is not None and temperature is not None and pressure is not None:
         #post to windy station
          requests.get(url = URL, params = PARAMS)

*omitted*
</code></pre>
]]></description><link>https://community.windy.com/topic/13766/windy-station-posting</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 15:07:29 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/13766.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 Sep 2020 10:35:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windy station Posting on Mon, 19 Oct 2020 20:19:23 GMT]]></title><description><![CDATA[<p dir="auto">Well you configured it really working<a href="https://talktoihop.us/" rel="nofollow ugc">.</a> really thankful for you to as i was looking for the same script<a href="https://italktosonic.us/" rel="nofollow ugc">.</a></p>
<p dir="auto">Thanks a lot</p>
]]></description><link>https://community.windy.com/post/59556</link><guid isPermaLink="true">https://community.windy.com/post/59556</guid><dc:creator><![CDATA[brendon2229]]></dc:creator><pubDate>Mon, 19 Oct 2020 20:19:23 GMT</pubDate></item></channel></rss>