Monetizing IoT Data using IOTA:Blog@Eclipse Foundation

Forums IoTStack News (IoTStack) Monetizing IoT Data using IOTA:Blog@Eclipse Foundation

Tagged: 

  • This topic has 1 voice and 0 replies.
Viewing 0 reply threads
  • Author
    Posts
    • #23449
      Curator 1 for Blogs
      Keymaster
      • Topic 369
      • Replies 5
      • posts 374
        @curator1

        In this blog post, we will focus on the first topic: monetizing IoT data.

        For that, we will look at leveraging IOTA’s distributed ledger. We will be showing how anyone can be given access to “simple” IoT sensor data on an MQTT broker, while only people who are paying for it will be able to access the live, raw, data stream.

        Use case

        We will be basing this article on the use case of someone, let’s call her Jane, willing to give access to a live sensor data stream coming from a smart plug, granted that she gets some money (iotas) in return🙂.

        The instant power consumption metrics will be published to an MQTT broker twice per second, making for a pretty accurate sampling that people might be interested in buying. On the same MQTT broker, Jane will also be making available the 1-min moving average of the power consumption for anyone to access, even if they don’t necessarily want to pay extra money.

        When John, who is maybe a data scientist interested in getting his hands on “real” data wants to get the power consumption from Jane’s smart plug, he has two options:

        • access the MQTT broker and subscribe to data published on the ‘public’ sensor/1m topic, for free,
        • send some IOTAs to Jane (she’s decided that 500 iotas is what people should pay to access the data for one hour), for his MQTT client to be granted access to sensor/live topic where the live, and more valuable to him, data stream is being published.

        Technology being used

        • Eclipse Mosquitto as our MQTT broker of choice.
        • Two IOTA wallets, one where the payments to Jane shall be sent to, and one for John to pay for accessing sensor data
        • mosquitto-auth-plug, a flexible authentication plug-in for Mosquitto. We will use it for implementing a flexible access-control model, based on the information available on the IOTA tangle (i.e payments)
          • The ACLs (access-control lists) will be stored in a MongoDB database, used as the authentication backend for mosquitto-auth-plug
        • A Belkin WeMo Insight smart plug.

        Demo

        Enough with the words! I’ve put together a video (click here if the video doesn’t show up below) that shows the whole scenario in action. While you will quickly realize that I do a bad job impersonating Jane and John, what I hope you notice is that this is a real demo, and anyone can implement something similar today.

        The technology is here, and while it has some limitations, I do think it’s worth exploring what new scenarios it enables.

        https://youtu.be/jIoxBWSV-zk

         

        Check out the code

        I have published all the code behind this proof-of-concept on my Github repository, please check it out and open pull requests or issues if you happen to give it a try!

         

    Viewing 0 reply threads
    • You must be logged in to reply to this topic.