一人でできる!m baasでスマートホーム化

Download 一人でできる!M baasでスマートホーム化

Post on 16-Apr-2017

2.412 views

Category:

Technology

1 download

Embed Size (px)

TRANSCRIPT

  • mBaaS

    MOONGIFT

  • @a_nakatsugawa

    fb.me/moongift

    MOONGIFT

    20041 MOONGIFT

    http://www.moongift.jp/

    @moongift fb.me/moongift.fan

    https://fb.me/moongift.fanhttps://fb.me/moongift.fan

  • mobile backend

    WebmBaaS

    http://mb.cloud.nifty.com/

  • mBaaS

  • &

    by Wikipedia@

  • 15.5/7.5

    7.6/3

    10.2/3

  • H.AmBaaS

  • H.AmBaaS

  • H.A

  • mobile backend

    200Web API

    200

    5GB

    node.jsJavaScriptObjective-C/Java/Unity

  • MQTT100

    WebSocketSecure

    1/20

    HTTP(GET/POST)MQTT/MQTTSfluentd

  • H.AmBaaS

    mBaaS

    mBaaS

    MQTT/mBaaS

  • MQTT

  • MQTT

    Pub/Sub

    HTTP

    NM

  • HTTP

  • MQTT

    &

  • MQTT

    MQTT100

    WebSocketSecure

  • /

  • Raspberry Pi 2 Model BARM 900 MHz

    4,800

    USB4

    IoT

    Windows 10 IoT Core

  • HD Webcam C270m

    1,620Amazon

    Raspberry PI

  • WLI-UC-GNMLAN

    841Amazon

    Raspberry PI

  • IRKit

    Arduino

    HTTP

    7,700Amazon

  • HDMIPi91280800 LCD

    FirefoxOSOpen Web Board

    FullHD

    Raspberry PI

    USB

    751.4

  • USBOK

  • node.js/JavaScript

    apt-get install nodejshttps://github.com/nathanjohnson320/node_armv0.12

    https://github.com/nathanjohnson320/node_arm

  • Raspberry PI JuliusDL

  • .mov

  • - .mov

  • LANInternet

  • mobile backend

    WebmBaaS

    http://mb.cloud.nifty.com/

  • mobile backend

    !

  • IoT

    !

  • .mov

  • NCMB.initialize(APP_KEY, CLI_KEY);NCMB.Push.send({ immediateDeliveryFlag: true, message: message}).then(function (obj) { // });

  • Webmotion&mBaaS

    motionapt-get install motionOK

  • .mov

  • var net = require('net'); var fs = require('fs'); var http = require('http'); var NCMB = require(./ncmb-latest.min').NCMB;

    NCMB.initialize(APP_KEY, CLI_KEY); setInterval(function() { fs.readdir('/tmp/motion', function(err, files){ files.filter(function(file) { var path = '/tmp/motion/'+file; }).forEach(function (file) { var path = '/tmp/motion/'+file; fs.readFile(path, function(err, data) { var f = new NCMB.File(file, data, "image/jpeg"); f.save().then(function() { }, function(err) { console.log(err); }); }); }); }); }, 10000);

  • NCMB.initialize(APP_KEY, CLI_KEY);

    var query = new NCMB.Query("file"); query.descending("createDate"); var filelist = {}; setInterval(function () { query.find().then(function(files) { files.forEach(function(file) { if (filelist[file.get('fileName')]) { return true; } filelist[file.get('fileName')] = true; var img = $(""); var objFile = new NCMB.File(file.get('fileName'), null, "image/jpeg", null); objFile.fetchImgSource(img.get(0)); $(".images").prepend(img); }); }); }, 5000);

  • Intel Edison Light Sensor

    IRKit

    NCMB

  • var NCMB = require(./ncmb-latest.min').NCMB; NCMB.initialize(APP_KEY, CLI_KEY);

    var IRKit = NCMB.Object.extend("IRKit"); var message = ""; setInterval(function () { if (value > 250) { if (on == null || on == false) message = ""; } else { if (on == null || on == true) message = ""; } var obj = new IRKit(); obj.set("action", message); obj.save(); });

  • URLMQTTFluentd

    Cron

  • 2Cron

    6

  • MQTT

    node.js/Ruby

  • MQTT1

    MQTT2.mov

    MQTT3.mov

  • mBaaS/IoT

    Raspberry PI 2 B

  • http://www.moongift.jp/

Recommended

View more >