My letterbox Stop waiting for your letter, be aware of its delivery
1. A new letterbox? Bringing remote monitoring to your daily routine
General description - Needs We’re living in a connected world where people want to be aware of everything. As everything cannot be digitalize we need to upgrade our aging letterbox to stop checking and waiting for letter or parcel.
My letterbox will help users managing their daily deliveries of letters and parcels
What we tried to achieve What are the expected features? What we tried to achieve
Expected features Get the amount of letter in your letterbox Set a threshold before withdrawal Say if you’re waiting for a parcel Be notified of letterbox activity: whether the door has been open and if you’re threshold of letters has been reached
2. My letterbox What’s inside of the box?
Upgrade your actual letterbox Add 2 sensors and a raspberry Pi Take your smartphone That’s all.
Which sensors? A sonar & hall sensor
Disposition of your sensors Sonar sensor Hall sensor Magnets Raspberry Pi
The user interface? THe simpler, the better
User interface Smartphone are widely used. Let’s develop a mobile app
User interface
User interface But it’s not enough, we want no jealousy
User interface
User interface Supported by both OS
Having an app is nice, bringing features is better What are its actual features? Having an app is nice, bringing features is better
Screens
Screens Home and historic screens
Check what’s going on your letterbox
Check what’s going on your letterbox Refresh and...
Check what’s going on your letterbox … let it do the rest
Set a threshold for withdrawal
Set a threshold for withdrawal Set dynamically the threshold for withdrawal from your settings
Tell us if you’re waiting for something
Tell us if you’re waiting for something Toggle a switch...
Tell us if you’re waiting for something … and we start waiting with you
If something happens, we let you know
If something happens, we let you know We send you an email to keep you aware
If something happens, we let you know Look at your app to know what happened
No connectivity?
No connectivity? Trying to proceed an action will...
.. leads to a notification warning you. Nothing bad happen No connectivity? .. leads to a notification warning you. Nothing bad happen
3. Architecture & implementation How did we build it?
Our process is easy An idea leads to a prototype Design document Prototype An idea leads to a prototype
Prototype components Letterbox AWS Application
Prototype components Letterbox AWS Application
Prototype components Letterbox AWS Application
Prototype components Letterbox AWS Application
Communication from letterbox to AWS AWS SNS sensor/door sensor/letter AWS IoT DynamoDB
Communication from letterbox to AWS AWS Shadow SNS sensor/door Topics sensor/letter Letterbox AWS IoT DynamoDB
Communication from letterbox to AWS AWS Shadow Rules SNS letter door db sensor/door Topics sensor/letter Letterbox AWS IoT DynamoDB
Communication from letterbox to AWS AWS Shadow Rules SNS letter door db sensor/door Topics sensor/letter Letterbox AWS IoT DynamoDB
Communication from letterbox to AWS AWS Shadow Rules SNS letter door db sensor/door Topics sensor/letter Letterbox AWS IoT DynamoDB
Communication from letterbox to AWS AWS Shadow Rules SNS letter door db sensor/door Topics sensor/letter Letterbox AWS IoT DynamoDB
Communication from AWS to mobile app AWS Mobile application Settings SNS Shadow Home AWS IoT DynamoDB Historic
Communication from AWS to mobile app AWS Mobile application Settings SNS Shadow Home AWS IoT DynamoDB Historic AWS IoT doesn’t exist in the AWS SDK Javascript...
AWS SDK JS with IoT service?
AWS SDK JS IoT…
AWS SDK JS with IoT service AWS IoT Mobile application Building a getaway
AWS SDK JS with IoT service AWS IoT HTTPS Mobile application Using HTTPS REST API
AWS SDK JS with IoT service AWS IoT Mobile application Get AWS4 Authorization
AWS SDK JS with IoT service AWS IoT IAM Mobile application Get AWS4 Authorization
AWS SDK JS with IoT service AWS IoT Get credentials IAM Mobile application Get AWS4 Authorization
AWS SDK JS with IoT service AWS IoT Signature Mobile application Get AWS4 Authorization
AWS SDK JS with IoT service AWS IoT Update Get Signature Mobile application Get AWS4 Authorization
AWS SDK JS with IoT service AWS IoT Obtain Key Mobile application Get AWS4 Authorization
AWS SDK JS with IoT service AWS IoT Request Mobile application use it!
AWS SDK JS with IoT service AWS IoT We do support update, delete and get Request Mobile application use it!
AWS SDK JS with IoT service AWS IoT Request Mobile application use it!
Communication from AWS to mobile app AWS Mobile application Settings SNS HTTPS Shadow Home AWS IoT DynamoDB Historic
Communication from AWS to mobile app AWS Mobile application Settings SNS Shadow Home AWS IoT AWS Javascript SDK DynamoDB Historic DynamoDB do exist in the AWS Javascript SDK!
4. What’s next?
Further improvements Miniaturize Connect several sensors to the same raspberry Support user account and possibility to subscribe for different letter box in the same application
Thanks! Any questions? You can find the source code at: https://github.com/piloulac/IoT Feel free to ask us precisions
Credits Internet of Things team project composed of: Jibum Hong Ghita El Ghissassi Pierre-Louis Lacorte