XDK2MAM Status Review

iot2tangle.io
4 min readJun 24, 2019

Long time no see right? We are happy to announce that XDK2MAM Phase 1 compromised to the EDF is now finished. This last six months were really exciting as we combined the development of various open source packages to connect the Bosch XDK110 sensors node with the Tangle and traveled as much as we could to conduct “hands on” Workshops and introduce IOTA’s Ledger and Masked Authenticated Messaging as a solution to decentralize information produced by this great device.

We dictated workshops in several cities of Argentina, Uruguay, Brazil and Venezuela and there is more coming! Our next workshop will be conducted in Berlin! Yes, XDK2MAM is visiting Germany and we already have plans to meet the guys behind the XDK110 at Reutlingen, Daniel Trauth and his amazing IILA and, of course, people interested on IOTA in Berlin, home of the IF.

XDK2MAM Phase 1: XDK110-Tangle connectivity

The first part of XDK2MAM project aimed to provide documented open source code to connect the XDK110 with the Tangle, allowing people prototyping IoT with this powerful tool to have a way to safety store the data produced. Over the last six months we have provided with code to connect this device and the Tangle via:

During this six months we also provided open source code to connect the Ruuvitag beacon to the Tangle. Despite this was out of the milestones compromised to the EDF, we thought this little device was worth a little deviation.

XDK2MAM Phase 1: Dashboard application

All the above methods provided several means to send data from the XDK110 to the Tangle but, in all cases, we ended up with json datasets flooding the console. This is why, our project phase 1 last milestone was to develop what we call XDK2MAM Dashboard. This application was needed to:

  • Have a visualization/storage tool for the data produced by the XDK110
  • Be able to get data on short intervals (i.e. 1 dataset per second) and a mechanism to publish it to the Tangle dealing with Proof of Work limitations.
XDK2MAM Dashboard overview

XDK2MAM Dashboard is a React based application agnostic to devices, meaning that it can produce graphics for any device, as long as the JSON standard that consumes is respected.

This is not only about being able to visualize sensor’s data. It goes beyond allowing users to store datasets with data taken for given projects to review it later.

But, perhaps, the more important Dashboard feature is its ability to take live data, collect it on a local database and build bundles that will be published to the Tangle using MAM transactions every n seconds.

Live data published via MAM and waiting to be published

Basically the Dashboard will put together the datasets produced on short intervals to publish them on MAM public transactions on a frequency that Full Nodes can handle. You get live data and a decentralization mechanism, providing immutability.

A 10 datasets Bundle posted by XDK2MAM Dashboard

As we move on on the Phase 2 of our project we will continue developing this tool to add functionality aiming to process and analyze the collected data.

As always, we invite the community to test this tool and provide feedback to improve it. That’s how open source software grows strong!

You can find a step by step guide to install XDK2MAM Dashboard here.

You can find a videotutorial covering the complete installation process here.

XDK2MAM Phase 2: make the XDK110 sign MAM transactions

What comes next is even more exciting and we are already reviewing the IOTA Foundations approach to have devices signing transactions at a low level.

We will, in deed, take advantage of our visit to the XDK110 team at Reutlingen to discuss the possibilities of having this device itself in charge of issuing the MAM transactions.

That’s all for now.
We will keep you guys posted!

Daniel De Michele
XDK2MAM Co-Founder

--

--

iot2tangle.io

Open source hub for integrations between IoT devices and the IOTA Protocol