<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Space Vegetables - #20 | Software #5: Client #1</title><link>/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/space-vegetables---20-software-5-client-1</link><description>Hello ! Hope all are safe and sound. This is the last post about the software that drives the Space Vegetables Project - the client.More info on the design: Space Vegetables - #5 : System concept and design Space Vegetables - #6 : Software Design S..</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Space Vegetables - #20 | Software #5: Client #1</title><link>https://community.element14.com/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/space-vegetables---20-software-5-client-1</link><pubDate>Wed, 06 Jan 2021 08:31:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f4db295-74d6-44e7-bd38-a6555d470c13</guid><dc:creator>ilvyanyatka</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It is some serious coding you have there!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why do you need both Enviro HAT and STH21 to monitor the humidity? And where is your Enviro HAT located and what do you use its values for? &lt;/p&gt;&lt;p&gt;I see a big difference - 29% vs 88% in these 2 sensors. &lt;/p&gt;&lt;p&gt;Thank you!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10493&amp;AppID=269&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Space Vegetables - #20 | Software #5: Client #1</title><link>https://community.element14.com/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/space-vegetables---20-software-5-client-1</link><pubDate>Fri, 18 Dec 2020 19:47:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f4db295-74d6-44e7-bd38-a6555d470c13</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very good update, well explained.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10493&amp;AppID=269&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Space Vegetables - #20 | Software #5: Client #1</title><link>https://community.element14.com/challenges-projects/design-challenges/1-meter-of-pi/b/blog/posts/space-vegetables---20-software-5-client-1</link><pubDate>Fri, 18 Dec 2020 15:59:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f4db295-74d6-44e7-bd38-a6555d470c13</guid><dc:creator>ajcc</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;This is so neat! I love that you&amp;#39;re making use of the displays on the two HATs for the client and server status (as shown last week). I can understand why you went for the server approach now that I see how much data you&amp;#39;re collecting from the space farm. But I keep forgetting that you&amp;#39;re solving problems that arise when your farm is far away in space, so you needed the server anyway and just brought it all together with the nice web interface/dashboard/client.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The Automation HAT mini seem to be using the GPIO pins directly, so if you&amp;#39;re using their library &lt;a class="jive-link-external-small" href="https://github.com/pimoroni/automation-hat/blob/master/library/automationhat/__init__.py#L377" rel="nofollow ugc noopener" target="_blank"&gt;it&amp;#39;s calling GPIO.cleanup() when it&amp;#39;s done&lt;/a&gt; to leave the GPIO in a known/safe state (i.e. as high impedance inputs). Not sure if this is because &lt;a class="jive-link-external-small" href="https://raspberrypi.stackexchange.com/questions/76564/is-there-a-way-to-read-the-pullup-status-of-a-gpio-pin-in-python-with-or-if-not" rel="nofollow ugc noopener" target="_blank"&gt;you can&amp;#39;t read back the pull-up/down settings&lt;/a&gt; from the GPIO registers on the Raspberry Pi, or it&amp;#39;s just a good design choice to prevent unintentional shorts.&lt;/p&gt;&lt;p&gt;I&amp;#39;m guessing this is why you&amp;#39;re having issues with the outputs not staying on? So the way you solved it seems like an excellent solution!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The HTU21 sensor seem really nice, I have to get myself one of those modules.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Happy to hear the ghosts are still behaving themselves &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-4f4db295-74d6-44e7-bd38-a6555d470c13/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=10493&amp;AppID=269&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>