 Anyway, I'm from different part of the business of IBM, actually, not from the mix. I don't know which part of this doesn't need. I'm from collaboration. We're supposed to collaborate. So the things that I'm doing is the things that Stefan was doing before joining this team. It's portals, social networks and this kind of things. Or the boring stuff. Yeah, the boring stuff. That's why I'm doing this on my free time, mainly. And what I'm going to show you today is my small project that I was doing for the last year, probably. And that's an air quality sensor. The reason why I start this project is because I've got this small air quality sensor, which is VOC sensor, Volatile Organic Compounds and our own probably to say about this much more than I do. And I got it from one crazy German, not this one, another one. He just pinged me on the same time, which is a messaging platform. And he said, do you want it? I said, why not? He just sent it to me. So I plugged it in and start playing around, created a small app on Android and that's using Cordova. There's a custom plug-in to talk to the sensor, custom plug-in to send MQTT messages and detect the location. And now if the value of the sensor is changing, then beyond some certain threshold, the device sends the data into the centralized system. That's the software that we sell for crazy money called Intelligent Operations Center. But all it does, it receives the data from whatever sensor or whatever device it is, and then plots it onto the map and then allows to analyze it in many different ways. So what I'm going to do now, I'm going to just send the message from my device. And then after some time it should appear on the map somewhere. I hope I'm still connected. Ah, here it is. So that's the message. The OC is around 450. That's my lower threshold, so the air quality here is pretty good. So what is happening actually at the back end? I'm using IoT Foundation, so that's my app. And you've probably seen it, the thing that Stefan just showed. That's Node Red, Ryan on Node.js, Internet of Things Foundation. I'm not using it, but it's still there, so that's okay. My device is connected to the Internet of Things because I'm not using the boilerplate. It's all custom built. So I have to register my device before I will start sending the information. I know about doing that. How do you register your device? Oh, that's quite easy. Like, I can use the user interface to add the device, and it's just like this. The device... Oh, sorry. It's always happening when you do the live demos. And we have an API. So the API key we can use to register the device programmatically. So if you want to do the device registration over your own user interface, then you can build something like a custom layer between your app or your device IoT Foundation that will do this registration for you using our API. Once the device is registered, and I know that there are some preconfigured queues that I can use to send my data or to send the... Basically, we can have different queues for sending the data, sending the control messages, and basically separate the information that is going to and from the devices, depending on what kind of information is going back and forth. And I can share this API keys with my development team, so they all can use the same instances and develop applications with the same IoT Foundation stuff. That's the API. Just quickly show you that there is some API. Now, what I'm doing here, after I receive the data in IBM IoT, and it's connected as a service to my application, that's why I can just pick it from the dropdown list. It does all the configuration, all the API keys, everything for me. Then, that's basically the input type is the queue that I'm using to read the data, event, common status, etc. And then just to make it easier, I'm filtering, I'm just receiving everything, all the devices, all the events, all the formats, everything. So once I receive the data, I need to transform it from the format that I'm getting from my app into the format that Intelligent Operations Center understands, and that sounds also JSON, and I'm using this moustache template to do that. After... What is this moustache? Oh, that's basically, it's quite easy. So that's... Okay, just a couple of words about it. Yeah, so... Yeah, I'm receiving the... My message is coming as the JSON object, and that's msg basically dot something, and there is things like dot device, and in this case it's dot payload, that's the payload that I'm actually receiving, in addition to the metadata. And then I can use the attributes, or what's called the properties from the JSON, and map it to another JSON format. So this format, like start, date, time, location, name, etc., this is the format that I'm using in Intelligent Operations Center, and that's time, longitude, latitude, name, and VOC. That's something that is coming from my device. So I'm basically mapping them together. After that, I need to add some HTTP headers and basically say that I'm going to send JSON, and do the post call to my Intelligent Operations Center data source. And I'm using... We'll give it a password here in this case. And that's basically it. So if I look at debug, that's the message that I just sent. It has much more than just the payload is here. And this is the thing that was sent to the Intelligent Operations Center. And the rest, the topic that I'm using, the device ID, that's the one that is registered, and many, many other things like device type, and etc., etc. That's... everything is available to me in the background here. LTP talking is the one that is used for single-sided. So this is just what I wanted to show. And I should say that I spent much more time on developing the app than connecting all these pieces together. So connecting pieces together took me, it might be one day. And developing the app took me a couple of months. So that's something that's... What do you mean developing the app? Which app is that one? This one. The one that is running on the device. Because there are custom plugins for Cordova here to talk to the device. And then MQTT, we have samples again with the Cordova plugins. How to use that one. There's a whole tutorial available on the internet. But I was quite new to the mobile development as well, so that's why I spent so much time on it. Must you develop an app just to visualize the data you collected? Because Stefan mentioned something you can do in the web browser. There's still an application. Web browsers show pixels. You have to decide how the pixels look like. So you will find a lot of ready-made libraries for graphic analysis. Like my little favorite is DGGS. You still have to connect the dots. Still I need a developer to go and make that web browsing look. If you have specific ideas how you want it to look, yes. Of course, there's a lot of standard packages available that do all sorts of graphics and pie charts and bar charts. Once you get to the specific and what you want, you will then want to entertain a developer. And as I said, my personal favorite is the DGGS. In my opinion, one of the most sophisticated visualization libraries we have besides many eyes, of course. Question? Yes. You mentioned MQTT. Yes. That's being used between the app to survey the backend. Yes. So how do you handle security on the MQTT? Because I understand QTT is really... Yes. Basically, you provide login and password along with the other configurations. Just bring up again to tell you what kind of settings I have. So to configure the MQTT, I'm using, first, the message topic where I'm sending the messages to. Yes. The server name, the client and the identifier that I'm getting once I'm registered on the device. And then user name is standard and the password is generated for me when I'm registered on the device. So the client and the identifier and the password can be something to manage the security. Is the message that being sent encrypted? It can be encrypted as well, if you want to... I mean, I assume you use an SSI key for a word? Currently, in my project, I don't care about security. So you send the clear text password, right? So that's... Excuse me. MQTT itself is a binary protocol. So that's not... Okay, it's not a reverse. No. It's a binary clear text. It's a binary clear text. So the project, the backend... So this is basically... My bluemix here, that's running on the IBM bluemix. Yes. And that basically sending the backend and that backend, all the graphics... Yes. So this post is actually a post to this system. And this system is running also on the internet. And that's not on bluemix at all. It's somewhere else. And that's again to the question can we call the API from somewhere else? That's what I'm doing here. So if I have a few write-by-py, not 17, but a few write-by-py, and I want to actually try something like this, what is the level at which I start to have to pay or... Oh, pricing. Pricing. Pricing. Chicky. Chicky. Stefan, do you want to talk about pricing? I'm an engineer. Don't talk about it. Just to quote my wife. At least, engineer honors with prices. I'm also an engineer, so I'll be honors with the prices then. All right? Just to quote my wife from last Monday. Daddy, if you wonder where your only money is, I took it. So pricing-wise, how much does it cost from the bluemix side to actually deal with this? Just from bluemix. How much do it cost you? For me? Do you have a cave or anything? No, nothing. So for basic development work, say for example, like doing the node rate and everything, the free tier is 512 meg of RAM for 30 days. And to run a node rate instance, in fact, you don't need 512 meg of RAM. The minimum you can actually go for node.js, for node rate instance, I think to run it really smoothly, 128 meg of RAM is more than enough. So you multiply that by five, you can get about five instances. And each instance, just to give you a rough idea what does 512 meg of RAM is, gives you, right? So 512 meg of RAM will give you about 600 to 1,000 requests per second on a node.js, right? So per second, you're talking about per second of requests, which is actually quite a lot for the free tier. And then when we talk about the different stuff, so that's on the instance only, right? Then you have the services. The services are also paid service. So for cloud and no SQL database and the reason why we always recommend no cloud and no SQL is because it gives up to 20 gig of storage for free. And if I'm not wrong, Stefan, how many API calls? A thousand writes, 500,000 reads. Yeah, about that. And a thousand extra calls of 3 cents. Yeah. So it's really cheap, right? 3 cents for a thousand extra calls, right? So for the database itself, it's really cheap. The one that's not really cheap, in my opinion and several people's opinion also, which is the Internet of Things API, so the service itself. So if we can go to the catalog. Estimate difference, right? Go to the catalog. Go to the right at the bottom to the IOT. We're going to click on the IOT. So the price scroll down. The pricing here. So these are the pricing. So it's about 20 active devices, 100 meg of data traffic, one gig of storage. This is the free tier. And then after that, you have to pay. So the 100 meg of data traffic, right? I've asked quite a few people for Internet of Things. This one is actually going to be quite the limiting factor. And that's the reason why on the flip side again, we would recommend that you cleanse your data first, right? You cleanse your data first, say with a Raspberry Pi or something else, right? You cleanse your data with node rate, running locally on a Raspberry Pi or wherever it is, cleanse the data before bringing it to the IOT foundation, right? So that where every data transfer you're doing is in the KBs, right? So 100 meg divided by the KBs, you pretty much get what I mean, like you should be able to get sufficient enough instance, rather usage for the free part. So to answer your question, up to 20 devices, active devices. And when we say active devices, it's active. What does that mean? You can actually deactivate your devices. So you can do a round robin kind of thing. How fast is the device? I'll get back to you then. I don't want to say it publicly. How are these devices identified? Is it the device identity that he showed us? Yes, yes, yes. The MAC address. So if I have one Raspberry Pi and 20 sensors of Bluetooth, I have 20 Bluetooth MAC addresses. No, no, no. No, right? It's just whatever from the high cell transferring out. So no, no, no. Okay? And that's why I say it's better if you have a lot of sensors, you collate it into one central device before going there. That's how I would recommend. Yes, thanks. Give or take, there's a pricing problem. Typically, this same sensor versus host things comes up all the time in I don't know if you have frameworks. And if you don't have a pricing constraint, you usually do it on a feed sharing basis. If all the sensors feed share, if they all go away together, or they're all connected together, then treat it with one device. If they don't feed share, then they don't see the process. In this case, however, you might want to put a concentrator in. Despite the fact the concentrator might lose communication to the devices, which run up against the liquid pricing problem. And then also at the same time, right? It's your problem of intermittent internet also. So you need to have an intermediary storage, right? Which, like I said, as I said, so it doesn't matter for you because you're going to have an intermediary storage anyways, eventually. So you can do all your processing there, data cleansing before even going up to the IoT foundation that phone. I can work around with you for the free stuff. The other thing is when you have a load of concentrator, like I said, nobody stops you. If that one does a HTTP post, you bypass the IoT foundation completely, or you use a Cloud and Database or a CouchDB and synchronize with the CouchDB so there's no more IBM IoT Cloud involved. The IBM IoT Cloud becomes interesting the very moment as you have all these specialized devices and you use the libraries IBM provides to connect them. But like I said, on the geek layer, I think we are right now in that, you can straight away use a standard internet protocol to directly hit BlueMix without the IoT Cloud and then slice yourself the money. We're using the Cloud and synchronization. Either using the Cloud and synchronization or MQ. The example I used was with a twine that was hitting the BlueMix directory. There was no IoT in there. They simulated temperature device that used the IoT Cloud. So you've seen both. And I have also feedback to the IoT guys so that the pricing is really slightly off. Slightly off. Slightly off the realistic part of it. On the other hand. Yeah, unappealing exactly. So I've already feedback on that. We'll see what comes up in the next few months. I'm just a small fry in IBM. I have no power. Any other questions? No? All right. So there is a call to action, obviously. So after looking at all of this and you're interested in it. Can I use your computer? Just text file. Text file with you. Yeah, notepad. Or your favorite editor. Or Sublime or Atom or Notepad++ or VIM or anything. EMAX. Oh wait. No, no, no, no, no, no. Not EMAX. I'm from the VI and the VIM. Oh, come on. But the settlement was in Singapore. The guys who coded it were around here. All right. Anyways, how do we increase the... Where is it? Zoom. Zoom in, right? Control-Numpad++. Oh, wait. So you're going to be with us. All right. So basically the URLs are ibm.biz, obviously. Bluemix sg. Okay. So that's the one that you want to go to to register for Bluemix. The Internet of Things is... What is it called? Internetofthings.ibm... developer.ibm.com developer.ibm.com slash IoT. IoT. Correct? Yeah. All right. That's the IoT stuff. And... node-red.org node- dot-red.org So that's the node-red stuff. MQTT.org More? Okay. MQTT.org This is not for the IBM... Sorry. We just mentioned Node-Red is from IBM Research. So we open sourced it. Apache. All right. They made the lawyers drunk to get away with it. Yeah. I have no idea how they did that. All right. The other one that you want is probably my email address. If you have any queries or anything like that, it's just very simple. JustinLee.sg.ibm.com Simple enough. And if you have any questions in terms from startups as a startup, we have our startup programs and whatnot. So if you have any other questions about that, you can either email me or go to yeshttp.ibm.biz slash G-E-P-C-S-S No. Four C-S-S-G There we go. What? Yeah. Why? It stands for Global Entrepreneurship Program for Cloud Startups Singapore. So obvious. So obvious. I'm not going to write the entire thing down, like Global Entrepreneurship Program for Cloud Startups Singapore. Right? A mind map. A mind map exactly. All right. So what are the links? What are the links that we have? Oh, meetup.com. So if you didn't register for Meetup, just go to meetup.com slash Blue Mix SG. So we're having a lot of workshops over the next few weeks. Do check it out. And we're having a lot of events for the next few weeks or so. And also at the same time in the Blue Mix SG Meetup page, if you want to share anything, you don't have to always be IBM because initially now nobody uses Blue Mix, so I have to use IBM people. But eventually if you guys have anything you want to share, let me know. Send me an email or post in meetup.com and then let me know if you want to share anything, I'll put it up there. It's a community. It's a Blue Mix community. So it's open for you guys to share whatever you want. This is the first Blue Mix Meetup Singapore community group meetup group. We're going to target every last Thursday of the month. Every last Thursday of the month to meet up. And the next one, I don't know. I temporarily put it as a mobile. Something to do with Blue Mix and mobile. But if any of you guys after seeing the introduction by Stefan of all the different services, is there anything specific that you want to see? Anything? Wait, wait. In order to remind you again what it means here's the list. Yes. What can Watson do? That's actually a... What can't Watson do? Google personality analysis it has to be. You want to show that demo? Or we can keep it for the next meetup. Demo. Demo. My Blue Mix. I've memorized this URL already because everyone is looking at this. Maybe for the next meetup, I don't know. If you guys want to see Watson or if you want to see the mobile services I haven't decided yet. If more people want to see Watson I'll do Watson. This is the personality insight. Something small. Teaser. I can actually get a bunch of text. It doesn't matter where the text is it can be from Facebook, blogs, Twitter, a reference. It has to be that person that writes it. The person that writes it. I can analyze it, pass it to Watson analyze it. Everything is under REST APIs and what do you call that? JSON. Pass it to Watson and Watson will be able to give me back its analysis on what your personality or the person who wrote this piece of text personality is. This is what I get back. What he did was mentioning about Najib's speech. He basically pasted that speech here and analyzed it and something interesting came back. There's a summary. Your choices are driven by, that was the sentence where everybody in Malaysia start laughing or it was by need for attention. Yeah. This is a quick one. I did also a quick demo on Watson. You can actually go to match.mybluemix.net Currently, there's only nine Twitter accounts that I'm comparing you with. You can actually just go to let's say I matched with an account and I'm able to check I am similar to Elon Musk This is my personality. This is a quick demo that I did based on personality insights. Alrighty. I'm quite proud of that. That's why I keep showing that. Those are some of the things. That's a good idea. So one last thing. Let me just flash this up again. So everybody got it? Got all the links? Do you want me to make it bigger? Please. I also find it very small. In Control mouse scroll up. This doesn't. I will. This is just for the beginning for you guys. I'll post it on Meetup and feel free to post any of your photos on Meetup and suggest events and topics and what not because I'm running off ideas. You guys to tell me what you want to see. And with that, let me pass it off to Aizad. Ken is his laptop. Of course you can. What's the URL? FinTech. By the way, we are sponsoring this also. Yes, and that's why I'm presenting it today. The past few weeks we have been working on a challenge this coming June. So we are interested to go into the FinTech industry and all that. So we have been talking to Justine. Justine has been coming down to our office and we have decided to sponsor us $12,000 credit for the first prize winner. Okay, let me just go. Okay. So I just go down to the prices and they have decided to sponsor $12,000 USD of IBM to meet the credits. For all three prizes. For all three prizes. Who will see carefully? Who will see carefully? Who will see carefully? Who will see carefully? So even for run-up price, they are willing to and no, I mean not willing they are going to give you guys $12,000 USD of IBM to meet credits. So imagine your first prize run-up you're still a winner at IBM. So we had the overview of the BlueMix just now. So imagine what $12,000 USD of IBM BlueMix credits can do for you. So there's a thing in programming if you want to learn something you just need to get your hand dirty. So I would say just come down for the event if you win first prize or you win second prize you get the chance to join the TCF PMP FinTech Accelerator program which is the plug and play from Silicon Valley and you'll be fully funded by both TCF and plug and play to start on your idea. So this is an ideation challenge so it's not a hackathon challenge so there's no coding involved we just want you to calm down just brainstorm mix around with the people in FinTech in Singapore and just present your ideas at the end of the day so my idea happens to be the idea that both TCF and PMP are very interested to invest in, they will make you the first prize or the second prize winner and yeah, so that's about it. So if you guys want to register just go down to thecofoundry.com FinTech Challenge or just Google FinTech Challenge Singapore to bring these students there's actually a lot of FinTech challenges you know it is a really popular thing so what are the FinTech challenges? There is a FinTech there's a FinTech organization I think two weeks ago they did the DBS blockchain hackathon which we sponsored also they are very generous and I don't know what else there's so many there's quite a few also right there's quite a few FinTech challenges around there so this is going to happen on I share it so don't know 21st I think if I'm not wrong of June it's on the Saturday 20 June on the Saturday so just go to the website thecofoundry.com and just go to the home page and you are able to register here currently there are already 7 teams we are planning to hold 20 teams so there are 13 more slots okay so if you guys have any questions do you have anything you want to say? I have a lot of pizza left I'm very seriously full finish it yes yes no thank you okay thank you very much thank you