分类: "Go"

Build jiri for Windows

jiri

“Jiri integrates repositories intelligently”
is the official description as well as a recursive acronym for jiri.

It is a multi-repo management tool used internally at Google for their Fuchsia OS development. The project manifest format is pretty much like repo, which is commonly used for Android development and was later adopted by other communities like CoreOS.

I came across Fuchsia even before its kernel was renamed to Zircon, and at that time, the Fuchsia OS itself is pretty much unusable. But I found jiri particularly useful for my own projects. Since then, I started using jiri for my own large projects that requires splitting repositories and gather them together to build (like my own libraries, my build tools, etc.)

Golang搭建智能家庭的物联网中心

Project MetaHome

目测写技术相关的没人会看,所以

目前的效果

MetaHome由于目前硬件条件有限,一部分效果由模拟硬件呈现,如果要展现完整效果,需要更换家里所有的插座及开关为智能联网控制,简而言之太麻烦了。

1. 智能灯光
  • 电脑、手机或树莓派控制接入智能照明系统的每一个灯开关
  • 家庭Wifi内我的手机或电脑有通知时,树莓派3的LED灯闪烁
  • 手机有系统级通知或者电话时,房间照明灯闪烁
  • 红外门禁报警时整个接入智能控制的灯光全部闪烁
2. 场景切换
  • 家中空无一人,且在晚上时,第一个进门的人会触发打开灯光
  • 家中最后一个人走,所有不需要持续性工作的电器(除了冰箱,冰柜)电源自动断开
  • 亮度低于阈值自动亮灯(需要光感)
  • 室温超过阈值遥控空调打开(需要红外模拟传感器)
3. 语音控制
  • 这个还在做,目前中文用的是科大讯飞
P.S.

2017/06/30 下学期换宿舍了,之后更新