Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

2.
Who i am
• Alberto Sagredo Castro
• a.k.a @albersag on twitter
• Working in VoIP since ten years ago
• Working with Asterisk for about 10
years
• Several large projects with Asterisk
and many Asterisk compiled thru
Spain and Europe
• Working for Avanzada 7 and USA
VOIP
• Other Stuﬀ : Mikrotik, Ubiquiti, Ham
Radio and all that contains bits on it
2

3.
Why home automation
• It makes life easier
• Its not expensive
• It helps disabled people
• Internet of Things (IOT) is here
• Its not complex
• Eco friendly and save money
• Just play !
3

4.
Home automation vs Asterisk
4
• Asterisk natively does not support home automation
protocols
• We need something to interact with ha (home
automation)
• What could we use? PHPARI, AGI, .call ﬁles, asterisk
dialplan, SQL …
• Any programmer here? What about chan_zwave :)

8.
Do not reinvent the wheel
8
• Ok. Asterisk does not support (yet) home automation but
i want to use Asterisk in my home automation system….
What could i do?
• I will use Asterisk to generate
calls when events happens
on my HA system and to
interact with them by phone.
• Phone is easier than using
apps and works on any
platform :)

21.
Dangerous Demo 2
21
• For some people it could be great to interact using voice
while in its home. Being at home or not, Asterisk could
turn on lights, turn off alarm and make emergency calls
• Use Google ASR, Its free and it works well! (Use latest agi
version as oldest has issues)
• You need internet connection! Hope astricon one would
work well!

24.
Dangerous Demo 3
24
• Smart followme
• You can use Wiﬁ to detect you are at home or presence
detectors.
• If you are outside home, divert your calls to cell phone.
Just ring on Kitchens phone if you are cooking (Advise:
this will not work if you have kids moving around)
• Here we could use AGI to get motion status from
Openhab.

30.
Dangerous Demo 4
30
• Create your own Alarm System controlled by phone
• We could arm alarm system by phone
• No monthly fees
• If armed and motion is detected call police or call you
before police that would be better :)
• If ﬁred, open sprinklers at garden..
• Used ARI to gen calls on Asterisk

34.
Bonus Demo
34
• Asterisk Ringing Status and Called/Calling Number
• We have an openhab binding but it does not work with
new AMI
• Using JSON answer from Asterisk ARI and jq , json
parser will try to get this working.

39.
Thanks
39
• To my wife and kids they are always with me and also
here (Disney off course :)
• All friends wishing luck these days
• To Fibaro
• To Digium for inviting me. It has been a pleasure and an
amazing christmas gift!
• To all of you for attending!