SlideShare a Scribd company logo
Home Automation and Security
with NinjaBlocks
Eugene Yew
April 2015
2
Situation
I was looking for :
• a reasonably priced home automation solution,
• a platform that was modular and worked with a range of
devices,
• a solution that was extensible in its capabilities (not a one
trick pony) and allowed it to be built upon,
• something that would put my Raspberry Pi to good use.
3
Complication
• I did not want to re-wire my house so solution had to be
wireless friendly.
• I wanted a solution that was mobile friendly – ie allowed
me to control components of my home via my mobile
• Solution had to not be restricted to mobile use, for users
that did not care for mobility.
I did not want to spend a lot.
Question
What would fit my requirements ?
4
Answer I went with:
• A kickstarter funded project from a Sydney company based
in Redfern Technology Park.
• Highlighted in Tech Blogs, eg http://lifehacker.com/make-
your-own-cheap-home-automation-in-10-minutes-with-
1468650432/all
• “Ninja Blocks are tiny cloud enabled computers that can
sense their environment by receiving input from a variety of
sensors & can affect their surroundings by controlling
lights, power sockets, and other actuators.”
Ninja Blocks - http://ninjablocks.com/
5
Getting Ninja Blocks
Option 1: USD199 Kit
Starter Kit with:
• 1x Ninja Block (BeagleBone Black Linux computer with an Arduino).
• 1x Wireless motion sensor.
• 1x Wireless door/window contact sensor.
• 1x Wireless button.
• 1x Wireless temperature and humidity sensor.
• 1x Ethernet Cable.
• 1x 5VDC 3 Amp Power supply
• 1x Temperature Probe
http://ninjablocks.com/collections/ninja-blocks/products/ninja-blocks-kit
6
Getting Ninja Blocks
Option 2: USD 49 Add on to Raspberry Pi
For those that already have a
Raspberry Pi, the Ninja Pi
Crust is an Arduino-compatible
board that sits on top of the
Raspberry Pi and has 433MHz
transceivers.
This is the option I went with.
7
My Set Up
NinjaBlocks
Cloud
External Cloud
Services:
• Twitter
• SMS (Twillio)
• Dropbox
• Email
• Google Drive
• Facebook
433MHz Frequency
Socket
Actuators
Motion
Sensors
Door and
Window
Sensors
USB
Webcam
IP Cam on
Android
Mobile
Apps for
Remote
Control
Alarm Kit
REST based APIs
8
Rules for Home Automation
• Using drag and drop, no coding.
• Some example rules I’ve set up:
• “When the front door is opened, send me an SMS, take a snapshot with camera,
send to my Gmail, upload to Dropbox”
• “When motion is detected by PIR sensor, take snapshot and upload to Dropbox.”
• “Turn on Coffee Maker and power board for TV every morning at specific time.”
• “Turn on stair lights if motion detected in between specific time”
You can create your own rules based on events that occur.
9
Admin Web Dashboard
10
Every sensor & actuator provides REST enabled API
So I built my own remote app and wrapped with PhoneGap
To remotely control
sockets
To remotely view
camera feed
To remotely turn
rules on or off.
11
Android Wear interaction
• Tasker can be used to make
HTTP POSTs to the APIs.
• AutoWear provides Android Wear
extension to issue the same
commands from Android Wear
using custom screens or voice.
• Example of Android Wear turning
on coffee machine with actuator.
12
My Bill of Materials
• 1 x PIR sensor - $8 each from eBay
• 3 x Door Sensors - $4 each from eBay
• 2 x power socket actuators with remote -
$30 for pack of 3 from Jaycar
• 1 Logitech C110 USB webcam connected
to Raspberry Pi - $9
• 1 x Swann Security Wireless Alarm Kit
with 3 door sensors, 3 PIR sensors, 2
remotes - $85 from Dick Smith
• Full list of crowd sourced compatible
devices on wiki.ninjablocks.com
13
Lessons Learnt / Current shortcomings
• Not as much support for home automation devices like in-wall
switches, locks compared to solutions based on z-wave.
• Too many devices on 433Mhz frequency can lead to sometimes
patchy results (e.g. delayed actions).
• No ability to detect current state of actuators – can only trigger
on or off states.
• Cloud based solution and reliant on Ninjablocks’ uptimes.
• Alarm system needs to be secured to prevent alarm being able
to be disabled by removing power.
• Small engineering team and reliant on crowd sourcing support.
Focus has been more on their next Kickstarter project, Ninja
Sphere

