Skip navigation
2016
This is an index page providing links to every post created as part of the Pi IoT Design Challenge for the Alarm Clock / Control Unit project. Enjoy!     [Pi IoT] Alarm Clock #01: Project Description [Pi IoT] Alarm Clock #02: Unboxing The Kit [Pi IoT] Alarm Clock #03: Puppet [Pi IoT] Alarm Clock #04: Installing OpenHAB With Puppet [Pi IoT] Alarm Clock #05: EnOcean Pi and Sensors [Pi IoT] Alarm Clock #06: emonPi [Pi IoT] Alarm Clock #07: Sense HAT [Pi IoT] Alarm Clock #08: IoT ...
Introduction This PiIot Challenge evolved in a very strange mode for me; as much the project was growing as much a new scenario was emerging imposing as the main track. So what happened? I had to make a choice: close the challenge just in time or smoothly follow the project evolution. There was not time to do both. Closing the challenge by the deadline would require a series of simplifications in the project. Then the remaining time for the next - and, why not? More ambitious - deadline was too ...
It's been a very interesting challenge! 3 months to learn a bunch of new things (specially in server and services implementation) and one common enemy... TIME! Only the basic structure of the proposed plan was implemented in the end. However, this is only the beginning   Thanks to element14 for this chance. And thanks to y'all who commented and helped. Of course, thanks to all who read thru these post and maybe found some interesting information.   It was also amazing reading what o ...
Last day (+ 1) of Pi IoT competition, and a Smart Competition Home is ready to run In this post, I wanted to show how the system looks like: both in paper and in the house itself. So here comes the pictures:   System Description           ELEMENTS/NODES: 1 Central Node - Raspberry Pi 3 1 Sensors Node - Raspberry Pi 4 User's Nodes - Smartphones   PUBLIC DOMAIN http://competitionvault.wow64.net/                  ...
This new post finalized the User Node (an Android device). It will include the smart-house functionalities to that of the competition system. This way, any resident will be able to check the smart house information while connected to the WiFi and switch to Competition mode when leaving to gain some miles.   *In other words... I will make the Smart Competition button work         User's node - include MQTT Publisher Client          ...
In order to have a bit more of feedback and add some thrilling while running ("wait! when did he run all those miles?? no way I will let this be"), I want to have an updated table of the current's month competition state. That means: Including a new function into Competition Service - in Central Node (Raspberry Pi 3). This way, when requested the competition information, it will send back he appropiate data Implementing the "Podium" activity on the Competition Android App - in User's Node  ...
This post describes the last step to have a functional competition system. It will show how to update the python GUI of the central node with the data stored in the database (coming from each of the roommates phones, as explained in the previous post). It is a short entry describing: The database and tables use to monitor each participant's progress New python functions to include values from the database All development is done in the central node (Raspberry Pi 3), using Python and SQL queri ...
Going through my previous blog entries I realized I had not provided the followup information for my Farm Operations Center Box that I had previously said I would.    So here it is!  :-)   As I had mentioned before the medium sized box worked perfectly as a container for the 7 inch touchscreen with Pi3 attached.     As you can see here, the 4 squares line up perfectly with the metal frame of the touchscreen.  Making for an easy mounting of the F.O.C. to t ...
There seems to be Irony that my blog #13 comes with bad news.  I was unable to get my Enocean Pi to work with 3 different Raspberry Pis.  Leading me to wonder if I have a bad Hat.  :-(   I worked for days on getting it to link with my Raspberry Pi3 that is running my Farm Operations Center but it would never show as recognized.  Looking at other comments there seems to be a problem with Raspberry Pi 3 and this currently so I pulled out 2 different Raspberry Pi 2s to see ...
First off I want to thank Element 14 and all of the incredible participants of this design challenge!   It was an experience I greatly enjoyed and want to continue to expand upon!  The other participants had brilliant ideas and implementations and constantly made me wonder how I could further tweak and improve my own project.   Plus input from several actually helped me redirect some of my efforts over to a water source monitoring system.   I am very pleased with how t ...
The challenge deadline is almost there, so it's time for a final demonstration! In this last post I'll show you the results of my work in a video and then describe what I did and what I'm planning to improve in the future.   Let's start with the fun part: I present you a relaxed evening at Thuis!     I'll continue this blog in the same style as my previous [Pi IoT] Thuis #9: Status Update and will give you the latest status of all the projects and use cases.   Open Sou ...
Sources Raspberry Pi Puppet Voice Control Sense HAT Pi Camera OpenHAB 2 EnOcean Energy Monitoring Adafruit CNC   A lot of online sources were used in order to achieve the creation of my project. Though the sources have been linked in the relevant posts, I have summarised the complete list per subject right here for your convenience.   Sources  Raspberry Pi  Description Link Automatically copy "wpa_supplicant" file https://www.raspb ...
Features Devices Energy Monitor IP Camera Key Holder Alarm Clock Control Unit Demo Conclusion   It's been a tough, stressful, but certainly fun three months competing in this challenge. As if the challenge itself wasn't challenging enough, I also moved house halfway the challenge. Though the move was more time consuming than originally anticipated, I managed to complete most of the objectives I had set originally.   This is my final post for elemen ...
Here is quick project summary of the Pi3 Control Hub project created for the Pi IoT Design Challenge - Smarter Spaces with Raspberry Pi 3. The idea here was to create a Hub and spoke network of Raspberry Pi's with the Pi 3 as the Hub , which had Home- Assistant installed on it, which is a powerful open- source home automation platform. And  a few other versions of the Pi used as the spokes , that is Pi B+ and EnOcean sensor Kit and Module, used to automate the blinds Pi Zero and Pi Noir C ...
Old MacDonald had a farm and on his farm he grows crops, which he likes to monitor using the Internet of Things. Therefore he is in need of a camera capable of doing that. Luckily element14 came up with a challenge in which such a camera is developed. This page gives a summary of the project.   The project only focuses on the development of the Plant Health Camera, a Thing, which, since it runs on a Raspberry Pi, easily can be connected to the Internet. Inspiration on how to achieve that ...
It's been a fun project and I hope that you were able to glean some useful tidbits to use in your own projects. HangarControl Episodes Pi IoT - Smarter Spaces with Raspberry Pi 3 - Smarter Spaces with Raspberry Pi 3 - Hanger Control System Hangar Central #2: Developing Without Your Pi [Pi IoT] Hangar Central #3 -- Unboxing the Challenge Kit [Pi IoT] Hangar Central #4 [Pi IoT] Hangar Control #5 -- Raspberry Pi Kiosk [Pi IoT] Hangar Control #5.1 -- Raspberry Pi Kiosk, The Movie [Pi IoT] Han ...
Now that the web interface is up and running (), it is time to add the final piece: Operating the hangars via text messaging! Text Messaging Gateway I'm going to use Twilio (https://www.twilio.com/)  to provide a link between the SMS or text messaging world and the web-based internet world. Twilio provides a plethora of tutorials and help as well as a free phone number for your development projects. Once you have signed up and have your phone number and API credentials, come on back and fol ...
As part of this blog post we are going to get the values of the EnOcean Temperature sensor and the Magnetic Contact switch which is attached to the door to check if the door is Open/Closed, to Home-Assistant which is installed on the Hub. The EnOcean module is connected to the Raspberry Pi B+ which we used to automate the blinds (,Pi Control Hub:Spoke2:Blinds Automationblog post) which shows you how to install FHEM home automation server and run the python program ,which takes advantage for the ...
Managing Hangars Via the Web There are many different individuals that will need access to the HangarControl system. Pilots may be at home, at their office, or on the road. With that in mind, I wanted to create a single web interface that would accommodate a variety of browsers, including desktop, tablets, and smartphones. To ease the pain of coding HTML for all of the different platforms, I chose to use jQuery Mobile (http://demos.jquerymobile.com/1.1.2/) for the front-end toolset. Don't let an ...
Mechanism Code Gallery   This post is about a mini project that I suddenly thought of during the challenge and thought would fit well as part of the larger project The idea was to make a key holder allowing up to four different (sets of) keys. It serves two purposes: a fixed place to hang our keys (we tend to misplace them a lot!) and assuming proper use, could be used as an alternative/additional presence check.     Mechanism  For the key holders, I decided to ...
I just realized that the cut off time for submission is 11:59 PM GMT which is a bit sooner than I expected, so here be what I have thus far. After getting the connections completed with the Pi Rack, I moved to working on the Automation application of the Feeder System I have been working on. This has included implementing Mosquitto, Paho, and MQTT for communication between OpenHAB and the feeder system.  With this, I can adjust the timer and setting locally on the Feeder System as well as ...
In previous blogs i had shared my issues of having the RPi B+ running MotionEyeOs with multiple cameras and wireless networking enabled.   Today I have had success getting everything outside and monitoring the Farm!   First off, hardwired I have had zero issues with the MotionEyeOs software.  I have been able to add cameras and test everything out without any issues other then the RPi B+ is (not surprisingly) noticeably slower for response then the RPi3 that I first used.   ...
carmelito

Pi Control Hub: The HUB

Posted by carmelito Aug 28, 2016
It is now time!! to put the all the electronic components together into a nice enclosure, which I am calling the HUB ,using some 3D printing with Wood filament and some basic wood working using a Dremel tool.Here is a gallery of the finished HUB   Adding Pi3 and other components inside the frame Add the sense hat to the 3D printed holder Cut out a piece of plastic to diffuse the RGB leds of the sense hat , I am using a cover piece from an old notebook Add the Pi Screen and the ...
The schedule for the Pi Iot design challenge is winding down, but this project is still just beginning. It is experiencing some horrendous delays which are taking it out of the running in the contest, but hopefully the project will continue at its own pace. The primary challenge was to use a Raspberry Pi3 in an IoT application. Since my proposal wasn't strong enough to warrant sponsorship, I ordered my own Pi3 back in May. It has not arrived yet which is a major setback, killing any shot at the ...
Plex is software which makes it possible to enjoy all of your media on all your devices. When on the server you create a library based on video (and music, photos, etc) files, Plex finds the corresponding metadata and gives you an easy to use interface to browse and play your movies. You can interact with Plex through its API and you can keep up-to-date with what's happening on each client by subscribing to the WebSockets channel. In this last part of the Home Theater series we'll integrate Plex ...
In [Pi IoT] Thuis #11: Final implementation UI design you saw our Thuis iOS app, which has a few buttons for controlling the Home Theater. In this post we'll make sure they work well. For brevity I will describe only the main scene: it makes sure we can watch anything on the Apple TV.   Defining devices Before we can use any devices in Thuis we have to define them. You might remember from [Pi IoT] Thuis #8: Core v2: A Java EE application that we have a class Devices containing static defini ...
Note: At this point in the project I will try and explain as best as I can how I see these components working and how they should integrate with the main system. Unfortunately I do not have time to continue developing them along with the Challenge but if nobody is against it I will continue updating these post as I progress with development so I can come to a conclusion on all the parts.   Previous posts: Pi IoT - Simone - Introduction Pi IoT - Simone - #1 - Light Controller Pi IoT - Simone ...
Note: At this point in the project I will try and explain as best as I can how I see these components working and how they should integrate with the main system. Unfortunately I do not have time to continue developing them along with the Challenge but if nobody is against it I will continue updating these post as I progress with development so I can come to a conclusion on all the parts.   Previous posts: Pi IoT - Simone - Introduction Pi IoT - Simone - #1 - Light Controller Pi IoT - Simo ...
Before note: I am not and electrical engineer nor do I have experience working in this field. Please double check anything I say in this post before trying it yourself.   Previous posts: Pi IoT - Simone - Introduction Pi IoT - Simone - #1 - Light Controller Pi IoT - Simone - #2 - Main System Pi IoT - Simone - #3 - Door / Window notifier   For this part of the project the main idea is to have a device that can calculate the power consumption on each wall outlet in particular. This can ...
To finish the Android competition application, I need to add the "updating functions". That is, send the information not updated to the Central Node (web server)  and wait for a confirmation. If the confirmation arrives, information is in the Raspberry Pi3 whereas, when not confirmation is received, data should be resent in the next cycle. This will require: HTTP_Client in the phone, to send the data as a HTTP_POST Communication service in the central node - PHP files able to receive the ...
That's right! What's an episode without the "made for TV version"? The Takeaway In just a couple dozen lines of code, we have implemented everything that we need for our user management. Understandably, it does not handle the complexities of a frequently changing population. But for the sake of this project, the user population is very stable and the creation and management of pilots is handled by another application and HangarControl only gets a list of pilots when there has been a change. &# ...
Don't Over Complicate It Oftentimes it seems that as programmers, or anything else for that matter, we get caught up in a particular pattern for doing things. One that I see quite often is the use of SQL databases in various projects. The "kids" these days are introduced to SQL as a primer for programming and can't think how to handle persistence without it. To show that life can exist without a formal database, HangarControl is being written using some very simple mechanisms for creating, readi ...
In my last post I shared the variety of boxes I found at the local Walmart ranging in price from 25 cents to 10 cents.  Today I had a chance to try 2 of them on for size and fit and quickly decided the midsize one seems almost made for being used for a Raspberry Pi implementation with the 7 inch Touchscreen!  If I remember correctly it was also only 10 cents!    As I had mentioned the idea was to take the Farm Operations Center setup out of it's base setup which was just a ...
I was waiting for the new sensehat to reach me before writing this post, but the recent updates suggests that I may not get it before the deadline. So I decided to go on with the faulty one I have.  Although the code will work regardless of the sensehat condition, the output I showing here will b faulty because of my hat.   In this post, I'll getting data from sense hat and publish it to MQTT broker. Later this data is displayed as a freeboard dash with MQTT plugin.   Hardware Set ...
During these last 2 days and before the official end of the Challenge, I have managed to integrate my Foscam IPCam into the DomPi project. This will probably be the last post with some solid progress. Let´s go into the details!   Previous Posts PiIoT - DomPi: Application PiIoT - DomPi: Intro PiIoT - DomPi 02: Project Dashboard and first steps in the Living room PiIoT - DomPi 03: Living room, light control via TV remote PiIoT - DomPi 04: Movement detection and RF2.4Ghz comms PiIoT - D ...
An important part of Thuis is integration of our Home Theater system. As the integration is quite extensive and consists of several components, this will be a 3-part blog series. In the first part we start with communicating to CEC-enabled devices from a Raspberry Pi. In the second part we will integrate CEC with the rest of Thuis, and make sure everything works properly together. In the third - and last - part of the Home Theater series we will add the support for Plex.   CEC Let's start ...
After quite a bit of hard work during the last days, the project reached its end. Of course many improvements can be made, and other features can be added, but that is for later, after the challenge. I had the plan to add humidity, pressure and temperature measurements with the SenseHat, but unfortunately SenseHat, Wi-Pi and PiFace digital were missing from my kit. I this post I will briefly explain the ndvicam.py python code which mainly does all the work. I will finish with a number of example ...
This update describer the Android application created to manage the acquisition of points for the competition. At this moment, the competition only includes running or walking the maximum number of km at the end of each month. Also, since we can not trust the participants good will (or, since we know how witty they can be) we will prevent two basic cheating: Driving - it will be an easy, fast and effortless way of increase the status Shaking the phone -the resident does not move but still incr ...
This update should help navigate through the next posts: it's been a long period without any news and I will be quite active for the next days... I hope the final result does not look very confusing ^^u   The innovation part of this project is the competition system: we want to engage the residents of the house in a competing environment to promote a healthier way of life. It can later be expanded for more fun type of activities. For now, the only challenge presented to the roommates is th ...
This post will cover the doors and windows notifier   Previous posts: Pi IoT - Simone - Introduction Pi IoT - Simone - #1 - Light Controller Pi IoT - Simone - #2 - Main System   For this part of the project I initially wanted to use the EnOcean Hall Sensor since it seamed the easiest and most non intrusive way to do it but unfortunately the sensor is on a different frequency so it does not connect to the receiver. Instead I used the I2C connection protocol from the light controller for ...
Domestia Read Interpret   Not all blog posts can be about successful implementations or achievements. Sometimes, failure happens as well This is the case for my domotics implementation. Does that mean I have given up on getting it to work? Certainly not, but I'm stuck and don't have to luxury that is time, so close to the deadline with plenty of other things left to do.   Here's what I did manage to figure out so far ...   Domestia  As you may or may not know, ...
Wood Acrylic CNC Manual Router Result   No time to go out on a Friday night, only a couple of days before the challenge's deadline. Instead, I decided to annoy the neighbours by doing some final milling and sanding ... So, as promised, here's the enclosure for the second control unit. Unlike the alarm clock, this unit makes use of a touch screen and keypad for user input, on top of the voice commands. Because of these components, it is also quite larger than the alarm c ...
This Morning's Bounty of Fowl investments!  The 3 on top are Duck eggs, only 1 was laid today but I wanted to give comparison for size to the Chicken Eggs.  The Element 14 pen is also for size comparison.    But John, you don't have any Chicken's laying yet do you?  There lies the story in regards to Yesterday...   Yesterday was an interesting day on the IoT Farm.    The previous night while I was working my swing shift, my better half shared that she ...
Messaging in HangarControl I have a lot of detail to cover in this episode, so I am taking a break from the podcast and going "old school". It seems that everyone has been jumping on the MQTT, or more affectionately "mosquitto", bandwagon. I decided to go a different route and will be using a communication system called xPL to handle machine communication in HangarControl. The xPL Project has been around since 2003 and was an early entry in the home automation space. Read more at their website,T ...
One of the goals of Thuis is optimizing it's own rule engine based on actual activity in the house. Although time is to short to actually start the optimization, with this blog we'll start collecting presence data using iBeacons. As a bonus we solve the Welcome Home use case!   iBeacons monitoring, ranging and indoor location iBeacons (in my case by Estimote) are little Bluetooth LE devices which on regular intervals broadcast their identifiers. Mobile apps can use this as a way of determin ...
In these last days I have implemented three new features of Phase 2 that will make DomPi more useful to my family: determine who is at home, welcome the family when we arrive home and send an alert if the average temperature of the apartment is either too high or too low. Let´s have a look at them!   Previous Posts PiIoT - DomPi: Application PiIoT - DomPi: Intro PiIoT - DomPi 02: Project Dashboard and first steps in the Living room PiIoT - DomPi 03: Living room, light control via TV ...
Up until now, I built the 'skeleton' of the platform: we have these three nodes in the smart home (Central Node, Sensors Node, User Node), which show the sensors data at different points. However, the platform lacks a nice access point for the residents to interact with the house. Furthermore, the competition module is still to be started! With this post, I will show the improvements in the house GUI as well as the setting up of the central node to start developing a competition system.   ...
Internet of things is about connecting connecting th things around you in a meaningful way. Last few posts, I showed how to connect and monitor a few sensors inside the home using raspberry pi. Now it's time for a little entertainment. After the basics in home, I believe it's going to be our entertainment systems coming to online. In this post, I'll explore the idea of an internet connected music player with raspberry pi.   Enter Mopidy Mopidy is much more than a normal music player. I make ...
Today a quick note on how to connect the two Pi's.   Previous posts: [Pi IoT] Plant Health Camera #9 - calculating BNDVI and GNDVI [Pi IoT] Plant Health Camera #8 - Aligning the images [Pi IoT] Plant Health Camera #7 - Synchronizing the cameras [Pi IoT] Plant Health Camera #6 - Putting the slave Pi to work [Pi IoT] Plant Health Camera #5 - OpenCV [Pi IoT] Plant Health Camera #4 - Putting the parts together [Pi IoT] Plant Health Camera #3 - First steps [Pi IoT] Plant Health Camera #2 - Unbo ...
Things have been moving around the Farm lately so expect to see some catch up blog posts coming at you soon!   First, anyone else have a loving, caring, helpful spouse who makes your projects grow exponentially?  :-)   When the project was first planned out we were looking at working with Chickens and Rabbits.  Since then my wife has expanded/added G.O.A.Ts (see previous blogs), Guinea Fowl, and now Ducks!  (There has been rumor of Peacocks in the future but luckily no ...
Today a quick update. I wrote a small program to extract the GNDVI and BNDVI images as explained in my previous post.   Previous posts:[Pi IoT] Plant Health Camera #8 - Aligning the images [Pi IoT] Plant Health Camera #7 - Synchronizing the cameras [Pi IoT] Plant Health Camera #6 - Putting the slave Pi to work [Pi IoT] Plant Health Camera #5 - OpenCV [Pi IoT] Plant Health Camera #4 - Putting the parts together [Pi IoT] Plant Health Camera #3 - First steps [Pi IoT] Plant Health Camera #2 - U ...
Here is a quick post on integrating camera's with Home Assistant, this includes Pi Camera connected to Raspberry Pi 3 as part of the Hub Security camera that we create using a Raspberry Pi Zero, PI NOIR camera and installing Motion with Single File PHP Gallery in a previous blog post - Pi Control Hub: Spoke 1 :Security Camera   Basically, as part of Home Assistant dashboard we are going to add two sections  showing the preview of Pi Cameras as shown in the pictures below Integrati ...
Introduction I am not sure if the Dynamic Surface is an Animatronics or something related to Robotics. By a certain point of view it is a sort of modular robotic pixel reacting to some kind of inputs in certain conditions. By another point of view it is a modular animatronics, an object - memory of the famous Warhol's tomato sauce can - changing its height smoothly and precisely. Indeed an animatronics is considered a robotic device who mimics human gestures, a puppet, a moving object(s) built ...
One thing I forgot to show you earlier is how to install Z-Wave devices into your house. In this post I'll install a dimmer module in the bedroom, which will be part of the wake up light.   Materials used The materials I'm going to use are the following: Fibaro Dimmer 2 – the actual Z-Wave dimmer Fibaro Bypass 2 – needed when using LED lights Philips Dimmable LED – 6W/470lm (comparable to 40W), warm white Jung 535 EU – 2 push buttons Some electrical wire   ...
Introduction Dynamic surface is another moving subproject part of the PiIot design. It represents an independent moving platform: as well as the PiSense HAT includes an 8x8 RGB LED matrix the Dynamic surface is a physical 8x8 matrix built with big moving pixels. The video below shows a rendered simulation of the assembly design an example of a modular Dynamic Surface built with an asset of 81 modules.     Design of the parts As shown above the moving pixel is built of ten pieces ...
Browser Kiosk Navigation Trellis Demo   In order to be able to visualise the home control interface on the touch screen, a browser is required. The resolution of the touch screen is limited to 800x480, so every pixel counts. By putting the browser in full screen mode and hiding all the navigation bars, maximum space is made available. This is often referred to as "kiosk mode".   Browser  Rick has already demonstrated how to put the stock browser "Epiphany" ...
Moving away from the OpenHAB interface config for a bit, I started working on the Feeder Control System that will drive the Feeder for my project.  For this, I decided to use the Pi Face Display and Control as well as the Digital 2 connected to the Pi Face Rack.  There were a couple of challenges using the Pi Rack with these devices and I will cover those in this post.  With these devices, my intention was to create a manual means to enter and control the feeder system which will ...
My friends where over this friday, and as I was demoing to them the  parts/spokes of the project and showing them Home Assistant UI features, one of them said "Won't it be awesome! if there could be music playing out of the Hub" , which meant I got to work on Saturday morning trying to install Mopidy, which i have used before with the Pi.. Now,  since Home Assistant uses python 3 and Mopidy use an older version of python , I had to look for a work around. This meant that we will have t ...
From my holiday location at the coast of Bulgaria I finished up the implementation of the UI of Thuis. It works nicely on both the iPhones and the iPad on the wall. This blog will give you a demo and bring you up-to-date with some of the changes I made since the last post.     Adding the Slider Tile I already implemented the UICollectionViewController and several tiles in the last blog post, however it was lacking the SliderTile implementation. For this several changes were needed, f ...
Touch Screen Button Matrix Enclosure   Starting this challenge, I set out to build not one, but two control units. The idea behind this was that a single control unit would require the user to move to that room in order to be able to trigger actions (aside from using a smartphone of course). That's why I planned to have a control unit in the bedroom (the alarm clock) and one in the living room. The hard part, figuring out the software side of things, has already mostly been don ...
Trying to move full speed during the last two weeks of the challenge! In the last few days I have achieved a great milestone in the DomPi project: all the features from the Phase 1 are now fully operational . The missing pieces that I worked out these days have been: finalize the C module that acts as a gateway between the remote nodes (via the RF 2.4Ghz comms module) and the Command Center (with the Mosquitto channels). This was already quite advanced, but now it should be the final version W ...
Since my last blog I’m still traveling, therefore I could unfortunately not work much on the project. The good news is that my traveling last week was to the AgriControl conference in Seattle (Washington State University), where I got a lot of inspiration for my project. AGRICONTROL2016: ‘The 5th IFAC Conference on Sensing, Control and Automation for Agriculture’ aims to bring together scientists, engineers, students and others working in these areas from around the world to s ...
This installment details the installation and minimal usage of the Flask web server. We will be using Flask to serve the Hangar Control application. A great place to start learning about Flask and how you can use it in your own projects would be the project's Quick Start page: Quickstart — Flask Documentation (0.11)   For your viewing pleasure:   As always, I hope you found this production to be beneficial.   Rick ...
After designing and putting together  3 SPOKES which you can take up as individual projects. It is now time ! to put them all together and have them communicate with each other via the HUB. To have the spokes and the Hub communicate with each other and other IoT and entertainment things! around the house we are going to use  Home-Assistant.io, which is an open-source home automation platform running on Python 3, and we are going to install this on the Raspberry Pi 3.Here a demo video, ...
I had originally intended to continue producing my blog posts as videos, or screencasts, webcasts, or vlogs (as my kids are fond of watching). In preparing Episode #5, I inadvertantly deleted the production instead of saving it. Well, lucky for you video fans because I was able to restore the entire episode.   Once again, and without further delay, here it is "Raspberry Pi Kiosk, The Movie"...   I hope that you find this useful and possibly even entertaining!   Until next epi ...
Hardware Software Before Device Tree Overlay After Test   I just realised I didn't explain the audio amplifier of my alarm clock introduced in the wiring post. Silly me ... Anyway, as you may have seen from the wiring in my previous port, I'm using the I2S pins to get the audio from the GPIO header and amplify it. I2S (or Inter-IC Sound) is a digital sound protocol, meant to pass audio data around between integrated circuits. Getting audio from the I2S pins requires ...
This post should cover how the whole system comes together and how it is controlled.   Previous posts: Pi IoT - Simone - Introduction Pi IoT - Simone - #1 - Light Controller   The main system is based on a server application that works on a Raspberry PI. I chose the version 3 for this because it has more connectivity options and more processing power. Mostly there are not many things to process but as the system grows it might be an issue. This is how the system looks like:   ...
Enocean Sensors are wireless sensors working by energy harvesting from environment - no wires, no battery, no limits!!! In this post, I'll be using three sensors from the Enocean Sensor kit and EnoceanPi enable raspberry pi receive the data from sensors and forward it to a MQTT broker. This is later displayed in freeboard. I'll be using Python for receiving data from enocean sensors and sending it to MQTT broker.   Installing the sensors Enocean Temperature sensor installed on my wall ...
For this update, fortunately and opposed to the experience in the last few weeks, I have not suffered that much and the project development has run without any major hiccups. A nice surprise as I have been able to finalize the HW, SW and config for the last two nodes of DomPi! These are the Control Panel and the Garden node.   Let´s review the project status and jump into the details.   Previous Posts PiIoT - DomPi: Application PiIoT - DomPi: Intro PiIoT - DomPi 02: Project Da ...
As part of the previous blog post we setup a simple circuit with a servo and Raspberry Pi A+, to test the code we are going to use for the keyless door entry mechanism.The code included a python-flask web application that you can open in your browser when your outside the door, and then enter a password to open it. Here is the link to the blog post Pi Control Hub:Spoke3: Key-less Door entry-testing the Servo As part of this blog, we are going to 3D print parts, to house the Raspberry Pi A+ and ...
<Work in progress, the attachments can be changed when the controller is done>   The idea for this part is to have a way to control the lights in the house from your phone, PC, or through a web address. Also the system let's you receive information about the current state of the light. An important part is to leave the possibility to control the lights from the wall switches as before.   The whole controller for the switches should be as small as possible. To make it fit I had ...
Proto Board Colour Coding PWR & ACT LEDs Testing   With the enclosure finished, the next step is to wire everything together, as so far, most components have either been used individually or were connected using a breadboard: a more permanent solution is required.   Proto Board  Because there are different components requiring the same pins (5V, GND, I2C), a prototyping HAT was used to provide multiple connections. The board was cut in such a way that one row ...
The idea behind this solution is to use a Raspberry PI as a server that ensures the communication between different devices in the house and the user through smartphones, internal web server, motion and voice control. As a base the Raspberry is working through and C++ application that acts as a server and the devices are made based on Atmel microchips programmed to interpret the sensor data and the messages from the server. The communication is made through I2C and I am working at the moment on ...
Introduction Writing new software based on the EnOcean technology or just compile the tutorials and examples provided by the EnOcean Link package it should be available a development environment (better based on Eclipse cross-compiling on Ubuntu Linux) and some other settings are needed. So before starting maybe useful to read these two previous posts:   PiIoT - The perfect reading place #16[tech]: Setup the Raspberry PI Cross-compiler for EnOcean PiIoT - The perfect reading place #17 [te ...
Welcome to installment number twenty-five of the Design Challenge Project Summary series here at Element14. For those of you who are new to my content, in this series, I will pick a single Design Challenge project from the current challenge, and write a short summary of the project to date. Over the course of each challenge, I try to revisit each project that I cover at least once, and I am sure that some project summaries will get more than one update if they themselves are updated frequently. ...
As part of this blog post we are going to setup a Key-less Door entry system using a Servo motor and a Raspberry Pi A+, basically we are going to use the servo motor to open and close the door lock bolt, when you are at the front door of your house and enter the password  in the browser as shown in the video below.This is kind off two step authentication , where you will be able to open the door, if you mobile device is connected to your home WiFi network + you know the secret password whi ...
Introduction The EnOcean Link library: warnings and issues What Raspberry PI should be used Credits How-to a bit confused Problems and source issues Compiling the EoLink library for the Raspberry Pi Importing the EOLink in Eclipse Preparing the projects build configurations Setting the cross compiling options for the selected build Special case: the EOLink library Patching the library and compiling Build the library project Introduction The EnO ...
Sides Back Top Bottom Files   In my previous post, I showed you the start of the enclosure: the front panel. I have since then been working on the rest of the enclosure, trying to figure out which style to go for, one piece at the time. I'm a software guy, not a product designer (or a wood worker for that matter), but I enjoy experimenting and giving projects a finished look   So without further ado, I present to you the completed Pi IoT  Alarm Clock enclosu ...
Introduction Setup the EnOcean Pi cross compiling environment Smart Home with Raspberry Pi and EnOcean Where to find more ? Step1 - Ubuntu + Eclipse environment Step2 - Cross compiler for Raspberry PI Install the GIT control version build essentials Install the Raspberry PI compiler toolchain Setup the right system path update and test the toolchain running Step3 - Setting up Eclipse for cross compiling Step4 - Check the Raspberry PI compiled file Impro ...
Setting up a status display As part of the Hangar Control project, I would like to be able to provide pilots and operations staff the ability to see the status of all the hangars. The Raspberry Pi 7" Touch Display makes a perfect candidate for this. As delivered, there is no enclosure for the display so we are left to build or buy something suitable. There are many fine examples of 3D-printable designs, but I do not have a 3D printer so I decided to purchase one. I chose a case from The Pi Hut h ...
The previous two blog post, we added the EnOcean Transceiver module to a Raspberry Pi B+ and setup up FHEM home automation server and wrote python code taking advantage of the telnet port to blink some LEDs and capture the temperature from the EnOcean sensor Kit. In addition we also used a Motor driver to drive a gear motor when the Push Button is pressed. These two blog post,  are the perquisite to this blog Pi Control Hub:Spoke 2:Blinds Automation-- Setting up EnOcean Sensor and Blinking ...
Hi there! Following the previous post and the issues I found with the TFT and the RF24, I´m happy to share that I managed to solve it. Rather than solving it, I have had to apply the workaround briefly introduced earlier this week: add a master node to control the RF while delegating the rest of the functions to the slave one. Let´s go into the details after the project status.   Previous Posts PiIoT - DomPi: Application PiIoT - DomPi: Intro PiIoT - DomPi 02: Project Dashboard ...
How useful would a home automation system be where you could only interact through MQTT messages? Not very, so that's why we'll start working on the User Interface today. The goal is to create some generic UI elements, which can be linked to the MQTT topic. The element will display the current status clearly and will let the user interact with it.   For now there will be three types of UI elements, which can be placed in a grid of tiles. These elements are: Button – a simple push bu ...
  Welcome to week 32 of the 2016 Design Challenge series here at Element14! With just a few weeks left in the Pi IoT Smarter Spaces Design Challenge the challengers have shifted into high gear in an effort to complete their projects on time. This challenge is one of the most active that we have had in awhile, with more than ten project updates being being posted per week for the last few weeks. That means that this week we have a lot of updates to cover, so let's jump right in and get star ...
After having a first working version of the Command Center (PiIoT - DomPi 09: Presence Emulator) I have gone back to the Arduino remote nodes to develop the Garage node. I´m facing however some difficulties with the TFT and the RF24 board that I comment later in the post. As a high level summary of the Garage node, it shall provide three sets of information to the Command Center: Measurement of the distance to the car. This will support the park assistance feature and inform whether the c ...
CNC Gallery   Found some time this weekend to start the actual build of the alarm clock. I started with the front panel and thought I'd collect some feedback on the progress so far. So be sure to let me know what you think in the comments!   CNC  To make the necessary cutouts for the clock display and button, I'm using my ShapeOko2 Desktop CNC machine. It uses a Dremel to mill and is controlled via an Arduino UNO with gShield used to control the stepper motors of the CNC ...
This week I was traveling again, so unfortunately I didn't have much time to work on the project. Therefore I will share my thoughts on how to synchronize the two cameras.   Previous posts:[Pi IoT] Plant Health Camera #6 - Putting the slave Pi to work [Pi IoT] Plant Health Camera #5 - OpenCV [Pi IoT] Plant Health Camera #4 - Putting the parts together [Pi IoT] Plant Health Camera #3 - First steps [Pi IoT] Plant Health Camera #2 - Unboxing [Pi IoT] Plant Health Camera #1 - Application   ...
The addition of the G.O.A.Ts (see blog 6) has increased my desire to have "eyes on" all over the Farmstead.  As you can see below they are quite a handful!       After I spent hours and hours setting up a G.O.A.T. wonderland of pallet shelters and climbing areas they moved out...   In fact they moved out of that entire side of the Farm and went over to the West side and moved into the Chicken Casa.  This is not quite what the Chickens think as appropriate and ...
In this update, I cover the hacking of the iLumi Br30 BLE LED Light and controlling it from OpenHAB via BlueZ and the EnOcean Rocker switch.  My plan is to use the iLumi BR30 Outdoor LED Flood and wanted something that was remote controlled and not tied to a hub.   Hardware used: Raspberry PI 3 and B+ Pi Cam Noir EnOcean PTM Rocker Switch EnOcean Pi 902 MHz TCM310 Receiver Wi-Pi Wireless module   Scanning for BLE devices  I will not cover the install of BlueZ on the Ras ...
Having separate caging options for the Rabbits has became a priority due to the potential of 1 or more being pregnant.  My end goal is a large colony approach but having a nice sized setup for keeping some apart from the main group is also a good idea.   As such I thought I would share a few things in the process of making a 10 foot by 18 inches by 18 inches caging setup.   I have some 10 foot 2x4s from pallet break down that were perfect for using as the bones of the operation. ...
Introduction The moving parts of the Art-a-tronic opera (created from an original digital-art of Lorenzo P. Merlo) and the Dynamic surface (coming soon) uses a 28BYJ-48 geared stepper motor and a L298 motor controller offered by the second sponsor of the project Gearbest.com For more details on the hardware please see the attached datasheet   Motors and controllers fast-testing Before starting the firmware development on the microcontroller that will manage a multiple set of motors (base ...
Introduction Finally this part of the PiIoT project is almost complete! All the 3D printed elements are ready to be assembled but not all can be done yet. With the top and bottom - the two biggest layers - complete, before adding the moving parts the motors will be setup correctly and the firmware completed. In the meantime the rest of the project goes on ... The most relevant post already published showing all the components is PiIoT - The perfect reading place #13 [tech]: Art-a-tronic, the ...
Here is a quick update to the previous blog post in which we setup EnOcean Transervir module and tested PushButton switch(PTM210) ,Magnet Contact Transmitter(STM329) and the Temperature sensor(STM332) with FHEM home automation server(Pi Control Hub:Spoke 2:Blinds Automation-- Setting up EnOcean Sensor and Blinking LEDs ). As part of this post we will drive a gear motor when the PushButton switch is pressed as shown in the video below.Basically the gear motor will help us open and close the blin ...
I have started collecting all the tablets for this project and even started programming a couple of the apps. The android app below is my first LCARS app - it monitors temperature and humidity remotely via Bluetooth. I will post more on this app and remote sensor in a future blog. The video below provides a feel for the LCARS theme and how it looks on tablet computers: The app is called "LCARS UI" by NeoTechni in the Play Store Among its many features it has a built-in browser and text-to-vo ...
These last two weeks have been quite hectic in terms of progressing with DomPi. My first intention was to develop most of the features and functionalities in C++ modules which would connect among them and with the openHAB via Mosquitto messages. When I was half way through it, I have gladly discovered that most of the C coding could be performed directly with the openHAB via the rules and actions that this platform supports.   What were the implications? A complete redesign of the DomPi de ...
Introduction This is the last part of the sub-project Art-a-tronic created in cooperation with the artist Lorenzo P. Merlo. In the previous posts we saw the design, 3D printing and testing of the top structure, the more complex part of the assemble. The referred posts are listed below: PiIoT - The perfect reading place #7 [tech]: Art-a-tronic, mechanic design PiIoT - The perfect reading place #8 [tech]: Art-a-tronic, setting the moving parts PiIoT - The perfect reading place #9 [tech]: A ...
This blog post is a prerequisite for the Blinds Automation spoke. As part of this spoke we will automate the opening and closing of the blinds using the EnOcean Push button switch module connected to the Raspberry Pi B+.In this blog post we will attach EnOcean module to the Raspberry Pi B+ and create a simple circuit  to light up LEDs as shown in the video below, when a energy harvesting sensor are used, that is PushButton switch(PTM210) ,Magnet Contact Transmitter(STM329) and the Temperatu ...
Offline Installation Voices Online Switch Demo   Now that we are able to easily create and customise voice commands on the Pi, let's do the reverse and create voice responses. As mentioned in my previous post, There are a lot of voice tools available, but I would like to have an offline alternative capable of working without an internet connection. What's a home automation system if it's crippled because of no internet?   That's why in this post, I will work w ...
Welcome to installment number twenty four of the Design Challenge Project Summary series here at Element14. For those of you who are new to my content, in this series I will pick a single Design Challenge project from the current challenge, and write a short summary of the project to date. Over the course of each challenge, I try to revisit each project that I cover at least once, and I am sure that some project summaries will get more than one update if they themselves are updated frequently. U ...
Welcome to installment number twenty three of the Design Challenge Project Summary series here at Element14. For those of you who are new to my content, in this series I will pick a single Design Challenge project from the current challenge, and write a short summary of the project to date. Over the course of each challenge, I try to revisit each project that I cover at least once, and I am sure that some project summaries will get more than one update if they themselves are updated frequently. ...
Microphone PocketSphinx Installation Dependencies SphinxBase PocketSphinx Testing Configuration Audio Devices Dictionary & Language Model Grammar File Demo   We have seen many forms of voice control, and I've used some of them in the past (IoT Alarm Clock using Jasper ) or recently (Running Amazon Echo (Alexa) on Raspberry Pi Zero ).   For this project, I thought I'd try to find a voice control solution that can meet following requi ...
The previous two blog post showed you how to install motion to stream video from the Pi Camera , followed by setting up lighttpd with Single File PHP Gallery 4.6.1 to create a simple photo gallery so that you can check out the pictures of the intruder/visitors,  when you are back home from work .. Pi Control Hub: Spoke 1 :Security Camera - setting up Motion to stream video Pi Control Hub: Spoke 1 :Security Camera (continued)- Photo gallery of the intruders As part of this blog post we ...
The theme of this design challenge entry is a Star Trek IoT command center alcove. Of course a Star Trek command center is part of a Starship. In this case the starship is a habitat class science vessel capable of warp 1. Its ongoing mission is to explore the strange new world of habitat automation IoT and seek out new technologies and opportunities. The Enocean Voyager was designed so that a model could be 3D printed. The model actually has 6 parts so far, mainly because the ship is growing or ...
Over the short period that tablets have been affordable I have somehow acquired at least 8, although I only actually paid for 3 of them. I also have acquired at least 7 Raspberry Pi modules, none of which I actually bought. One goal of this project is to employ as much of this stuff as possible before it is so obsolete it won't ever be used again. So far I have identified 10 displays with 3 more still in the planning stages. Given the space available, I need to get creative about where to put al ...
My Pi IoT blogging progress has been dismal although I spend lots of time on the project, mostly trying to figure out how to create the decor I want within a budget I can afford. This blog is about some of the "research" I have been doing for my Star Trek theme. I went to see Start Trek Beyond - it was visually stunning in full 3D, but I didn't retain much information about command center decor and design. So I joined Star Fleet Academy. It was cool - seeing all the gear up close was interesti ...