{"id":8,"date":"2016-12-06T16:36:46","date_gmt":"2016-12-06T15:36:46","guid":{"rendered":"http:\/\/emariete.com\/wp\/?p=8"},"modified":"2016-12-06T16:36:46","modified_gmt":"2016-12-06T15:36:46","slug":"my-meteorological-station-start-up","status":"publish","type":"post","link":"https:\/\/emariete.com\/en\/mi-estacion-meteorologica-puesta-en-marcha\/","title":{"rendered":"Weather station with Raspberry Pi, WeeWx and Meteotemplate"},"content":{"rendered":"<h2>Weather station with Meteotemplate and WeeWx<\/h2>\n<p>This is how I updated my weather station with Raspberry Pi, the template <a href=\"http:\/\/www.meteotemplate.com\/web\/index.php\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"Meteotemplate \">Meteotemplate<\/a> and open source software <a href=\"http:\/\/www.weewx.com\/\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"WeeWx\">WeeWx<\/a><\/p>\n<p>I have a weather station <strong>Davis Vantage Pro2<\/strong> I've been using it for quite a few years (at least 10) and the truth is that I've neglected it quite a lot; it's a real shame because it's a good station but I haven't taken much advantage of it.<\/p>\n<p>For several years it had stopped working at night, due to a problem with its solar power supply, which I just fixed a few days ago, and it was isolated from the world (no connection with <a href=\"https:\/\/emariete.com\/en\/the-domotics-system-of-my-house-the-controller-or-brain\/\" title=\"my home automation system\">my home automation system<\/a> and without publishing data on the internet).<\/p>\n<p>I have recently decided to put it to use again, contributing the data it generates to the community (publishing it on sites such as <a href=\"https:\/\/www.wunderground.com\/\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"Weatherunderground \">WeatherUnderground<\/a> y <a href=\"https:\/\/www.meteoclimatic.net\/\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"Meteoclimatic\">Meteoclimatic<\/a>) and publish them on my website. I have solved the problem of it not working at night (by replacing a super capacitor) and giving it a little cleaning.<\/p>\n<h3>Weather station hardware<\/h3>\n<p>Years ago I used to use Windows software that ran permanently on a PC, connected to the console via a serial port, which saved data and generated a series of web pages that I uploaded, every few minutes, to an external server for viewing on the internet.<\/p>\n<p>In this new reincarnation of the weather station, although I still have several PCs at home running 24\u00d77, I have decided to use one of the existing modern programs that run on a <a href=\"https:\/\/emariete.com\/en\/home-home-domotics-raspberry-pi\/\" title=\"Raspberry PI\">Raspberry PI<\/a>. This allows me to make the system completely independent and ensures that the data is stored and uploaded to the internet permanently and without any interruption.<\/p>\n<h3>New WeeWx software<\/h3>\n<p>The first task was to look for the software, and after a lot of reading about the different programs and seeing other stations using them, I decided on WeeWx. This program, written in Phyton, has a number of advantages that make it ideal:<\/p>\n<ul>\n<li>It is very light and requires very few server resources.<\/li>\n<li>It has a system of \"skins\" that allow you to change its graphic appearance easily.<\/li>\n<li>Support my weather station directly<\/li>\n<li>Upload the data to the sites I am interested in (Weather Underground, Meteoeoclimatic and, of course, my web server).<\/li>\n<li>It has implemented a system of plugins that allow it to be extended with new functionalities.<\/li>\n<\/ul>\n<h3>New Raspberry Pi hardware<\/h3>\n<p>That said and done, I have taken the oldest raspberry I had at home, as it needs very little power (a Raspberry 1 Model with only 512Mb of memory), and I have prepared a new SD card with the latest version of raspbian.<\/p>\n<p>After a little while of configuration, it was up and running and uploading data to my website:\u00a0<a href=\"https:\/\/emariete.com\/en\/estacion-meteorologica-madrid-espana\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/emariete.com\/estacion-meteorologica-madrid-espana\/<\/a><\/p>\n<p>As icing on the cake I have installed a fantastic template, called meteotemplate, and this is the result:\u00a0<a href=\"https:\/\/emariete.com\/en\/estacion-meteorologica-madrid-espana\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/emariete.com\/estacion-meteorologica-madrid-espana\/<\/a><\/p>\n<p>I am very satisfied with the result. I hope that the operation will be stable and will run as long as possible without interruption. A few years of uninterrupted operation would be nice.<\/p>","protected":false},"excerpt":{"rendered":"<p>Setting up a personal weather station with a Raspberry, WeeWx and Meteotemplate<\/p>","protected":false},"author":1,"featured_media":762,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[15],"tags":[46,54],"class_list":["post-8","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-estacion-meteorologica","tag-raspberry-pi","tag-weewx"],"modified_by":"Mariete","uagb_featured_image_src":{"full":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica.jpg",1920,1081,false],"thumbnail":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica-150x150.jpg",150,150,true],"medium":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica-300x169.jpg",300,169,true],"medium_large":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica-768x432.jpg",768,432,true],"large":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica-1024x577.jpg",1024,577,true],"1536x1536":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica-1536x865.jpg",1536,865,true],"2048x2048":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica.jpg",1920,1081,false],"trp-custom-language-flag":["https:\/\/emariete.com\/wp-content\/uploads\/2016\/12\/meteotemplate-estacion-meteorologica.jpg",18,10,false]},"uagb_author_info":{"display_name":"Mariete","author_link":"https:\/\/emariete.com\/en\/author\/admin_xlyz052h\/"},"uagb_comment_info":0,"uagb_excerpt":"Instalaci\u00f3n de una estaci\u00f3n meteorol\u00f3gica personal con una Raspberry, WeeWx y Meteotemplate","_links":{"self":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":0,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media\/762"}],"wp:attachment":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}