More Related Content

What's hot

IoT prototyping made simple
IoT prototyping made simpleIoT prototyping made simple
IoT prototyping made simple
Bhavana Srinivas
 
Global Data Stream Network for Internet of Things
Global Data Stream Network for Internet of ThingsGlobal Data Stream Network for Internet of Things
Global Data Stream Network for Internet of Things
Bhavana Srinivas
 
Home Automation Using RPI
Home Automation Using  RPIHome Automation Using  RPI
Home Automation Using RPI
Ankara JUG
 
Google wi fi
Google wi fiGoogle wi fi
Google wi fi
Rohit Sinha
 
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
ST_World
 
IoT Tech Day Coding Mojo slides. Utrecht, April 2016
IoT Tech Day Coding Mojo slides.  Utrecht, April 2016IoT Tech Day Coding Mojo slides.  Utrecht, April 2016
IoT Tech Day Coding Mojo slides. Utrecht, April 2016
Mark West
 
Track 5 session 4 - st dev con 2016 - life cycle management for web
Track 5   session 4 - st dev con 2016 - life cycle management for webTrack 5   session 4 - st dev con 2016 - life cycle management for web
Track 5 session 4 - st dev con 2016 - life cycle management for web
ST_World
 
Meeting-Room-Alert-System
Meeting-Room-Alert-SystemMeeting-Room-Alert-System
Meeting-Room-Alert-System
Bhupendra Singh Negi
 
Final project CEIS 106
Final project CEIS 106Final project CEIS 106
Final project CEIS 106
JoshuaBrown233
 
Unwired Devices LLC — IoT Solutions (eng)
Unwired Devices LLC — IoT Solutions (eng)Unwired Devices LLC — IoT Solutions (eng)
Unwired Devices LLC — IoT Solutions (eng)
Oleg Artamonov
 
RumahPintar Prototype
RumahPintar PrototypeRumahPintar Prototype
RumahPintar Prototype
Herpiko Dwi Aguno
 

What's hot (11)

IoT prototyping made simple
IoT prototyping made simpleIoT prototyping made simple
IoT prototyping made simple
 
Global Data Stream Network for Internet of Things
Global Data Stream Network for Internet of ThingsGlobal Data Stream Network for Internet of Things
Global Data Stream Network for Internet of Things
 
Home Automation Using RPI
Home Automation Using  RPIHome Automation Using  RPI
Home Automation Using RPI
 
Google wi fi
Google wi fiGoogle wi fi
Google wi fi
 
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...Track 5   session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
Track 5 session 5 - st dev con 2016 - stm32 hands on seminar - cloud connec...
 
IoT Tech Day Coding Mojo slides. Utrecht, April 2016
IoT Tech Day Coding Mojo slides.  Utrecht, April 2016IoT Tech Day Coding Mojo slides.  Utrecht, April 2016
IoT Tech Day Coding Mojo slides. Utrecht, April 2016
 
Track 5 session 4 - st dev con 2016 - life cycle management for web
Track 5   session 4 - st dev con 2016 - life cycle management for webTrack 5   session 4 - st dev con 2016 - life cycle management for web
Track 5 session 4 - st dev con 2016 - life cycle management for web
 
Meeting-Room-Alert-System
Meeting-Room-Alert-SystemMeeting-Room-Alert-System
Meeting-Room-Alert-System
 
Final project CEIS 106
Final project CEIS 106Final project CEIS 106
Final project CEIS 106
 
Unwired Devices LLC — IoT Solutions (eng)
Unwired Devices LLC — IoT Solutions (eng)Unwired Devices LLC — IoT Solutions (eng)
Unwired Devices LLC — IoT Solutions (eng)
 
RumahPintar Prototype
RumahPintar PrototypeRumahPintar Prototype
RumahPintar Prototype
 

Similar to Home automation with Ninja Blocks

SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - Barcelona
Nicolas Lesconnec
 
Frony Fronius: Exploring ZigBee signals from Solar City
Frony Fronius: Exploring ZigBee signals from Solar CityFrony Fronius: Exploring ZigBee signals from Solar City
Frony Fronius: Exploring ZigBee signals from Solar City
Jose Fernandez
 
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
Positive Hack Days
 
An IOT based Smart Home with virtual assistant
An IOT based Smart Home with virtual assistantAn IOT based Smart Home with virtual assistant
An IOT based Smart Home with virtual assistant
TenzinGhaphel
 
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
MicheleNati
 
