<?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[PWS API v2 - updating position (lat&#x2F;lon)]]></title><description><![CDATA[<p dir="auto">I am the author of the recently released <a href="https://www.npmjs.com/package/signalk-windy-apiv2" rel="nofollow ugc">plugin</a> that updates PWS observations from Signal K.</p>
<p dir="auto">As this use case is targeted towards boaters, which are often moving vessels, there is a frequent need to update position (lat/lon).</p>
<p dir="auto">With the exception of position (lat/lon), the remaining data in the PUT payload to <code>/api/v2/pws/{id}</code> is seldom updated. Considering that for a moving vessel it would be appropriate to update the position with every observation GET update to <code>/api/v2/observation/update</code>, it doesn't appear efficient to be resending the remaining static information, including possibly the <code>operator_logo</code>, with every transmission.</p>
<p dir="auto">Is there any interest to adapt/extend the new <a href="https://stations.windy.com/api-reference" rel="nofollow ugc">API v2</a> to make position updates for a station more efficient?</p>
<p dir="auto">Thank you for the consideration.</p>
]]></description><link>https://community.windy.com/topic/43411/pws-api-v2-updating-position-lat-lon</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 01:29:44 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/43411.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jan 2026 16:17:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PWS API v2 - updating position (lat&#x2F;lon) on Wed, 28 Jan 2026 17:14:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rolandoz" aria-label="Profile: Rolandoz">@<bdi>Rolandoz</bdi></a> said in <a href="/post/224113">PWS API v2 - updating position (lat/lon)</a>:</p>
<blockquote>
<p dir="auto">What if you ONLY include the lat / lon fields in the json and omits all the other?</p>
</blockquote>
<p dir="auto">Appreciate you thinking through the possible angles. I tried that approach previously. Because the station update via API v2 is done with a PUT, if any fields are missing they are overwritten as blanks.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rolandoz" aria-label="Profile: Rolandoz">@<bdi>Rolandoz</bdi></a> said in <a href="/post/224113">PWS API v2 - updating position (lat/lon)</a>:</p>
<blockquote>
<p dir="auto">And I assume your plugin can save the previous reported position and if it has not changed significant the simply omit the position update at all?</p>
</blockquote>
<p dir="auto">The code already has a configurable distance calculation (default: 300m) so that when a boat is at anchor or dock the station update is skipped.</p>
]]></description><link>https://community.windy.com/post/224115</link><guid isPermaLink="true">https://community.windy.com/post/224115</guid><dc:creator><![CDATA[SY GRACE]]></dc:creator><pubDate>Wed, 28 Jan 2026 17:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to PWS API v2 - updating position (lat&#x2F;lon) on Wed, 28 Jan 2026 16:43:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sy-grace" aria-label="Profile: SY-GRACE">@<bdi>SY-GRACE</bdi></a> I have no experience into updating my PWS using the new API v2, but I am sending regular data. What if you ONLY include the lat / lon fields in the json and omits all the other? Then you have thin and simple call to update the position. And I assume your plugin can save the previous reported position and if it has not changed significant the simply omit the position update at all? Just a way I would look at it. :-)</p>
<p dir="auto"><img src="/assets/uploads/files/1769618585166-8497c9c8-2c0b-487c-a0ce-923a9da8b524-image.png" alt="8497c9c8-2c0b-487c-a0ce-923a9da8b524-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.windy.com/post/224113</link><guid isPermaLink="true">https://community.windy.com/post/224113</guid><dc:creator><![CDATA[Rolandoz]]></dc:creator><pubDate>Wed, 28 Jan 2026 16:43:08 GMT</pubDate></item></channel></rss>