Build your own IoT service - With FreeBSD, PCengines and stuff

Build your own IoT service
With FreeBSD, PCengines and stuff
Bart Hanssens
Publication date: 03 January 2015
Build your own IoT service
Draft
Build your own IoT service
With FreeBSD, PCengines and stuff
Bart Hanssens
Copyright © 2015 Bart Hanssens
License
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to
Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
Draft
Draft
1. About this book
1
1.1. Disclaimer ..................................................................................................................... 1
2. The project
2.1. Constraints ...................................................................................................................
2.2. What about ... ...............................................................................................................
2.2.1. Alarm systems ? ................................................................................................
2.2.2. Home automation systems ? ...............................................................................
3
3
3
3
3
3. Gateway
3.1. PCengines ....................................................................................................................
3.2. Alternatives ...................................................................................................................
3.2.1. An old laptop / desktop .......................................................................................
3.2.2. Giada ................................................................................................................
3.2.3. Fit PC ................................................................................................................
3.2.4. Various kinds of Pi .............................................................................................
5
5
5
5
5
5
5
4. Webcams
4.1. Some concepts .............................................................................................................
4.1.1. IR cut ................................................................................................................
4.1.2. PTZ ...................................................................................................................
4.1.3. ONVIF ...............................................................................................................
4.1.4. Orange Pi ..........................................................................................................
7
7
7
7
7
7
5. Online
9
iii
iv
Draft
Chapter 1.
Draft
About this book
1.1. Disclaimer
1
2
Draft
Chapter 2.
Draft
The project
2.1. Constraints
Some criteria:
• Reusable: meaning that, when I get bored, it should be usable for other projects.
• Open and independent: not tied to a specific brand or service provider.
• Not too expensive: say, less than 400 EUR initial costs and less than 20 EUR/month recurring
costs.
• Living-room friendly: this translates into a quiet (fan-less, no moving parts ...) and small design,
with a nice cover protecting it from dust and (without paying a premium for a rugged/ industrial
strength solution).
• Fairly energy-efficient: 15 Watts should be enough.
• Non-permanent connection: the idea is to use a 3G connection
2.2. What about ...
2.2.1. Alarm systems ?
Installing an alarm system
2.2.2. Home automation systems ?
3
4
Draft
Chapter 3.
Draft
Gateway
3.1. PCengines
1
If you don't have a null-modem cable, you may want to use mfsBSD on a USB-stick.
Ordering
Note that while, getting the order shipped seems to be a hit-or-miss:
3.2. Alternatives
3.2.1. An old laptop / desktop
3.2.2. Giada
Tip
3.2.3. Fit PC
3.2.4. Various kinds of Pi
1
http://mfsbsd.vx.sk
5
6
Draft
Chapter 4.
Draft
Webcams
4.1. Some concepts
4.1.1. IR cut
4.1.2. PTZ
4.1.3. ONVIF
4.1.4. Orange Pi
7
8
Draft
Chapter 5.
Draft
Online
9
10