{"id":80,"date":"2011-09-25T12:58:09","date_gmt":"2011-09-25T16:28:09","guid":{"rendered":"http:\/\/blog.pelleys.com\/?p=80"},"modified":"2011-09-25T12:58:09","modified_gmt":"2011-09-25T16:28:09","slug":"changes-to-the-pelleys-com-weather-site","status":"publish","type":"post","link":"https:\/\/blog.pelleys.com\/?p=80","title":{"rendered":"Changes to the Pelleys.com Weather Site"},"content":{"rendered":"<p>There have been some changes to the Pelley&#8217;s.com <a title=\"Pelleys.com Weather Site\" href=\"https:\/\/webpics.pelleys.com\" target=\"_blank\">weather site <\/a>over the past few months.\u00a0 There were main two drivers for these changes:<\/p>\n<ol>\n<li>I have been wanting to replace the PC-based workstation that was responsible for gathering the statistics from the weather station; and<\/li>\n<li>The Oregon Scientific WMR-968 weather station&#8217;s sensors either had failed or were in the process of failing.<\/li>\n<\/ol>\n<p>Of the two, the second was the real driver given that without the sensors there could be no weather data.<\/p>\n<p>I was never really satisfied with the old weather data on the site.\u00a0 The software, FreeWX-WI, was growing no longer supported.\u00a0 It was a great product over the years and <span>Andy Keir had really moved on to new things.\u00a0 Mr. Keir provided a great product for <strong><em>free<\/em><\/strong> and it would be too much to expect him to rewrite the application from VisualBasic 6 to VB.Net or whatever.\u00a0 That being said, &#8220;Thank You, Mr. Keir for your wonderful work!&#8221;<\/span><\/p>\n<p>That being said, I never spent the time to get the raw data from the application over to the website and then formatted for presentation.\u00a0 I depended upon the Weather Underground for the presentation and that was Flash based.\u00a0 While I may not like the fact that Apple doesn&#8217;t support Adobe Flash on iOS it is what it is.\u00a0 I have an iPad so it also affected me too.<\/p>\n<p>However, the real driver was that the sensors for the WMR-968 were failing after about five years.\u00a0 The winter of 2010 caused the rain sensor to fail.\u00a0 This wasn&#8217;t such a big deal as rainfall <em>generally<\/em> isn&#8217;t a big interest of mine and it doesn&#8217;t measure snow, not even what we call snow on the northeastern Avalon, so I wasn&#8217;t that concerned.\u00a0 However, when the temperature\/humidity sensor failed &#8211; first the sensor itself and then the solar panel and transmitter &#8211; and then the wind gauge started becoming erratic it was obviously time to fix the problems.\u00a0 When I looked at the solar panel\/transmitter for the wind gauge it was starting to corrode internally.\u00a0 A quick email to <a title=\"Oregon Scientific\" href=\"http:\/\/www.oregonscientific.com\" target=\"_blank\">Oregon Scientific<\/a> showed that I could get replacement sensors, not always exactly the same, the cost was greater than the cost of a new system, the choice became obvious.<\/p>\n<p>The options I considered were the <a title=\"Professional Weather Center WMR200A\" href=\"http:\/\/us.oregonscientific.com\/cat-Weather-sub-Classic-Weather-Stations-prod-Professional-Weather-Center.html\" target=\"_blank\">Oregon Scientific WMR-200<\/a> and the <a title=\"Davis Vantage Vue\" href=\"http:\/\/www.vantagevue.com\/\" target=\"_blank\">Davis Instruments Vantage Vue<\/a>.\u00a0 As much as I&#8217;d really like to go with the Vantage Vue it was far too expensive.\u00a0 Especially when you had to add on either the USB interface or network interface.\u00a0 The Vantage Vue is\u00a0 really, really nice but the budget wouldn&#8217;t accommodate it.\u00a0 Oh well, maybe next time.<\/p>\n<p>I also wanted to remove the dependency on a PC-based workstation collecting and displaying the weather data.\u00a0 To get around this, I had to find a USB-to-IP &#8220;server&#8221;.\u00a0 They tend to be called servers and I guess that they are.\u00a0 One of the challenges was that I originally looking to be able to replace the Osprey 100-based video capture card as well (it was also housed in the weather station PC) that took the weather pictures.\u00a0 This would have meant that the device would have had to have been able to capture video streaming data.\u00a0 (I had an old Belkin Video Bus-II USB capture device that I would have used between the camera and the USB-to-IP server.)\u00a0 I didn&#8217;t find many USB-to-IP servers that would support video.\u00a0 They all supported printers and external hard drives but very few would support streaming video.\u00a0 I found two: the<br \/>\n<a href=\"http:\/\/www.lantronix.com\/support\/discontinued\/ubox.html\" target=\"_blank\">Lantronix UBox 2100<\/a> (since discontinued) and the <a href=\"http:\/\/www.siig.com\/it-products\/device-server\/usb-over-ip\/usb-over-ip-1-port.html\">SIIG USB over IP 1-Port<\/a>.\u00a0 Again, price had to win out.<\/p>\n<p>I&#8217;m not 100% happy with the SIIG.\u00a0 I have a weird issue whereby the device locks up and has to be physically powered off and on to restart.\u00a0 The support from SIIG isn&#8217;t all that great.\u00a0 They email me back to call them but then I can&#8217;t seem to hook up with the tech on the other end.\u00a0 From what I&#8217;ve read others haven&#8217;t found SIIG support a point of excellence.\u00a0 I think that this is an issue with what I suspect is the <a href=\"http:\/\/www.busybox.net\/\">BusyBox<\/a> firmware.\u00a0 There isn&#8217;t a firmware upgrade listed and since I can&#8217;t hook up with SIIG support to find out if they know of the issue.\u00a0 I&#8217;ve done port scans against the appliance and can only find TCP 80 and TCP 515 (printer) &#8211; thus, no way to ssh or telnet into the box.\u00a0 I&#8217;ve also tried digging through the web pages but there doesn&#8217;t seem to be a back door (which is probably a good thing) to get to some diagnostics.\u00a0 Anyway, I think that I can live with it for now.<\/p>\n<p>Of course, the SIIG USB over IP 1-Port, Linux and the Belkin Video Bus-II capture device working.\u00a0 It also didn&#8217;t work very well under a Windows XP virtual machine (more about that later) with respect to CPU loading.\u00a0 I then had to look for a IP Video Server.\u00a0 There are quite a few on the market, or at least eBay, that you can choose from.\u00a0 After digging around, I found the <a href=\"http:\/\/www.aviosys.com\/9100.html\">Aviosys IP Video 9100<\/a>.\u00a0 It was simple and inexpensive.<\/p>\n<p>This still wasn&#8217;t the greatest solution because it really didn&#8217;t have a way of SCP&#8217;ing, or if absolutely necessary, ftp&#8217;ing, the web images.\u00a0 This is where the information from <a href=\"http:\/\/www.canvision.net\/support\/pt300-cgi\/CmdList.htm\">CanVision&#8217;s site <\/a>came to the rescue.\u00a0 I had the URL for the frame grab.\u00a0 Next, <a href=\"http:\/\/www.gnu.org\/s\/wget\/\">wget<\/a> is the solution to download the image from the IP video server.<\/p>\n<p>Why I noted at the start that I wanted to get rid of the PC workstation for the weather station the reality was that I couldn&#8217;t get rid of it.\u00a0 I needed some application server-like device to house the software for the web camera and the USB-to-IP server.\u00a0 The sad fact is that most of the Linux-based software didn&#8217;t really cut the mustard.\u00a0 In addition to that, most of the software, such as the USB-to-IP server, <strong>NEEDED<\/strong> to be run on Windows.\u00a0 However, I now had the ability to virtualize the Windows XP workstation and I have the licence to do so since it was an early standalone copy.\u00a0 I run virtualization at home under <a href=\"https:\/\/www.vmware.com\/tryvmware\/?p=esxi&amp;q=VMware%27s%20ESXi\">VMware&#8217;s ESXi<\/a> 3.5 product.\u00a0 This is a free product that only lacks the fancy features of VMware&#8217;s vSphere product but for free it is great.\u00a0 Those &#8220;in the know&#8221; will note that this isn&#8217;t the most current 4.1 product.\u00a0 The sad fact is that ESXi 4.1 is only 64-bit and my IBM x225 is only 32-bit.\u00a0 It also means that I really don&#8217;t have any way of accessing USB-type devices.\u00a0 Well, that is a bit of a lie: you can but it is unsupported and I don&#8217;t like that.<\/p>\n<p>Anyway, I now have gotten rid of another piece of hardware.<\/p>\n<p>The final part was the weather software.\u00a0 As I noted above, FreeWX is no longer supported or maintained.\u00a0 After searching for new software, and realizing that I had to have Windows for the USB-over-IP client software I decided to stick with Windows, I settled on <a href=\"http:\/\/sandaysoft.com\/\">Sandaysoft&#8217;s Cumulus Weather Station Software<\/a>.\u00a0 It supports the WMR-200 weather station (at least in the beta version which is really stable) and allows me to upload the data to the weather station site.\u00a0 It also uses PHP which is important.<\/p>\n<p>So, what&#8217;s left to do?\u00a0 I am still not satisified with the site&#8217;s layout.\u00a0 I still have to work out the PHP programming to have dynamic weather icons to reflect wind force, etc.\u00a0 And, of course, I still have to resolve the SIIG USB over IP server lockup.<\/p>\n<p>Anyway, take a look at the <a href=\"http:\/\/webpics.pelleys.com\/\">Pelleys.com Weather Site<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There have been some changes to the Pelley&#8217;s.com weather site over the past few months.\u00a0 There were main two drivers for these changes: I have been wanting to replace the PC-based workstation that was responsible for gathering the statistics from &hellip; <a href=\"https:\/\/blog.pelleys.com\/?p=80\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":0,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pelleys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}