Skip navigation

Pi IoT

13 Posts authored by: Caterina Lazaro
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 ...
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 ...
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 ...
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.   ...
Back to posting new entries after a long long silent period.... I will try to catch up with my original schedule in the next days, let's go!   In this entry, I will be focusing in the “Sensors Node” of the smart house. As some may suspect, I will be explaining how the house generates data (from a set of sensors: temperature, pressure, door open/close), which can be distributed to various clients. In this architecture, sensors are wired to the node (Raspberry Pi 1), which is in ...
In this entry I discuss the implementation of  MQTT (Message Queue Telemetry Transport) as the connectivity protocol. The Message Queue Telemetry Transport protocol was born as a machine to machine connection protocol for devices where a light implementation is needed. It consumes little bandwidth and its software stack implementation does not require much memory space (perfect for our IoT applications!).   MQTT deploys a publish/subscribe architecture, with a broker in the middle. To ...
In the introduction of this project, only a brief idea was presented: a smart home which also includes a competition system to get its residents involved. There was also a discussion of the communication among some devices and function that can/should be included, but not much planning or specifics were provided. What is the smart home going to consist of? When do we start having a competition system and how far we go with the games? Is there even enough time in 14 weeks to do so? With this entr ...
Introduction Smart-homes are one of the most popular applications in IoT. It is very convenient when you can access your house information (and never wonder again whether the door was left open or the kitchen stove is on), and even have some basic automatic features implemented (temperature auto-set, lights off when they are not needed etc). We implemented a prototype with these temperature and pressure recording system a few weeks ago (just to test if could have a simple MQTT architecture), wi ...