第八篇

This commit is contained in:
zhujisheng 2018-11-09 14:56:13 +08:00
parent f66b604f69
commit 87570aaf17
5 changed files with 35 additions and 9 deletions

Binary file not shown.

Binary file not shown.

View File

@ -20,6 +20,11 @@
- 已接入设备相关自定义配置
- 界面优化——分组与分页
- 移动端访问HA
- 补充篇章
- Linux下的常用命令
- Linux下的文本编辑
- YAML文件格式
- Python虚拟环境
- 公网访问篇
- 申请Amazon免费云主机
- ssh隧道构建
@ -43,20 +48,15 @@
- 红外遥控——博联RM系列产品
- 红外遥控——小米万能遥控器
- 文件夹监测——FolderWatcher
- 补充篇章
- Linux下的常用命令
- Linux下的文本编辑
- YAML文件格式
- Python虚拟环境
## 未完成内容
- 各种摄像头接入篇
- 支持MJPEG的摄像头与图片抓取
- RTSP协议摄像头与ffmpeg
- ONVIF协议摄像头
- 有线CSI与USB摄像头
- 有线树莓派CSI与USB摄像头
- 小米的大方摄像头
- 将远程与本地图片文件作为摄像头
- 天气预报与交通状况图——另类摄像头
## 未完成内容
- 智能图像识别篇
- 本地DLib人脸探测与识别
- 基于微软Azure云进行人脸识别

26
example_8_6_1.yaml Normal file
View File

@ -0,0 +1,26 @@
# example_8_6_1.yaml
# 一个显示本地图片camera设备
camera:
- platform: local_file
name: cam8
file_path: /home/pi/Pictures/shjt.png
# 更新本地图片的命令
shell_command:
update_shjt: wget http://www.jtcx.sh.cn/jtcximg/cityhot/gj_home.png -O /home/pi/Pictures/shjt.png
# 每10分钟更新一张本地图片
automation:
- alias: sh_triffic_condition_update
trigger:
- platform: time
minutes: '/10'
action:
- service: shell_command.update_shjt
- delay:
seconds: 5
- service: camera.local_file_update_file_path
data:
entity_id: camera.cam8
file_path: /home/pi/Pictures/shjt.png

BIN
补充篇章.docx Normal file

Binary file not shown.