{"id":867,"date":"2016-03-05T16:16:31","date_gmt":"2016-03-05T14:16:31","guid":{"rendered":"http:\/\/lallafa.de\/blog\/?p=867"},"modified":"2016-03-05T16:16:31","modified_gmt":"2016-03-05T14:16:31","slug":"pifon-2-0-released","status":"publish","type":"post","link":"https:\/\/lallafa.de\/blog\/2016\/03\/pifon-2-0-released\/","title":{"rendered":"pifon 2.0 released"},"content":{"rendered":"<p>Due to recent events (I became a dad a second time \ud83d\ude42 I revisited my audio baby monitor project for Raspberry Pis called <a href=\"http:\/\/lallafa.de\/blog\/raspberry-pi-projects\/project-pifon\/\">Pifon<\/a>. The former setup of having one Pi observing one room is not enough anymore and therefore the new version adds <strong>multi-room support!<\/strong><\/p>\n<div id=\"attachment_855\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg\" rel=\"attachment wp-att-855\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-855\" data-attachment-id=\"855\" data-permalink=\"https:\/\/lallafa.de\/blog\/raspberry-pi-projects\/project-pifon\/pifon04\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?fit=1087%2C723&amp;ssl=1\" data-orig-size=\"1087,723\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"pifon04\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;mon observing 2 fon clients &lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?fit=300%2C200&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?fit=584%2C388&amp;ssl=1\" class=\"size-medium wp-image-855\" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04-300x200.jpg?resize=300%2C200\" alt=\"mon observing 2 fon clients \" width=\"300\" height=\"200\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?resize=768%2C511&amp;ssl=1 768w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?resize=1024%2C681&amp;ssl=1 1024w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?resize=150%2C100&amp;ssl=1 150w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?resize=400%2C266&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?w=1087&amp;ssl=1 1087w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-855\" class=\"wp-caption-text\">mon observing 2 fon clients now<\/p><\/div>\n<p>Now you can add as many fon clients as you like. Well, at least up to 3 will be shown in the new UI on the LCD \ud83d\ude42 All others are still handled but not shown.<\/p>\n<p>While hacking the source I almost completely rewrote the XMPP based bots for mon and fon parts and added some nice features along the way: Configuration is a lot easier now and <strong>audio streaming was optimized<\/strong>.<\/p>\n<p>Now a direct SSH pipe is created to connect the microphone device on the fon unit with the player on the mon unit. In favor of this new approach the old way of using a streaming server was dropped. (If you still need it then the new config freedom allows you to simple add the necessary commands again.)<\/p>\n<p>Finally, the UI on the 16&#215;2 LCD was greatly improved and can now show scrolling text if something interesting happens and furthermore draws nice bar graphs showing the incoming audio levels:<\/p>\n<div id=\"attachment_863\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png\" rel=\"attachment wp-att-863\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-863\" data-attachment-id=\"863\" data-permalink=\"https:\/\/lallafa.de\/blog\/raspberry-pi-projects\/project-pifon\/pifonsim02\/\" data-orig-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?fit=1088%2C460&amp;ssl=1\" data-orig-size=\"1088,460\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"pifonsim02\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Pifon mon running in simulator. Showing some activity bars&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?fit=300%2C127&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?fit=584%2C247&amp;ssl=1\" class=\"size-medium wp-image-863\" src=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02-300x127.png?resize=300%2C127\" alt=\"Pifon mon running in simulator. Showing some activity bars\" width=\"300\" height=\"127\" srcset=\"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?resize=300%2C127&amp;ssl=1 300w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?resize=768%2C325&amp;ssl=1 768w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?resize=1024%2C433&amp;ssl=1 1024w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?resize=150%2C63&amp;ssl=1 150w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?resize=400%2C169&amp;ssl=1 400w, https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifonsim02.png?w=1088&amp;ssl=1 1088w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-863\" class=\"wp-caption-text\">Pifon mon running in simulator. Showing some activity bars<\/p><\/div>\n<p>The screenshot shows the new <strong>LCD simulator<\/strong> that allows you to run the mon client also on a system without real HW LCD connected (but you then need PyGame for display)&#8230;<\/p>\n<p>Now head over to the new <a href=\"http:\/\/lallafa.de\/blog\/raspberry-pi-projects\/project-pifon\/\">pifon Project Page<\/a> and start building your own now!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Due to recent events (I became a dad a second time \ud83d\ude42 I revisited my audio baby monitor project for Raspberry Pis called Pifon. The former setup of having one Pi observing one room is not enough anymore and therefore &hellip; <a href=\"https:\/\/lallafa.de\/blog\/2016\/03\/pifon-2-0-released\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":855,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8,16],"tags":[],"class_list":["post-867","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hardware","category-raspberry-pi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/lallafa.de\/blog\/wp-content\/uploads\/2016\/03\/pifon04.jpg?fit=1087%2C723&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/piBMF-dZ","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/comments?post=867"}],"version-history":[{"count":2,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/867\/revisions"}],"predecessor-version":[{"id":869,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/posts\/867\/revisions\/869"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/media\/855"}],"wp:attachment":[{"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/media?parent=867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/categories?post=867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lallafa.de\/blog\/wp-json\/wp\/v2\/tags?post=867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}