{"id":1338,"date":"2019-05-01T12:32:49","date_gmt":"2019-05-01T10:32:49","guid":{"rendered":"https:\/\/www.honey-pi.de\/?p=1338"},"modified":"2020-03-09T22:04:32","modified_gmt":"2020-03-09T21:04:32","slug":"firmware-v0-1-1","status":"publish","type":"post","link":"https:\/\/honey-pi.de\/en\/firmware-v0-1-1\/","title":{"rendered":"Firmware v0.1.1 &#8211; Now with Updates, Offline Measurement and WittyPi"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">New features<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Offline measurements. If you do not have an internet connection or would like to have an additional CSV file, this is now possible. The CSV file can even be imported into the ThingSpeak Channel and visualized by our Web\/iOS app.<\/li><li>Support of the optional timer module WittyPi <\/li><li>System updates. The memory card does not have to be removed every time. If problems occur, such as the recent outliers in weight measurement, updates can be distributed faster.<\/li><li>Support of another sensor: BME280 (same as connecting BME680)<\/li><li>Further improvements: Measuring interval accuracy, upgrade to Python3 and the latest Raspbian Lite Image (Nov&#8217;18).<\/li><li>Weight measurement with fewer outliers<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Important changes &#8211; read them beforehand<\/h2>\n\n\n\n<p><strong>The pins have partly changed!<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The button is not on GPIO17 as before, but on <a href=\"https:\/\/de.pinout.xyz\/pinout\/pin36_gpio16#\">GPIO16<\/a>. Via the maintenance mode user interface this pin assignment can be changed to another free GPIO.<\/li><li>The 1-Wire PIN is not GPIO4 as before, but GPIO11 now. <a href=\"https:\/\/de.pinout.xyz\/pinout\/pin23_gpio11#\">GPIO1<\/a>1 is used for the DS18b20 sensors. You cannot change back to GPIO4, but to other free GPIOs.<\/li><li>The <a href=\"\/teil-3-adapter-lk-fuer-grove-stecker\/\">Grove connector board from Alexander<\/a>, can still be used, if you change the cables.<\/li><\/ul>\n\n\n\n<p><strong>The settings file<\/strong> (<em>settings-export.json<\/em>) <strong>is not compatible<\/strong> and should therefore not be imported! In the future, we will try to keep a cross-version compatibility, especially for the faster system updates.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Operating instructions Push-button<\/h2>\n\n\n\n<p>The button must be pressed for at least 500ms and a maximum of 3 seconds. This switches between measuring mode and maintenance mode (visible on the LED). Originally the at least 500ms press was introduced to prevent unwanted switching.<\/p>\n\n\n\n<p>If the button is held down for more than 5 seconds, the Raspberry will shut down properly. This protects the memory card instead of simply disconnecting the power as before.<\/p>\n\n\n\n<p>With Raspi Zero you should also give the system enough time to start up before you press the button and then connect to the &#8220;HoneyPi&#8221; Wlan after the maintenance mode has been activated.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preview<\/h2>\n\n\n\n<figure class=\"wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline-1024x654.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/www.honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline-1024x654.jpg\" alt=\"\" data-id=\"1350\" data-link=\"https:\/\/www.honey-pi.de\/firmware-v0-1-1\/wartungsmodus-offline\/\" class=\"wp-image-1350\" srcset=\"https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline-1024x654.jpg 1024w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline-300x191.jpg 300w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline-768x490.jpg 768w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline-660x421.jpg 660w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Offline.jpg 1338w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Systemupdates.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"712\" src=\"https:\/\/www.honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Systemupdates.jpg\" alt=\"\" data-id=\"1351\" data-link=\"https:\/\/www.honey-pi.de\/firmware-v0-1-1\/wartungsmodus-systemupdates\/\" class=\"wp-image-1351\" srcset=\"https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Systemupdates.jpg 950w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Systemupdates-300x225.jpg 300w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Systemupdates-768x576.jpg 768w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-Systemupdates-660x495.jpg 660w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi-1024x734.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"734\" src=\"https:\/\/www.honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi-1024x734.jpg\" alt=\"\" data-id=\"1352\" data-link=\"https:\/\/www.honey-pi.de\/firmware-v0-1-1\/wartungsmodus-wittypi\/\" class=\"wp-image-1352\" srcset=\"https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi-1024x734.jpg 1024w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi-300x215.jpg 300w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi-768x551.jpg 768w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi-660x473.jpg 660w, https:\/\/honey-pi.de\/wp-content\/uploads\/Wartungsmodus-WittyPi.jpg 1350w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Bugs, inconveniences and errors in v0.1.1:<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The WLAN password must not contain the character &#8220;\/&#8221; (without quotation marks).<\/li><li>DS18b20 simply logs off after x time.<ul><li>&#8220;Repeated in an infinite loop, the same temperature is always reported. This loop is only interrupted by a restart and the correct temperature is reported again.&#8221;<\/li><li>&#8220;Problems with the 2 DS18B20 sensors. After x hours -0, 06 degrees Celsius. In maintenance mode, the fields for both device IDs are blank.&#8221;<\/li><li>Solution: There are two very suitable solutions, see Facebook group. <\/li><li>Temporary solution: Reduction of resistance from 4.7k to 1k ohm.<\/li><\/ul><\/li><li>Connection problems Maintenance mode (wait a bit until you connect)<ul><li>Temporary solution in version v0.1.1: After switching to maintenance mode you have to wait a long time for the HoneyPi WLAN to set up properly. After that you have to wait again for a long time. Several minutes. After that the connection remained stable. Waited in total approx. 5min.<\/li><\/ul><\/li><li>WittyPi Problems<ul><li><s><strong>Without WLAN<\/strong>: &#8220;Can I change the transmission attempts or the starting point of the measurement after the system start? Background: the WittyPi wakes up the RasPi for 5 minutes, I have set single transmission after system start as measurement cycle. Now it comes before that after the start measurement is made, the transmission does not always work because the SurfStick is not yet connected. As workaround I wake up for 10min and measure every 5 minutes. So I get at least one value reported.&#8221;<\/s> <ul><li>Solution: Technically I prefer the following => measurement takes place as usual (also because of offline measurement in CSV file), but if the internet connection fails I try again until it works (max. 3 times every 5sec I would have thought about it now)<\/li><\/ul><\/li><li><strong>With WLAN<\/strong>: &#8220;In the 5 minutes I make 3 transmissions, the first of which is always about 2 minutes after the wake-up time. If I measure every 1 minute in the 5 minutes window in which the Pi is awake, I have again runaways no matter whether with or without WLAN. However, if I leave the Pi awake for 15 minutes and measure every 5 minutes, I don&#8217;t have outliers anymore.&#8221;<ul><li>Solution: Perhaps even the second measurement starts too early, although the first is not even completely completed.<\/li><\/ul><\/li><li><strong>Time synchronization<\/strong>: This runs immediately after system start, i.e. before the SurfStick has established a connection. Thus everything always starts at 00:00 o&#8217;clock. This is actually only a problem if you want to measure different times at night than during the day or real time.<ul><li>Temporary solution: sudo .\/WittyPi\/WittyPi.sh Then the WittyPi Config program should start. There you can see all relevant times and if you enter &#8220;3&#8221; the clocks will be synchronized. The Raspi has to be connected to the internet before, no matter if via stick or Wlan.<\/li><li>Technical solution: Perform synchronization when saving settings in maintenance mode.<\/li><\/ul><\/li><\/ul><\/li><li>Enter offset and scaling: Smartphone can&#8217;t do a &#8220;-&#8221; and a &#8220;.&#8221; but with the tablet it was working then.<\/li><li>If I don&#8217;t have a ThingsSpeak account set up, local CSV storage won&#8217;t work.<\/li><li>Security: WLAN Password<\/li><\/ul>\n\n\n\n<p><strong>Legend<\/strong>: <s>Stroke through<\/s> items have been fixed in the newer firmware version.<\/p>\n\n\n<p style=\"text-align: right;\"><!--EndFragment--><em>Translated 19.10.2019 by JK<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>New features Offline measurements. If you do not have an internet connection or would like to have an additional CSV file, this is now possible. The CSV file can even be imported into the ThingSpeak Channel and visualized by our Web\/iOS app. Support of the optional timer module WittyPi System updates. The memory card does not have to\u2026 <span class=\"read-more\"><a href=\"https:\/\/honey-pi.de\/en\/firmware-v0-1-1\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,7],"tags":[],"class_list":["post-1338","post","type-post","status-publish","format-standard","hentry","category-release","category-news"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"en","enabled_languages":["de","en"],"languages":{"de":{"title":true,"content":true,"excerpt":false},"en":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/posts\/1338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/comments?post=1338"}],"version-history":[{"count":22,"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/posts\/1338\/revisions"}],"predecessor-version":[{"id":1885,"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/posts\/1338\/revisions\/1885"}],"wp:attachment":[{"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/media?parent=1338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/categories?post=1338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/honey-pi.de\/en\/wp-json\/wp\/v2\/tags?post=1338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}