Simple Internet of Things ( IOT ) Demo Game The goal of the multiuser game is to send as many MQTT messages to IOTF as possible by moving your mobile device. You can send additional message by clicking the moving circle or shaking your device. In order to start register with a unique name via the button.After all participants are register a chosen Gamemaster can start the game for everybody. #IOTF #IBM #Bluemix #MQTT #Internet of Things
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
Simple Internet of Things (IoT) game with Bluemix and Node-Red
1. Beacons and Presence use cases and examples (part 1)
Markus van Kempen – mvk@ca.ibm.com
@markusvankempen
The Internet of Things
12/23/2015
1
2. IBM Internet of Things
Scenario’s
Collect data form all Bluetooth Devices and beacons around via node.js
using a Raspberry Pi or a notebook with Bluetooth Low Energy (BLE)
Send notification when Beacon is within a Range of the Raspberry Pi
(E.g. send sms when one is back from a run using fitbit for example)
Use Raspberry Pi by as a Beacon
Beacon Roaming between 2 gateways
12/23/2015
2
3. IBM Internet of Things
(i)Beacon broadcast information
https://en.wikipedia.org/wiki/IBeacon
12/23/2015
3
"minor": 10159,
"rssi": -73,
"major": 8221,
"proximity": "ProximityNear",
"accuracy": 0.73,
"uuid": "B9407F30-F5F8-466E-AFF9-25556B57FE6D"
uuid
advertised uuid
major
advertised major
minor
advertised minor
measuredPower
advertised measured RSSI at 1 meter away
rssi
current RSSI
accuracy
+/- meters, based on measuredPower and RSSI
proximity
current proximity ('unknown', 'immediate', 'near', or 'far')
Distance Info's
http://blog.sensoro.com/beacon-signal-performance-configuration-and-measure/
https://altbeacon.github.io/android-beacon-library/distance-calculations.html
http://blog.shinetech.com/2014/02/17/the-beacon-experiments-low-energy-bluetooth-devices-in-action/
4. IBM Internet of Things
iBeacon / BLE device broadcast information
12/23/2015
4
5. IBM Internet of Things
Presence and Beacons
12/23/2015
5
App
App Server
x
Type
WIFI Grid Locationing
Will provide actual (x,y) coordinate of phone
Margin of error: 5-10 Meters + variables
WIFI Proximity
Provides (x,y) coordinate of the SENSOR that detects you.
Margin of error: 2-5 Meters + variables: Dependent on
proximity setting
Beacon/BLE
Only provides beacon ID. Server maps that to beacon
location.
Margin of error: 1-2 Meters depending on beacon used
and configuration
Small Cell
Will provide actual (x,y) coordinate of phone
Margin of error: 5-10 Meters + variables
Magnetic Resonance
Require no specialized hardware & quite accurate
Dependent on establishing a hard location & fingerprinting
of site
SLAM (simultaneous localization and mapping)
No hardware required
Leverages sensors on the device
Used in conjunction w/other sensors
6. IBM Internet of Things
Beacon Gateway
12/23/2015
6
"minor": 10159,
"rssi": -73,
"major": 8221,
"proximity": "ProximityNear",
"accuracy": 0.73,
"uuid": "B9407F30-F5F8-466E-AFF9-25556B57FE6D"
“DeviceIP”
“Picture”….
7. IBM Internet of Things
Collect BLE device Data around you
12/23/2015
7
Ble Devices
& Beacon
Node-RED
DashboardBluemix & IoTF
MQTT
Node.js
8. IBM Internet of Things
Setup: Node.js -> IOTF -> NodeRED -> Dashboard
12/23/2015
8
9. IBM Internet of Things
Scenario’s
Collect data form all Bluetooth Devices and beacons around via node.js using a
Raspberry Pi or a notebook with Bluetooth Low Energy (BLE)
Send notification when Beacon is within a Range of the Raspberry Pi
(E.g. send sms when one is back from a run using fitbit for example)
Use Raspberry Pi by as a Beacon
Beacon Roaming between 2 gateways
12/23/2015
9
10. IBM Internet of Things
Use cases …
Leaving my Keys or Coming back from a run
12/23/2015
10
Publish Data via MQTT to IoTF
Display Data
NR Sends
Notification
12. IBM Internet of Things
Scenario’s
Collect data form all Bluetooth Devices and beacons around you via node.js using
raspberry pi or a notebook with Bluetooth Low Energy (BLE)
Send notification when Beacon is within a Range of the Raspberry Pi
(E.g. send sms when one is back from a run using fitbit for example)
Use Raspberry Pi by as a Beacon
Roam between 2 gateways
12/23/2015
12
13. IBM Internet of Things
Use cases …
You can use PI or your notebook / phone as a Beacon
12/23/2015
13
Publish Data via MQTT to IoTF
Display Data
NR Sends
Notification
14. IBM Internet of Things
Scenario’s
Collect data form all Bluetooth Devices and beacons around via node.js using a
Raspberry Pi or a notebook with Bluetooth Low Energy (BLE)
Send notification when Beacon is within a Range of the Raspberry Pi
(E.g. send sms when one is back from a run using fitbit for example)
Use Raspberry Pi by as a Beacon
Beacon Roaming between 2 gateways
12/23/2015
14
15. IBM Internet of Things
Beacon Entering a new Zone
12/23/2015
15
Node-RED
MQTT
Node.js
16. IBM Internet of Things
Requirements
Raspberry PI with Wifi USB (network) and Bluethooth (Ble) usb
Install bluez Bluetooth for RasPi .. node.js ( bleno, noble, blecon ,phao )
Beacons or discoverable Bluetooth ble device like a fitbit or phone
Bluemix account and IoTF Setup with Device type and id.
12/23/2015
16
17. IBM Internet of Things
Markus van Kempen
Executive Architect & Venture Capitalist
IBM Corporate Technical Strategy
Innovating with People and Technology
email: mvk@ ca.ibm.com
Twitter: @markusvankempen
Hashtag: #MVK
18. IBM Internet of Things
References
IBM IoTF
https://internetofthings.ibmcloud.com/#/
Node.js Code
https://github.com/sandeepmistry/noble
https://github.com/sandeepmistry/bleno
RPi Bluetooth LE
http://www.elinux.org/RPi_Bluetooth_LE
Code-Mashup
https://github.com/markusvankempen/
Slides
http://www.slideshare.net/MarkusVanKempen
More blogs
https://markusvankempen.wordpress.com/
Mobile app like “Locate” to pickup or simulate beacons
12/23/2015
18