|
- 2018
基于openHAB的嵌入式智能家居网关设计DOI: 10.14081/j.cnki.hgdxb.2018.03.004 Keywords: 家庭网关, 智能家居, 无线通信技术, 嵌入式系统, 开放式家庭自动化总线homegateway, smarthome, wirelesscommunicationtechnology, embeddedsystem, openhomeautomation bus Abstract: 为解决不同厂商生产的设备使用的协议不相同,设备兼容性差和网络异构等问题,提出基于openHAB (开放式家庭自动化总线)的智能网关设计. 网关采用树莓派3B和Linux操作系统作为嵌入式系统,实现了利 用中间件技术连接多种不同协议的智能家居设备的功能. 编写了家庭自动控制程序和多种终端的用户界面,通 过配置WiFi、蓝牙等功能组件使得系统支持多种协议和天气等服务,利用RRD数据库记录温湿度参数,采用 motion软件实现摄像头视频监控,使用openHAB云服务实现远程登录. 经测试,系统能有效支持多种协议,远 程登录、数据库和摄像头视频监控功能均正常.Tosolvetheproblemsofthedifferencesintheprotocolsusedbytheequipmentofdifferentmanufacturers, poorequipmentcompatibilityandheterogeneousnetwork,thispaperputsforwardthedesignofsmarthomegateway basedonopenHAB.Gatewayusesraspberry3BandLinuxasanembeddedsystemandusesthemiddlewaretechnology toconnectavarietyofdevicesofdifferentprotocolsinthesmarthome. Thispaperwritesthefamilyautomaticcontrol programandavarietyofterminaluserinterface,makingthesystemtosupportmultipleprotocolsandservicessuchas weatherthroughconfigurationofWiFi,bluetoothandotherfunctionalcomponents,usingtheRRDdatabaserecordstem? peratureandhumidityparameter,usingmotionsoftwaretoachievecameravideomonitoring,usingopenHABcloudser? vicestorealizeremotelogin.Accordingtothetest,thesystemcaneffectivelysupportmultipleprotocols. Thefunctions ofremotelogin,thedatabase,andvideocamerasmonitoringarenormal.
|