{"id":153,"date":"2015-12-09T22:31:46","date_gmt":"2015-12-09T22:31:46","guid":{"rendered":"http:\/\/gurunoia.lochan.org\/blog\/?p=153"},"modified":"2015-12-09T23:13:41","modified_gmt":"2015-12-09T23:13:41","slug":"new-battery","status":"publish","type":"post","link":"https:\/\/gurunoia.lochan.org\/blog\/2015\/12\/new-battery\/","title":{"rendered":"New battery"},"content":{"rendered":"<p>I changed the battery in the weather station, because in cold weather it was reporting low and we really don&#8217;t want to lose any data.<\/p>\n<p>Unfortunately, it picks a random station ID on restart! My display software selects one station ID to display (in case there are other weather stations nearby &#8211; the base station does the same thing). That turns out to be a bad idea if you want to see the historical data! I&#8217;ll need to enhance my code to display data from two station IDs, and do something clever with the rainfall (which has reset to zero).<\/p>\n<p><em>Edit: Whew, fixed it. Bit of a horrid hack &#8211; I&#8217;ve hardcoded the old station ID and pre-battery-change rainfall, and arranged that it &#8220;corrects&#8221; the recent data. All-time rainfall is still wrong, but I&#8217;ll sort that another day &#8211; it&#8217;s bedtime!<\/em><\/p>\n<p><a href=\"http:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2015\/12\/20151209_221025.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-154\" src=\"http:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2015\/12\/20151209_221025-300x169.jpg\" alt=\"20151209_221025\" width=\"300\" height=\"169\" srcset=\"https:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2015\/12\/20151209_221025-300x169.jpg 300w, https:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2015\/12\/20151209_221025-1024x576.jpg 1024w, https:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2015\/12\/20151209_221025-500x281.jpg 500w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>For future reference, I&#8217;ve attached the weather station manual (thanks <a href=\"http:\/\/www.maplin.co.uk\/p\/wireless-weather-station-n25fr\">Maplin<\/a>!).<\/p>\n<p><a href=\"http:\/\/gurunoia.lochan.org\/blog\/wp-content\/uploads\/2015\/12\/n25fr-4093.pdf\">Weather station manual N25FR (WH1050)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I changed the battery in the weather station, because in cold weather it was reporting low and we really don&#8217;t want to lose any data. Unfortunately, it picks a random station ID on restart! My display software selects one station &hellip; <a href=\"https:\/\/gurunoia.lochan.org\/blog\/2015\/12\/new-battery\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[21],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/153"}],"collection":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":3,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":158,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/153\/revisions\/158"}],"wp:attachment":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}