Copyright©2019byMcGrawHillEducation.Allrightsreserved.Exceptaspermitted
undertheUnitedStatesCopyrightActof1976,nopartofthispublicationmaybe
reproducedordistributedinanyformorbyanymeans,orstoredinadatabaseor
retrievalsystem,withoutthepriorwrittenpermissionofthepublisher,withthe
exceptionthattheprogramlistingsmaybeentered,stored,andexecutedinacomputer
system,buttheymaynotbereproducedforpublication.
ISBN:9781260440362
MHID:1260440362
ThematerialinthiseBookalsoappearsintheprintversionofthistitle:ISBN:9781
260440355,MHID:1260440354.
eBookconversionbycodeMantra
Version1.0
Alltrademarksaretrademarksoftheirrespectiveowners.Ratherthanputatrademark
symbolaftereveryoccurrenceofatrademarkedname,weusenamesinaneditorial
fashiononly,andtothebenefitofthetrademarkowner,withnointentionof
infringementofthetrademark.Wheresuchdesignationsappearinthisbook,theyhave
beenprintedwithinitialcaps.
McGrawHillEducationeBooksareavailableatspecialquantitydiscountstouseas
premiumsandsalespromotionsorforuseincorporatetrainingprograms.Tocontacta
representative,pleasevisittheContactUspageatwww.mhprofessional.com.
McGrawHillEducation,theMcGrawHillEducationlogo,TAB,andrelatedtradedress
aretrademarksorregisteredtrademarksofMcGrawHillEducationand/oritsaffiliates
intheUnitedStatesandothercountriesandmaynotbeusedwithoutwritten
permission.Allothertrademarksarethepropertyoftheirrespectiveowners.McGraw
HillEducationisnotassociatedwithanyproductorvendormentionedinthisbook.
InformationcontainedinthisworkhasbeenobtainedbyMcGrawHillEducationfrom
sourcesbelievedtobereliable.However,becauseofthepossibilityofhumanor
mechanicalerrorbyoursources,McGrawHillEducation,orothers,McGrawHill
Playlists
History
Topics
Learning Paths
Offers & Deals
Highlights
Settings
Support
Sign Out
Educationdoesnotguaranteetheaccuracy,adequacy,orcompletenessofany
informationandisnotresponsibleforanyerrorsoromissionsortheresultsobtained
fromtheuseofsuchinformation.
TERMSOFUSE
ThisisacopyrightedworkandMcGrawHillEducationanditslicensorsreserveall
rightsinandtothework.Useofthisworkissubjecttotheseterms.Exceptaspermitted
undertheCopyrightActof1976andtherighttostoreandretrieveonecopyofthe
work,youmaynotdecompile,disassemble,reverseengineer,reproduce,modify,create
derivativeworksbasedupon,transmit,distribute,disseminate,sell,publishor
sublicensetheworkoranypartofitwithoutMcGrawHillEducation’spriorconsent.
Youmayusetheworkforyourownnoncommercialandpersonaluse;anyotheruseof
theworkisstrictlyprohibited.Yourrighttousetheworkmaybeterminatedifyoufail
tocomplywiththeseterms.
THEWORKISPROVIDED“ASIS.”McGRAWHILLEDUCATIONANDITS
LICENSORSMAKENOGUARANTEESORWARRANTIESASTOTHEACCURACY,
ADEQUACYORCOMPLETENESSOFORRESULTSTOBEOBTAINEDFROMUSING
THEWORK,INCLUDINGANYINFORMATIONTHATCANBEACCESSED
THROUGHTHEWORKVIAHYPERLINKOROTHERWISE,ANDEXPRESSLY
DISCLAIMANYWARRANTY,EXPRESSORIMPLIED,INCLUDINGBUTNOT
LIMITEDTOIMPLIEDWARRANTIESOFMERCHANTABILITYORFITNESSFORA
PARTICULARPURPOSE.McGrawHillEducationanditslicensorsdonotwarrantor
guaranteethatthefunctionscontainedintheworkwillmeetyourrequirementsorthat
itsoperationwillbeuninterruptedorerrorfree.NeitherMcGrawHillEducationnorits
licensorsshallbeliabletoyouoranyoneelseforanyinaccuracy,errororomission,
regardlessofcause,intheworkorforanydamagesresultingtherefrom.McGrawHill
Educationhasnoresponsibilityforthecontentofanyinformationaccessedthroughthe
work.UndernocircumstancesshallMcGrawHillEducationand/oritslicensorsbe
liableforanyindirect,incidental,special,punitive,consequentialorsimilardamages
thatresultfromtheuseoforinabilitytousethework,evenifanyofthemhasbeen
advisedofthepossibilityofsuchdamages.Thislimitationofliabilityshallapplytoany
claimorcausewhatsoeverwhethersuchclaimorcausearisesincontract,tortor
otherwise.
Preface
THISBOOKISALLABOUTHOWYOU,asamaker,canhelpautomateyourhomeor
businesstobothimprovethequalityofyourlifeandcoincidentallyachievesome
efficiencies.Thelattermaybeactualenergysavingsormaybesimplyimprovingthe
everydayflowofpersonalactivities.IalsoincludedusingtheRaspberryPiasa
principalcontrollerinmostofthisbook’sprojectsbecauseitsoinexpensiveyet
providesamazingcapabilitiesandfunctionalitieswhenimplementinghome
automation(HA)solutions.
IhavewrittenaboutHAprojectsinseveralofmyearliermakerbooks,whichalso
includedtheRaspberryPiasthemaincontroller.However,inthisbook,Ihave
includedsomeratherextensivediscussionsregardingpersonalvoiceassistantsand
theirroleinHAprojects.Thistypeofdeviceisfairlynewtothemarketplaceand
includestheratherwellknownAmazonEchoandGoogleHomedevices.Theinclusion
ofthesedevicesinthisbookwaspredicatedonmyrealizationthattheyarerapidly
becomingtheconsumer’sfavoritechoicewheninteractingwithHAsystems.Thedays
ofturningathermostatdialorflippingalightswitcharerapidlydeclininggiventhe
ubiquitousnatureofthesenewvoiceactivationdevices.
Thefirstfewchaptersofthisbookaredevotedtoexploringhowvariousvoice
activationdevicesfunctionwiththeRaspberryPi.Therearesignificantdifferences
betweenhowAmazonEchodevicesinteractwiththeRaspberryPiandhowGoogle
Homedevicesinteract.Itrytoexplainhowyoucansuccessfullyinterfacewithboth
devicetypes,whileatthesametimeIpointouttheprosandconsofthetwo
approaches.Iamconfidentthatifyousuccessfullyfollowmymultipledemonstrations,
youwillbecomequiteadeptatinterfacingwitheitherdeviceclass.
Chapter5,whichfollowsallthematerialonvoiceactivationdevices,concernsHA
operatingsystems,whichareanextremelyusefuladjunctintheimplementationofa
workableHAsystem.Iprovideagoodsurveyofallthemajor,currentlyavailableHA
operatingsystems(OSs),butsuchsurveysarehighlyvolatile,andtherewilllikelybe
significantchangesbythetimethisbookispublished.Nonetheless,thefundamentals
y
History
Topics
Learning Paths
Offers & Deals
Highlights
Settings
Support
Sign Out