IoTCourse.pptx
IoTCourse.pptxIoTCourse.pptx
IoTCourse.pptx
wiTTyMinds1
 
Smart home Environment using iot
Smart home Environment using iotSmart home Environment using iot
Smart home Environment using iot
parvathy s m
 
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
Rapid7
 
IoT BASED SMART HOME USING ARDUINO
IoT BASED SMART HOME USING ARDUINOIoT BASED SMART HOME USING ARDUINO
IoT BASED SMART HOME USING ARDUINO
AYSHA S KABEER
 
Creating Havoc using Human Interface Device
Creating Havoc using Human Interface DeviceCreating Havoc using Human Interface Device
Creating Havoc using Human Interface Device
Positive Hack Days
 
Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0
APNIC
 
DIY Technology for the Internet of Things
DIY Technology for the Internet of ThingsDIY Technology for the Internet of Things
DIY Technology for the Internet of Things
srmonk
 
IoT security zigbee -- Null Meet bangalore
IoT security zigbee -- Null Meet bangaloreIoT security zigbee -- Null Meet bangalore
IoT security zigbee -- Null Meet bangalore
veerababu penugonda(Mr-IoT)
 
Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation  Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation
Arun Kumar
 
Mickey pacsec2016_final
Mickey pacsec2016_finalMickey pacsec2016_final
Mickey pacsec2016_final
PacSecJP
 
Eckovation IoT internship Report PowerPoint presentation
Eckovation IoT internship Report PowerPoint presentationEckovation IoT internship Report PowerPoint presentation
Eckovation IoT internship Report PowerPoint presentation
ManoranjanMaharana7
 
What is IoT?
What is IoT?What is IoT?
What is IoT?
Linda Mull
 
1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan
1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan
1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan
Institute of Contemporary Sciences
 
Intro to firewalls
Intro to firewallsIntro to firewalls
Intro to firewalls
Joshua Johnston
 
Internet security
Internet securityInternet security
Internet security
Antony Mathew
 

Similar to Home automation with Ninja Blocks (20)

SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - Barcelona
 
Frony Fronius: Exploring ZigBee signals from Solar City
Frony Fronius: Exploring ZigBee signals from Solar CityFrony Fronius: Exploring ZigBee signals from Solar City
Frony Fronius: Exploring ZigBee signals from Solar City
 
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
 
An IOT based Smart Home with virtual assistant
An IOT based Smart Home with virtual assistantAn IOT based Smart Home with virtual assistant
An IOT based Smart Home with virtual assistant
 
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
IoTMeetupGuildford#2: IOT Resin.io - Lorenzo Stoakes (Resin.io)
 
IoTCourse.pptx
IoTCourse.pptxIoTCourse.pptx
IoTCourse.pptx
 
Smart home Environment using iot
Smart home Environment using iotSmart home Environment using iot
Smart home Environment using iot
 
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
The Internet of Fails - Mark Stanislav, Senior Security Consultant, Rapid7
 
IoT BASED SMART HOME USING ARDUINO
IoT BASED SMART HOME USING ARDUINOIoT BASED SMART HOME USING ARDUINO
IoT BASED SMART HOME USING ARDUINO
 
Creating Havoc using Human Interface Device
Creating Havoc using Human Interface DeviceCreating Havoc using Human Interface Device
Creating Havoc using Human Interface Device
 
Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0
 
DIY Technology for the Internet of Things
DIY Technology for the Internet of ThingsDIY Technology for the Internet of Things
DIY Technology for the Internet of Things
 
IoT security zigbee -- Null Meet bangalore
IoT security zigbee -- Null Meet bangaloreIoT security zigbee -- Null Meet bangalore
IoT security zigbee -- Null Meet bangalore
 
Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation  Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation
 
Mickey pacsec2016_final
Mickey pacsec2016_finalMickey pacsec2016_final
Mickey pacsec2016_final
 
Eckovation IoT internship Report PowerPoint presentation
Eckovation IoT internship Report PowerPoint presentationEckovation IoT internship Report PowerPoint presentation
Eckovation IoT internship Report PowerPoint presentation
 
What is IoT?
What is IoT?What is IoT?
What is IoT?
 
1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan
1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan
1984 Big Brother is Watching you (and helping with savings) - Tomislav Krizan
 
Intro to firewalls
Intro to firewallsIntro to firewalls
Intro to firewalls
 
Internet security
Internet securityInternet security
Internet security
 

Recently uploaded

