{"id":3299,"date":"2015-08-24T13:09:11","date_gmt":"2015-08-24T13:09:11","guid":{"rendered":"https:\/\/www.lugbz.org\/?p=5"},"modified":"2015-08-24T13:09:11","modified_gmt":"2015-08-24T13:09:11","slug":"babs-camp-2015","status":"publish","type":"post","link":"https:\/\/ww2.lugbz.org\/?p=3299","title":{"rendered":"BABS camp 2015"},"content":{"rendered":"<p><a href=\"https:\/\/ww2.lugbz.org\/wp-content\/uploads\/2015\/08\/IMG_20150606_111624.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11\" src=\"https:\/\/ww2.lugbz.org\/wp-content\/uploads\/2015\/08\/IMG_20150606_111624.jpg\" alt=\"IMG_20150606_111624\" width=\"4160\" height=\"3120\" \/><\/a>We would like to thank <a href=\"https:\/\/plus.google.com\/115439168401546766634\" target=\"_blank\" rel=\"noopener noreferrer\">Stefano Martinelli<\/a> for providing us with a wonderful summary about the talks during the BABS Camp 2015 this year!<\/p>\n<p><strong>Shaun Schutte: Smarthomes with Free Software<\/strong><\/p>\n<p>Currently there aren&#8217;t free software applications for home automation but only standardized protocols for bus, channel and assigning group addresses, the fundamental parts of a smarthome architecture. Shaun built with a Raspberry-Pi an infrastructure to control light switches, monitor the opening of windows, &#8230; at home.<br \/>\nEach traditional device such lights, heating, alarms can be connected to a smarthome network using KNX switches. The connection between switches (bus) requires special cables, unfortunately it is not possible (or it is hard) to use the pre-existent electric or lan wiring for this purpose.<br \/>\nTo control the devices such opening a window or shutting down a light and to read the state of the various devices you could use Python scripts. With Python you can create triggers and logics as well, for example if the door is open for more than 10 minutes send me an email.<br \/>\nOn GitHub there is a project called SmartHome.py where you can find the documentation on how to set up the Raspberry-Pi and a lot of Python script and plugins as well, for example to send push notification to Android devices, to smart-tv, XBMC, to get the exact sunrise and sunset time based on your location and so on.<br \/>\nsmartVISU is a framework to create a visualisation for a knx-installation with simple html-pages, it can run with a Lighthttpd web-server on the RPI.<\/p>\n<p><strong>Big Bang Theory (X10 Scene):<\/strong> <a href=\"https:\/\/www.youtube.com\/watch?v=PqFSRwgqgYk\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.youtube.com\/watch?v=PqFSRwgqgYk<\/a><br \/>\n<strong>Smarthome<\/strong>: <a href=\"http:\/\/www.smarthome.eu\/a\/introduction.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.smarthome.eu\/a\/introduction.html<\/a> &#8211; <a href=\"http:\/\/www.smarthome.eu\/a\/order-general-guide.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.smarthome.eu\/a\/order-general-guide.html<\/a><br \/>\n<strong>ETS:<\/strong> <a href=\"http:\/\/www.smarthome.eu\/a\/order-plans-ets.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.smarthome.eu\/a\/order-plans-ets.html<\/a><br \/>\n<strong>KNX Standard:<\/strong> <a href=\"http:\/\/en.wikipedia.org\/wiki\/KNX_(standard)\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/en.wikipedia.org\/wiki\/KNX_(standard)<\/a> *KNX\/IP router:* <a href=\"http:\/\/www.gira.com\/en\/gebaeudetechnik\/systeme\/knx-eib_system\/knx-produkte\/systemgeraete\/knx-ip-router.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.gira.com\/en\/gebaeudetechnik\/systeme\/knx-eib_system\/knx-produkte\/systemgeraete\/knx-ip-router.html<\/a><br \/>\n<strong>SmartHome.py Github:<\/strong><br \/>\n<a href=\"https:\/\/github.com\/mknx\/smarthome\/wiki\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/mknx\/smarthome\/wiki<\/a><br \/>\n<a href=\"http:\/\/mknx.github.io\/smarthome\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/mknx.github.io\/smarthome\/<\/a><br \/>\n<a href=\"http:\/\/mknx.github.io\/smarthome\/plugin.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/mknx.github.io\/smarthome\/plugin.html<\/a><br \/>\n<strong>smartVISU:<\/strong><br \/>\n<a href=\"http:\/\/www.smartvisu.de\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.smartvisu.de\/<\/a><br \/>\n<a href=\"http:\/\/demo.smartvisu.de\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/demo.smartvisu.de\/<\/a><br \/>\n<a href=\"https:\/\/github.com\/Martin-Gleiss\/smartvisu\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/Martin-Gleiss\/smartvisu<\/a><\/p>\n<p><strong>Daniele Gobbetti: I would like to say something about homegear and Openhab<\/strong><br \/>\nDaniele has built a different kind of smarthome implementation, using Banana-PI, a single-board computer connected to a radiofrequency controller through its GPIO-pins. This architecture allows the controlling of valves, thermostates, light switches and does not require wiring, so it is cheap and suitable for old homes as well.<br \/>\nWhen Daniele&#8217;s girlfriend leaves the home, her smartphone sends an automatic XMPP message to the Banana-Pi and the valve drives shut down the radiators; so, with some valve drives, one Banana-Pi and a 11euro radiofrequency controller, Daniele has achieved a 20% of energy saving!<br \/>\nThere is a professional implementation of this system for about 200euro, but it does not check if the messages are successfully received, although the protocol supports ACK! If the message that should switch on again the radiators is lost, Daniele may find a cold home when he comes back from work!<br \/>\n<strong>www.homegear.eu<\/strong> suggests a more reliable solution that supports SSL Encryption for the RF-Bus as well.<br \/>\nOpenHAB uses the smarthome protocol and provides the software layer; it supports the XMPP Protocol allowing a smartphone to send commands and receive information. It&#8217;s written in Java, for this reason a Banana-PI with 1GB of RAM is better than a Raspberry-PI!<br \/>\n<a href=\"http:\/\/www.mysensors.org\">www.mysensors.org<\/a> is a DIY-Bible for the smarthome automation, with information, APIs and a store that covers from small components to complete solutions. It is not guarenteed he has the best prices, but it gives a good starting point to know what exists.<\/p>\n<p><strong>HOMEGEAR<\/strong> how to build the RF-infrastructure: <a href=\"https:\/\/www.homegear.eu\/index.php\/Main_Page\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.homegear.eu\/index.php\/Main_Page<\/a><br \/>\n<strong>OpenHAB<\/strong> software automation solution: <a href=\"http:\/\/www.openhab.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.openhab.org\/<\/a><br \/>\n<strong>MySensors ORG:<\/strong> http:\/\/www.mysensors.org\/<br \/>\n<strong>BananaPI<\/strong> single-board computer: http:\/\/www.bananapi.org\/p\/product.html<\/p>\n<p><strong>Michele Baldessari: Linux Clusters &#8211; A short introduction<\/strong><br \/>\nMichele does an introduction of the cluster concepts and talked about the evolution of this kind of architecture (in year 2007 was more complex and hard to mantain than today).<br \/>\n<strong>Quorum:<\/strong> the majority of active nodes take decisions in the cluster<br \/>\nCluster types: A\/P, A\/A, N+1<br \/>\n<strong>Fencing:<\/strong> a mandatory mechanism that separates a cluster node from the resources it manages to prevent locking or data corruption if the node is faulty. Without fencing, a cluster cannot be called cluster!<br \/>\n<strong>OCF scripts:<\/strong> a recommended standard for startup\/stop\/&#8230; scripts in a linux cluster (OCF stands for OpenClusterFramework)<br \/>\n<strong>PACEMAKER:<\/strong> an open source resource manager software used on computer clusters since 2004. Until about 2007, it was part of the Linux-HA project, then was split out to be its own project.<br \/>\nIn the second part of the talk he showed us a practical demontration of a linux cluster running on a virtual machine (QEMU).<\/p>\n<p><strong>Cluster Concepts:<\/strong> <a href=\"http:\/\/linux-ha.org\/wiki\/Cluster_Concepts\">http:\/\/linux-ha.org\/wiki\/Cluster_Concepts<\/a><br \/>\n<strong>Open Cluster Framework:<\/strong> <a href=\"http:\/\/www.opencf.org\/home.html\">http:\/\/www.opencf.org\/home.html<\/a> &#8211; <a href=\"http:\/\/en.wikipedia.org\/wiki\/Open_Cluster_Framework\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/en.wikipedia.org\/wiki\/Open_Cluster_Framework<\/a><br \/>\n<strong>OCF Resource Agents:<\/strong> <a href=\"http:\/\/linux-ha.org\/wiki\/OCF_Resource_Agents\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/linux-ha.org\/wiki\/OCF_Resource_Agents<\/a><br \/>\n<strong>PACEMAKER:<\/strong> <a href=\"http:\/\/clusterlabs.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/clusterlabs.org\/<\/a><\/p>\n<p><strong>Philipp Zedler: Django A better web framework<\/strong><br \/>\nPhilipp tells us how the Django framework defines and implements good design. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing code without needing to reinvent the wheel.<br \/>\nIn a head-to-head comparison between Drupal and Django, Philipp showed us different approaches to common problems, such data retrieval and presentation. With Django we write less and more readable code, but a right objection comes to mind: if we (ab)use the import mechanism we may incur in a huge memory load.<\/p>\n<p><strong>DJANGO Web Framework:<\/strong> <a href=\"https:\/\/www.djangoproject.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.djangoproject.com\/<\/a><br \/>\n<strong>DJANGO Philipp:<\/strong> <a href=\"http:\/\/www.django-philipp.de\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.django-philipp.de<\/a><\/p>\n<p><strong>Roland Kofler: Build a better product, with discrete choice experiments<\/strong><br \/>\nWhich kind of product would you buy?<br \/>\nWhich is the key-property of a product which leads to decision (price, battery-life for a smartphone, color)?<br \/>\nHow much a customer is prepared to pay?<br \/>\nA proper analytics system can give us the answer about the right direction where to focus our efforts.<br \/>\nIf the key-property is the battery life of a smartphone instead of the pixel density, we should focus our work to produce better batteries instead of displays.<br \/>\nOften the cheapest price is not the right answer. For example, we prefer to pay 30$ more on Amazon that is well known, trusted and ships quickly respect to another unknown e-commerce site.<br \/>\nRoland talks about some instruments to make conjoint analysis, how to make the right polls and how to read the results.<br \/>\nThis can be extended to a large number of use-cases, for example the conversions of an e-commerce site. Our customers buys always the cheapiest products or the products that are better described?<\/p>\n<p><strong>CONJOINT ANALYSIS:<\/strong> <a href=\"https:\/\/www.youtube.com\/watch?v=Su2qIrTmv1c\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.youtube.com\/watch?v=Su2qIrTmv1c<\/a> &#8211; <a href=\"http:\/\/www.conjoint.it\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.conjoint.it\/<\/a><br \/>\n<strong>Sawtooth software<\/strong> Market leader: <a href=\"http:\/\/www.sawtoothsoftware.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.sawtoothsoftware.com\/<\/a><br \/>\n<strong>R Language<\/strong> and <strong>RStudio:<\/strong> <a href=\"http:\/\/www.amazon.com\/Marketing-Research-Analytics-Use\/dp\/3319144359\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.amazon.com\/Marketing-Research-Analytics-Use\/dp\/3319144359<\/a><\/p>\n<p><strong>Daniele Gobbetti: GadgetBridge &#8211; How to interact with &#8220;wearable devices&#8221; using free software<\/strong><br \/>\nDaniele bought MiBand, a wearable fitness device produced by XIAOMI that monitors activity levels, such steps, walking distance, ecc&#8230;<br \/>\nAnalyzing the tracked data it can be understood the quality of sleep as well, for example the tracking of involuntary movements can estimate the duration of the deep sleep.<br \/>\nMiBand records 3 bytes for every sample (one per minute) :<br \/>\n1) kind of activity (light-sleep \/ deep sleep)<br \/>\n2) intensity<br \/>\n3) activity duration<br \/>\nThis armband is cheap but there is a big problem, the vendor&#8217;s application is closed source and forces to create an account and transmit any of your data to the vendor&#8217;s servers! But Daniele found Gadgetbridge on F-DROID, an alternative android-market with a catalogue of FOSS applications.<br \/>\nThis application works well but Daniele notices wrong trackings with the passing of days. The reason? MiBand doesn&#8217;t know the date because of the missing first-initialization performed only by the vendor&#8217;s official app.<br \/>\nAlso Daniele downloads the official app, disassambled it and by reading the SMALI code found where and how to send the date to the device, submits the result of his investigation to the app developer and now Gadgetbridge performs the correct calculation.<br \/>\nAt the moment Daniele is trying to understand how to send firmware updates to MiBand, so stay tuned on GadgetBridge@FDROID \ud83d\ude00<\/p>\n<p><strong>Mi Band<\/strong> official site: <a href=\"http:\/\/www.mi.com\/sg\/miband\/#01\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.mi.com\/sg\/miband\/#01<\/a><br \/>\n<strong>Mi Band<\/strong> on <strong>Reddit:<\/strong> <a href=\"http:\/\/www.reddit.com\/r\/miband\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.reddit.com\/r\/miband\/<\/a> *Amazon-IT 24.99EURO spedizione gratuita:* <a href=\"http:\/\/www.amazon.it\/Bracciale-Fitness-braccialetto-Contapassi-ORIGINALE\/dp\/B00NHPQV8A\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.amazon.it\/Bracciale-Fitness-braccialetto-Contapassi-ORIGINALE\/dp\/B00NHPQV8A<\/a><br \/>\n<strong>Gadgetbridge<\/strong> on <strong>FDROID:<\/strong> <a href=\"https:\/\/f-droid.org\/repository\/browse\/?fdid=nodomain.freeyourgadget.gadgetbridge\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/f-droid.org\/repository\/browse\/?fdid=nodomain.freeyourgadget.gadgetbridge<\/a> *F-DROID android-market:* <a href=\"https:\/\/f-droid.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/f-droid.org\/<\/a><br \/>\n<strong>FOSS:<\/strong> <a href=\"http:\/\/en.wikipedia.org\/wiki\/Free_and_open-source_software\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/en.wikipedia.org\/wiki\/Free_and_open-source_software<\/a><br \/>\n<strong>SMALI<\/strong> code: <a href=\"https:\/\/code.google.com\/p\/smali\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/code.google.com\/p\/smali\/<\/a> *RW-BLE Rivierawaves-ble MiBand <strong>chipset:<\/strong>* <a href=\"http:\/\/www.rivierawaves.com\/index.php?option=com_content&amp;view=article&amp;id=46\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.rivierawaves.com\/index.php?option=com_content&amp;view=article&amp;id=46<\/a><\/p>\n<p><strong>Stefano Martinelli: TouchPico<\/strong>\u00a0(I did not bring slides but I took the projector ;-))<br \/>\nA live demonstration of the Touchjet Pond, a portable Pico-Project running Android 4.4.2 that turn any surface in a touchscreen.<br \/>\nBought on a crowdfunding campaign on Indiegogo.<\/p>\n<p><strong>Touchjet<\/strong> Official Site: <a href=\"http:\/\/www.touchjet.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.touchjet.com\/<\/a><br \/>\n<strong>Indiegogo Campaign:<\/strong> <a href=\"https:\/\/www.indiegogo.com\/projects\/touchjet-pond-turn-any-surface-into-a-touchscreen#\/story\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.indiegogo.com\/projects\/touchjet-pond-turn-any-surface-into-a-touchscreen#\/story<\/a><\/p>\n<p>I wrote two public post on my Google Plus Profile about my TouchPico&#8217;s home-tests, everything I said at BabsCamp-2015 and something more is in the following posts and relative photo-albums:<\/p>\n<p>2015-06-02 <a href=\"https:\/\/goo.gl\/lH7A9u\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/goo.gl\/lH7A9u<\/a> *2015-06-06* <a href=\"https:\/\/goo.gl\/O05yUF\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/goo.gl\/O05yUF<\/a><\/p>\n<p><strong>Diego Maniacco: LibreItalia<\/strong><br \/>\nDiego told us about The Document Foundation, the home of LibreOffice.<\/p>\n<p><strong>The Document Foundation:<\/strong> <a href=\"http:\/\/www.documentfoundation.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.documentfoundation.org\/<\/a><br \/>\n<strong>LibreOffice:<\/strong> <a href=\"http:\/\/www.libreoffice.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.libreoffice.org\/<\/a><br \/>\n<strong>LibreItalia:<\/strong> <a href=\"http:\/\/www.libreitalia.it\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.libreitalia.it\/<\/a><br \/>\n<strong>LibreItalia G+ Community:<\/strong> <a href=\"https:\/\/plus.google.com\/communities\/112723936192138250992\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/plus.google.com\/communities\/112723936192138250992<\/a><\/p>\n<p>The link to the orignal post can be found here: <a href=\"https:\/\/plus.google.com\/+StefanoMartinelli\/posts\/b9tMbNpTCgL\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/plus.google.com\/+StefanoMartinelli\/posts\/b9tMbNpTCgL<\/a><\/p>\n<p><em>Shaun Schutte<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We would like to thank Stefano Martinelli for providing us with a wonderful summary about the talks during the BABS Camp 2015 this year! Shaun Schutte: Smarthomes with Free Software Currently there aren&#8217;t free software applications for home automation but only standardized protocols for bus, channel and assigning group addresses, the fundamental parts of a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3299","post","type-post","status-publish","format-standard","hentry","category-events"],"_links":{"self":[{"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=\/wp\/v2\/posts\/3299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3299"}],"version-history":[{"count":0,"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=\/wp\/v2\/posts\/3299\/revisions"}],"wp:attachment":[{"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ww2.lugbz.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}