{"id":433,"date":"2016-02-16T16:44:28","date_gmt":"2016-02-16T15:44:28","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=433"},"modified":"2016-02-16T16:44:28","modified_gmt":"2016-02-16T15:44:28","slug":"new-plugin-bloomsky","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=433","title":{"rendered":"New Plugin &#8211; BloomSky"},"content":{"rendered":"<div id=\"intro\">This plugin is for users who have the Bloomsky webcam. It uses the Bloomsky API which allows you to save the images to your own server along with the associated meta data. In addition it also saves daily timelapses and then allows you to visualize the data on the page. More features will be available in future updates of this plugin.<\/div>\n<div><\/div>\n<div>As I was not approved for one, I would like to give huge thanks to Tom from Dongan Hills, NY, who provided me remote access to his camera and thus ability to work with the API! Thanks Tom!<\/div>\n<div><\/div>\n<h3>Main features<\/h3>\n<ul>\n<li><span style=\"color: #c21313;\"><strong>shows the most recent image<\/strong><\/span> updated automatically at an interval you specify<\/li>\n<li><span style=\"color: #c21313;\"><strong>periodical saving of images to your server<\/strong><\/span> using a CRON job (timestamp of when the photo was taken is taken into account to prevent saving duplicates)<\/li>\n<li><span style=\"color: #c21313;\"><strong>saving daily timelapse<\/strong><\/span> videos any time a new one is available, up to 5 days to the past<\/li>\n<li>also saving the <span style=\"color: #c21313;\"><strong>image meta data<\/strong><\/span> &#8211; temperature, humidity, pressure, precipitation, UV and then showing these on the page also taking into account the units set in Meteotemplate config.php and converting the numbers if necessary<\/li>\n<li>interactive calendar to view<span style=\"color: #c21313;\"><strong> images from particular day<\/strong><\/span><\/li>\n<li><span style=\"color: #c21313;\"><strong>daily summary<\/strong><\/span> (max\/min of all the parameters, also compared to the values from your station)<\/li>\n<li>possibility to <span style=\"color: #c21313;\"><strong>color the image background based on the meta data<\/strong><\/span><\/li>\n<li>calculation of <span style=\"color: #c21313;\"><strong>sunrise\/sunset and showing the image closest to this time<\/strong><\/span><\/li>\n<li>showing\/saving <span style=\"color: #c21313;\"><strong>always the current\u00a0image<\/strong><\/span> (unlike for example WU, where the delay is up to 45 minutes)<\/li>\n<\/ul>\n<h3>Description<\/h3>\n<p>This plugin is for those users who have the Bloomsky webcam.<\/p>\n<p>First get your free API key and insert this in the plugin settings. This will pair the plugin with the data from your camera. Then, using a CRON job, the plugin will periodically save the current image to your own server. You can specify the save interval and the plugin also takes into account when that image was actually taken and only saves it if it is not the same as the last saved image. The plugin will also always check if a new daily timelapse is available and if so, it will save it as well (up to 5 days to the past). In addition, the actual image is saved twice. Once in its original size and also a copy of it as a thumbnail, which is small and so the pages with lots of images load very fast and only when you click a particular image, the full version is loaded.<\/p>\n<p>The images are saved on your server, but also all the metadata associated with this image are saved in a database, which is created automatically by the template. This way, the plugin can then pair this data with the particular image when displaying it, allowing all sorts of filtering and visualization.<\/p>\n<p>On the main page there is the most recent image available, you can set the interval and it will update automatically without the need to refresh the page. This interval is different from the interval at which the images are saved so you can set it quite short if you want your image to update often.<\/p>\n<p>Next to the current image is a calendar where the user can select a particular day. Then, the plugin will load all the data available for that day. First it will check if daily timelapse is available. If so, it will be shown in a videoplayer, which includes options such as pause, view full screen etc.<\/p>\n<p>Below the video a summary block will show you the max\/min measured by both the camera and your station for that day. There is also the sunrise and sunset times and an image that is closest to this time (if available, the script checks and only shows the image if it is within one hour after the sunrise or sunset)<\/p>\n<p>Next is a table of the actual images grouped by hours. Each hour for which there is some image is shown along with the data associated with that image (temperature, humidity, pressure, precipitation, UV) and of course the time the picture was taken (taken, not the time when it was saved). You can also click one of the buttons above to change the background of the images based on particular parameter. For example, if you click the temperature, the image with the lowest temperature on that day will have a dark blue background, while the one with the highest temperature will be dark red. Same can be done for humidity, pressure and UV. Each image is shown as the thumbnail and when clicked, will open in the original full view.<\/p>\n<p>The camera does not measure the actual amount of precipitation, but it reports it as true or false. Therefore if you click the button Show precipitation, only images which have the tag rain as true will be displayed (if none, then all images will disappear).<\/p>\n<p>&nbsp;<\/p>\n<p>Instructions how to install and screenshots:<\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/web\/plugins\/bloomSky.php\" target=\"_blank\">http:\/\/www.meteotemplate.com\/web\/plugins\/bloomSky.php<\/a><\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"433\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>This plugin is for users who have the Bloomsky webcam. It uses the Bloomsky API which allows you to save the images to your own server along with the associated meta data. In addition it also saves daily timelapses and then allows you to visualize the data on the page. More features will be available &#8230; <a title=\"New Plugin &#8211; BloomSky\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=433\">Read more<span class=\"screen-reader-text\">New Plugin &#8211; BloomSky<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":436,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[4],"tags":[106,6],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2016\/02\/camera-e1492947869357.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/433"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=433"}],"version-history":[{"count":6,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/433\/revisions"}],"predecessor-version":[{"id":440,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/433\/revisions\/440"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/436"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}