制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
bseovas
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
bseovas
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
ukwwuq
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
Azure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdfAzure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdf
AanSulistiyo
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 

Recently uploaded (20)

制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
Azure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdfAzure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdf
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 

Home automation with Ninja Blocks

  • 1. Home Automation and Security with NinjaBlocks Eugene Yew April 2015
  • 2. 2 Situation I was looking for : • a reasonably priced home automation solution, • a platform that was modular and worked with a range of devices, • a solution that was extensible in its capabilities (not a one trick pony) and allowed it to be built upon, • something that would put my Raspberry Pi to good use.
  • 3. 3 Complication • I did not want to re-wire my house so solution had to be wireless friendly. • I wanted a solution that was mobile friendly – ie allowed me to control components of my home via my mobile • Solution had to not be restricted to mobile use, for users that did not care for mobility. I did not want to spend a lot. Question What would fit my requirements ?
  • 4. 4 Answer I went with: • A kickstarter funded project from a Sydney company based in Redfern Technology Park. • Highlighted in Tech Blogs, eg http://lifehacker.com/make- your-own-cheap-home-automation-in-10-minutes-with- 1468650432/all • “Ninja Blocks are tiny cloud enabled computers that can sense their environment by receiving input from a variety of sensors & can affect their surroundings by controlling lights, power sockets, and other actuators.” Ninja Blocks - http://ninjablocks.com/
  • 5. 5 Getting Ninja Blocks Option 1: USD199 Kit Starter Kit with: • 1x Ninja Block (BeagleBone Black Linux computer with an Arduino). • 1x Wireless motion sensor. • 1x Wireless door/window contact sensor. • 1x Wireless button. • 1x Wireless temperature and humidity sensor. • 1x Ethernet Cable. • 1x 5VDC 3 Amp Power supply • 1x Temperature Probe http://ninjablocks.com/collections/ninja-blocks/products/ninja-blocks-kit
  • 6. 6 Getting Ninja Blocks Option 2: USD 49 Add on to Raspberry Pi For those that already have a Raspberry Pi, the Ninja Pi Crust is an Arduino-compatible board that sits on top of the Raspberry Pi and has 433MHz transceivers. This is the option I went with.
  • 7. 7 My Set Up NinjaBlocks Cloud External Cloud Services: • Twitter • SMS (Twillio) • Dropbox • Email • Google Drive • Facebook 433MHz Frequency Socket Actuators Motion Sensors Door and Window Sensors USB Webcam IP Cam on Android Mobile Apps for Remote Control Alarm Kit REST based APIs
  • 8. 8 Rules for Home Automation • Using drag and drop, no coding. • Some example rules I’ve set up: • “When the front door is opened, send me an SMS, take a snapshot with camera, send to my Gmail, upload to Dropbox” • “When motion is detected by PIR sensor, take snapshot and upload to Dropbox.” • “Turn on Coffee Maker and power board for TV every morning at specific time.” • “Turn on stair lights if motion detected in between specific time” You can create your own rules based on events that occur.
  • 10. 10 Every sensor & actuator provides REST enabled API So I built my own remote app and wrapped with PhoneGap To remotely control sockets To remotely view camera feed To remotely turn rules on or off.
  • 11. 11 Android Wear interaction • Tasker can be used to make HTTP POSTs to the APIs. • AutoWear provides Android Wear extension to issue the same commands from Android Wear using custom screens or voice. • Example of Android Wear turning on coffee machine with actuator.
  • 12. 12 My Bill of Materials • 1 x PIR sensor - $8 each from eBay • 3 x Door Sensors - $4 each from eBay • 2 x power socket actuators with remote - $30 for pack of 3 from Jaycar • 1 Logitech C110 USB webcam connected to Raspberry Pi - $9 • 1 x Swann Security Wireless Alarm Kit with 3 door sensors, 3 PIR sensors, 2 remotes - $85 from Dick Smith • Full list of crowd sourced compatible devices on wiki.ninjablocks.com
  • 13. 13 Lessons Learnt / Current shortcomings • Not as much support for home automation devices like in-wall switches, locks compared to solutions based on z-wave. • Too many devices on 433Mhz frequency can lead to sometimes patchy results (e.g. delayed actions). • No ability to detect current state of actuators – can only trigger on or off states. • Cloud based solution and reliant on Ninjablocks’ uptimes. • Alarm system needs to be secured to prevent alarm being able to be disabled by removing power. • Small engineering team and reliant on crowd sourcing support. Focus has been more on their next Kickstarter project, Ninja Sphere