java智能家居开发_Hestia —— 基于树莓派的智能家居项目的设想与实现

Hestia是一个基于Java的智能家居项目,它能够智能地控制家庭设备,并支持扩展功能。该项目包括一个服务器组件用于监听客户端请求、处理数据、控制家庭设备及响应信息等。Hestia还提供了一些高级特性,例如根据用户位置自动开关灯光。

Hestia

In Ancient Greek religion, Hestia (/ˈhɛstiə/; Greek: Ἑστία, "hearth" or "fireside") is a virgin goddess of the hearth, architecture, and the right ordering of domesticity, the family, the home, and the state.

So, Hestia is the project which controlls the devices in home smartly. Additionally, It also supports some extended functionality which is described in the Feature (Brain Part).

b6b2a8df3460890222dd954fbc2d7dbc.png

Hestia Server

This is the server, based Java language, for listening to clients, disposing the data (Brain Part), controlling the home device, responsing infomation and so on.

7428ba3c46bb2bb85f817a31d043a242.png

Other Clients

Feature (Brain Part)

The hestia-server's Brain Part consists of several strategy classes which are in the com.ihuxu.hestia.server.library.brain package.

BrainLocationStrategy

Send your current location which is from your Mobile Device to the Hestia Server

Trigger BACK HOME and LEAVE HOME event according the location from the mobile device

BACK HOME when back home, it would turn on the light according to some factors, such the brightness in the room, the switch status of the yeelight

LEAVE HOME when leave home, it would turn off the light according to some factors, such the brightness in the room, the switch status of the yeelight

Change Log

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值