Skip to content

Coffee with IOT (Chapter 0) - A recipe for internal hacktivism

Share on twitter
Share on linkedin
Share on email
Share on whatsapp
Coffee with IoT, a recipe for internal hacktivism

IOT's presence in the cafe has finally come to light!

The latest checks have detected a high IOT content in the FutureSpace coffee machine. This fact has launched all the alarms in the company, which, as soon as the news was known, ordered an investigation. At the moment, no official statement has been made, but rumours suggest that this is an act perpetrated by a network of condensed milk addicts who have infiltrated the structure of FutureSpace. What we can say is that the traces of the vandalism act go back to the middle of June, so anyone who has used the coffee machine since that date has been exposed to the IOT. 

We are aware that the tabloid press associates the presence of IOT with the appearance of brans, antennae and noses on the back, as well as an increase in the desire to work, but, from FutureSpace we are reminded that the only side effect shown is an increase in data. Therefore, we ask all staff to remain calm and follow the instructions given from the department of "gossip, rumors, opinions and theories", which has made available to any affected the following information phone number: 555-2368.

Ingredients

This haute cuisine recipe can be made with ingredients from walking around the house (or office):

Kitchen preparation (hardware)

Before we start cooking, we must have our working environment ready. First of all, we must look for an electrical appliance from which we can extract a good amount of information.

In the original recipe, the coffee machine is chosen, since it is used by a large part of the company, offers a certain variety of products, has a small maintenance, works all day, we suspect that it has temporary patterns of use... But any other gadget could be worthwhile, from the more conservative options such as the soda machine or the sandwich machine, to the more risky ones, such as the printer or the reception phone. In order to preserve the magic, it is essential that diners stay away from the preparation of the dish. This is not only a whim of the cook, but a methodological necessity, since the subjects of study must not know that they are being observed, thus avoiding that they change their usual behavior.

So, before you start cooking, wait until late afternoon to minimize the presence of colleagues in the office.

Once the coast is clear, the power is disconnected from the coffee machine, and the intelligent plug is inserted according to the manufacturer's instructions. This process is likely to get on your nerves, because nothing works at first. But don't worry, practice at home until julienning no longer involves the presence of human finger blood on the plate.

This is what the first cooks did. Since it was impossible to configure the plug in the working environment (possibly due to network security problems), they configured it at home, and connected it to the machine already configured. With this, there is a device that monitors the electricity consumption of the FutureSpace coffee machine, which, with the right user and password, you can make requests through its API to provide you with this data. But this, is already part of the cooking that we will see in the next section.

Cooking steps (software)

Once the work environment is prepared, we can smear flour with our hands in the dough or opt for more aseptic methods, such as kitchen robots. If we choose the latter option, we recommend the use of Apache NiFi, as was done in the original recipe. Apache NiFi is a tool that allows you to create data streams for processing and distribution. Thus, it is used in this recipe to collect the data from the smart plug and dump it into a csv file on the work computer. With all this ready, you only need to be patient, simmer the ingredients for months, and wait for the file to reach about 200MB of data.

Presentation

Once the dish is prepared, it must be made worthy of this name. In other words, the data must be plated and offered to diners in a way that makes them feel good. To do this, the raw data must be analyzed until we obtain refined information that we can interpret and that makes guests forget that the dish they are eating is prepared with their own meat.

*Note in the margin... For the curious: What is IoT?

IoT The Internet of Things (IOT) is a concept that refers to the connection of objects to the Internet. It's estimated that every human is surrounded by between 1000 and 5000 objects. Can you imagine if all of them were connected to the Internet?

  • Your shoes could tell the traffic light that you are waiting for it to turn green, so that waiting times are optimized for pedestrians.
  • Your car could tell the traffic light that you are waiting for it to turn green, so that waiting times for vehicles are optimized.
  • The custard hidden behind the butter could inform your fridge that it's been out of date for 5 months, so that the front of the fridge looks like a warning about it.
  • The keys you've lost could notify your mobile that they're still, as usual, at the bottom of your bag.
  • Your glasses may detect a higher blink rate that could indicate a worsening of your vision, so you may get an email suggesting that you visit the eye doctor.
  • The captus pot you have in the office could detect an extreme lack of moisture in the soil it contains, alerting the automatic drip system to water the plant.
  • Your pants could send an overpressure signal to your oven, so that it turns off every time you put a pizza in (whose packaging has warned the oven that it has been opened).

Share the article

Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on email
Email
Share on whatsapp
WhatsApp

A new generation of technological services and products for our customers