Mozilla IoT Framework – Kathy Giori (Mozilla)

thank y'all for coming my name is Kathy Jory and I work at Mozilla and emerging technologies did anyone know before this talk that Mozilla is venturing into experimentation and the Internet of Things doing things they're just just 1 maybe 2 a little bit ok so that's what I'm here to talk about today Mozilla is a fantastic mission to protect the web to make it open and accessible to all and as we see you know the web converging with IOT we want to make sure that that's going to be a good experience for consumers and while we're on this mission when we started looking into IOT we said well there's a lot of things in the early days of IOT industry that are much like the early days of the Internet where there's competing markup languages and competing standards and things like that and in the Internet of Things there's a lot of standards going on right now and they're all good they're all got the right mindset but somehow we need to help them converge because right now what's happening is you've got these brand specific api's where a product vendor has to not only make the product they have to make a cloud service for it connect to web apps or specific at smartphone tablet apps and all of these things with their own data models and then one light bulb doesn't equal the other light bulb doesn't equal the other light bulb in terms of interoperability so that's one problem and when you have that whole vertical ecosystem that keeps the cost high like smart things are more than 10 times the cost of dumb things and as consumers that's keeping the whole industry down secondarily when you've got these vertical silos and you're and you're just a generic device maker then you have to have you know works with a works with B works with C and that becomes unscalable we've also seen brands that come out and have a thing a hub cloud service and then they fail now suddenly your thing is like a brick and then one of the big reasons that mozilla is paying a lot of attention here is our concern on personal privacy we don't want these Oh OOP cease to go on with all of your personal habits and IOT data and theirs in some cloud and now they know when you're coming and going and what your whole lifestyle habits are you kind of don't want to expose that so we have to be careful about what exact data we transmit to the ground to the cloud and then finally if your internet connection goes down you know do things keep working so those are the survey of the problems so what I meant by vertical silos this is even independent of generic device brands is you've got a lot of things talking to the cloud not necessarily using the same protocols at the application layer you know there's some server MQTT servers there's home kit there's weave and and nest all have their own things going on with the web of things what we're trying to do is decentralize the Internet of Things and all of those things all those lower stacks before you get to the cloud they should just be things that could be directed as web URLs not you know before you send data to the Internet basically they're they're described as URLs on the web and that makes them linkable discoverable and opens up the whole aspect of web developers everywhere of interacting with these things and then and then of course it's going to take some time to gel but having things in common categories described by common API to make them interoperable so a light bulb is a light bulb it's light bulb independent of the wireless protocol that's used to connect them so what this is is we're doing work with the w3c as we do a lot of work with the w3c but in particular with the web of things interest group and again that layer before you go to the cloud at the edge at the at the fog layer is just let's use common web technologies to interoperate between these things so that all this stuff down here doesn't have to stay oh I need to talk to this and that and the other thing if they want to send any of their data to the cloud and that the value of that is we already have you know best-of-breed existing web technologies that we can take advantage of and there are still some hurdles like how do you run a local HTTP for security of things like that but essentially the the web standards that we're already familiar with can apply even at the edge even in the fog of of IOT and like I said in particular we're pushing through submission through the w3c specific to just being a plain JSON serialization of this IOT data lots of lots of groups doing this and in particular to our company you know our vision of an open Internet that's accessible to all is also now we vision this decentralization of the Internet of Things that puts people first you know where individuals can shape their experience and powered safe and independent that the IOT data is yours so our mission with this project just to create this open source web of things implementation that incorporates our values and keeps you guys safe secured private and then interoperability comes together so how does this work so far we've started the project with a focus on the Gateway which is kind of that like I say it's that web layer that we want to get everything talking web before it goes off to the cloud so we focused on running things on I'll show you the next slide just on a Raspberry Pi for starters at the gateway and just recently we started producing libraries to help you make things that are more web webby I should say and today the only thing we do in the cloud is Drive software updates and so forth but third-party apps and services will be up there and then another thing we haven't really spent a lot of time on but which will be a lot of fun in the future as the controllers you can talk two things you can gesture at things can augment a'dreea leti use of things there's all sorts of ways to command and control the IOT environment around you and the devices are just you know the sensors and actuators that make up a smart home or smart industry or what have you so we just just this past Monday we did our 0.4 release of the Gateway software it's all this is all up on github it's all open development we have an open IRC Channel none of the what we're doing is kept in the dark so you just connect your Raspberry Pi up to an existing access point as a client and you can connect up regular thing so what's not shown in this picture is you can plug in like ZigBee and z-wave down a little dongles if you have the IKEA tread fly bulbs or the Philips hue bulbs or you can get these Wi-Fi products that work and then we built running on the Raspberry Pi as it generates a user interface so you actually don't have to go to the cloud at all what goes on in the cloud today really is that we set up when you set up a gateway you get a subdomain off of Mozilla – IOT org that's your own domain so it's like my name Kathy dot and so I have Kay Jory at dot Mozilla – IOT org and then I own that domain assist associated with my email so I can keep renewing it as often as I want so get in there fast so you can get your own subdomain before somebody else gets your name and then the other things that go on the cloud is once you've set up that free domain from let's encrypt when you are remote because the Gateway and this situation is not at the edge of the network rather than having you poke holes in your firewall and most consumers don't know how to do that we actually do a tunneling service through the cloud so that when you go to your HTTP domain we'll tunnel that data into your into your home directly but in the future you can imagine you know that if a gateway some sort of always-on device in your home is always on you could have backups other third-party services in the cloud and then I was taking a look at I've been talking to way about the products that Samsung Arctic team has and there's some really good stuff there that is appropriate for this project and on the gateway side the Arctic that Dan Gross was talking about this morning like like for example the 530 that is being built by seed studio with a $79 price point I think it is and built in ZigBee that would be pretty cool so you can see what's going on here it's got a toe 2.11 so we've got bluetooth it's got ZigBee and Wi-Fi of course so that's a nice little platform and then on the things side they have this o 53 board and that already can you know that there's a module on the dev board but that's also very appropriate for for becoming a thing and then just to show you just a quick snapshot of what is a smart thing by the web of things what we mean is that web developers consume JSON objects all day long and so what what the description of these things are is very readable I you know smart toaster believe it or not there are smart toasters on the market you can buy but you I would guess that the smart toaster API for a toaster manufacturer a is already different than B and why should they be right we want these things to be common everyone wants to pop their toast and no one it's ready we also did a research study of our own and it came up with the same results as this study which is that most consumers actually care most over privacy interoperability brand everything to do most care first about cost so why isn't IOT taking off especially in smart homes it's taking off in industry IOT is becoming more popular but that's because industry has more money and they have bigger savings to reap so they can spend more money on but in a smart home I would say I did internet searches of smart bulbs and a dumb bulb is like top 30 searches are 20 cents to $1 and smart bulbs Google search comes back to the range starting like 0 to 15 15 to 30 30 to 45 and 45 and older over 4 a bulb right that's just there they're not in the same ballpark that's not gonna that's not gonna work this is a this is just a demo of the Raspberry Pi with a little seed studio Reese pker hat turn on the kitchen turn off the kitchen so what I'm doing is I'm actually talking to the microphone there and there's being processed locally so that the command of that bulb is is going through via the Gateway itself but that would normally be a controller device and then this demo is also similar it's the same commands but rather than going through a separate controller I can oh it's the opposite Mozilla things turn on the kitchen Mozilla things turn off the kitchen so if I were to go back to the other screen this little icon right there the microphone you can actually talk through the browser and talk to a demo at the end I can show you this you can just talk through your browser took a man in control or you could have a separate voice controller like an Amazon Alexa Google home all sorts of or just you could have speakers I'mnot speakers microphones like you could embed microphones in appliances and and other things and those microphones could go all go back and be processed by the Gateway we would like command and control voice processing to be done locally as much as possible and then natural language processing questions like what's the weather obviously go to the cloud but there's no reason that you can't have commands processed locally for turning things on and off then when your internet is down they'll still work or you won't get that leg and then this is just an example so I wasn't using Samsung Hardware yet but basically this is a development board running an Arduino framework and Arduino wiring framework and I've just put a little bit of code in there that speaks over a Wi-Fi and I have it show up as as a web thing as a light as a smart light bulb that's the onboard led so my idea is that in the future how many of you have ever played with the Arduino wiring framework yeah you know the Arduino blank then right so my idea is that are doing a blink becomes like web thing LED and web thing LED means will create example sketches for all these different platforms where you just load this example sketch it advertises itself either through a serial protocol we've got a binary serial for the lightest tiniest microcontrollers with no connectivity but if they have Wi-Fi Bluetooth ZigBee z-wave lore whatever it else it is then they can communicate over that wireless communications and become discoverable either as like Eddystone beacons for Bluetooth or mdns if they have networked traffic and suddenly your your default sketch your Arduino blink becomes this example of having something connected and then after that all you have to do is realize you know what sensors and actuators do I want to describe in as a web thing as a standard web object and one of the reasons I'm showing here some user interface screens from platform io which I use a lot because there's an examples built into the home page and you can see over there some of the sam took arctic platform the O 53 is supported by it and that's where I want to see the LED web thing examples for all these different boards show up and then all you do is you know grab say go build me a project and suddenly you have a you know here's the o 53 Simpson Arctic this will become a web thing as soon as I get a little more time to play with it and then this is the 530 which is like a gateway style device so these are both great platforms for this and milestones and plans just to let you know we're in the 0.4 release that we gave this week so it's early on in the project it's a small team but we already have really good community contributions and response we already have people building adapters for things that are existing devices and we're already gaining momentum moment on evangelizing that hey rather than build an adapter for all these existing devices we want device manufacturers to produce things as standard web things then they can create a smart bulb like I remember I did that internet search priced low to high the brand name bulbs you know were usually at least fifteen dollars or more but I found us cheap as three dollars for Wi-Fi enabled smart bulbs when there was no cloud service associated with it and other things so if you think about it the hardware itself kind of can be affordable at a three dollar price point for a smart bulb and if bulb manufacturer smart bulb manufacturers could produce in quantity like that and just sell the bulb and be done it's affordable for as consumer so if all things were were you know if we could cut down the vertical stacks and make these things horizontal I think it could really be affordable so we're in these 0.5 release coming up this summer we want to support more platforms more things as gateways we already have a port to open number T that's been just upstream to the opened over T package within the last week and that supports a lot of Wi-Fi routers or carrier gateways and then there's you know basically any Linux distribution this stuff can be ported to as long as there's enough application space we do require web technologies to run on these things like node and even Python for some of the add-ons so you have to have a little bit more application space but so lots more gateway platforms could be supported and then way more thing libraries like I say the hello world the the web thing LED that's going to help transition all of these microcontroller developers into web thing developers and that and then they can prototype you know making real products so to me that's really exciting we also want to go into add support for more things controllers so we have some work going on any Android things operating environment so that people can create specific controllers for this type of activity and we want to test how a test a start home smart home starter kit I think will be fun to give give us some feedback and research on the users you know we want to get it in the hands of consumers who are concerned about IOT privacy but see if this user friendly enough from a software standpoint and then finally the third-party application service providers we already have an OAuth framework built into the gateway software so that when you have a smart appliance that's run out of detergent or something like that you could set up a rule to say okay this is where I want you to buy this extra pod of detergent or whatever the the appliance needs and and if you approve it it could probably have it shipped just in time automatically to you there's all sorts of products and services you could imagine tying into this but from Mozilla standpoint the very most important thing we want is we want to show you exactly what data it is about these things that that you store and save locally and then you get to see what data you are sharing with a provider exactly what data you're sharing with a provider to get some other value-added service so that you're not exposing and you don't want to give all this data to one provider you want to sort of compartmentalize it so they don't know all of your personal and private habits so that's um and we've already this little graph over there was just we did our 0.3 launch in February sort of the 0.1 0.2 were very experimental and didn't do too much 0.3 was the first time where he supported more sort of real-world devices we got a lot of uptick from that starting from February over 5,000 downloads and now we're over 6,000 and so we're in the right trend and I just want to go back and remind you of the value proposition this sort of framework as consumers is an affordable one-off purchase of actual products and hardware there's no monthly subscription to run sort of an always-on IOT hub in your home and then you can sign up for products and services on top of that but the private data stays with you you own it you determine what what gets done with that and then and then the other aspect of working through the w3c is to make it expandable with devices from multiple manufacturers without having all this interrupts problem so we have today thanks for listening to the spiel and hope you can join our project thank you [Applause]

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *