Moto - Orchestrating IoT for business users and connecting it to YaaS

Post on 22-Jan-2018

6.102 views 0 download

Transcript of Moto - Orchestrating IoT for business users and connecting it to YaaS

Moto - Orchestrating IoT for business users

and connecting it to YaaSLars Gregori, @choas

Hybris Labs

Smart Wine Shelf

https://labs.hybris.com/prototype/smart-wine-shelf/

Funky Retailhttps://labs.hybris.com/prototype/funky-retail/

Motohttps://labs.hybris.com/

prototype/moto/

AgendaBLE and MQTT

YaaS Node-RED

Android: BLE and MQTTimport org.eclipse.paho.client.mqttv3.MqttClient; public int onStartCommand(…) { this.mqttClient = new MqttClient("tcp://"+MQTT_SERVER, ”moto”, …); this.bleReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) {

Boolean present = intent.getBooleanExtra(MotoBluetoothDevice.EXTRA_PRESENT, false);jsonObj.put("present", present);

mqttMsg.setPayload(jsonObj.toString().getBytes()); this.mqttClient.getTopic(MQTT_TOPIC).publish(mqttMsg); }}; }

LightBlue Beanhttps://punchthrough.com/

bean

Arduino Code

YaaSSAP Hybris as a Service

Node-REDorchestrating IoT

Thank you

Links and Credits• yaas.io

• labs.hybris.com

• nodered.org

• http://www.thingiverse.com/thing:351119