33201 发表于 2018-1-22 23:08:04

(1月28日华丽更新)Custom UI for M1斐讯悟空检测仪M1自定义...

本帖最后由 33201 于 2018-1-28 22:47 编辑

首先上下成果图:1月28日发布2.0华丽UI:
1、PM2.5数据仪表盘动态更新,并显示/定位分级颜色
2、其他三个数据的数据分级并显示分级颜色

手机端效果:

电脑端效果

iPhone端效果

安装教程:

1、本面板基于Custom UI制作,因此首先要安装了Custom UI.
2、本面板匹配斐讯悟空检测仪M1的插件2.0-3.0版本(https://bbs.hassbian.com/thread-2508-1-1.html),因此已经安装或者准备安装的可以考虑。
3、configuration.yaml添加frotend:部分添加state-card-custom-phicomm-aircat.html,如下所示:
frontend:
extra_html_url:
    - /local/custom_ui/state-card-custom-ui.html
    - /local/custom_ui/state-card-custom-phicomm-aircat.html
extra_html_url_es5:
    - /local/custom_ui/state-card-custom-ui-es5.html
    - /local/custom_ui/state-card-custom-phicomm-aircat.html

4、将附件文件解压,修改packages/phicomm.yaml的相应帐号密码mac地址等
5、将文件更新至HA配置下的相应目录
6、添加分组显示,重启HA。
**** Hidden Message *****


iciness 发表于 2018-1-22 23:09:48

大神厉害

jlxwkj 发表于 2018-1-22 23:10:06

小白来学习

余歌唱晚 发表于 2018-1-22 23:10:25

沙发……赶紧体验下

nakoururu 发表于 2018-1-22 23:13:10

李白就是李白

咸味土豆 发表于 2018-1-22 23:33:43

多谢分享,很好看。

发表于 2018-1-22 23:34:31

牛到爆!

iciness 发表于 2018-1-22 23:42:22

需要添加2.0.2 里面的PhicommAirDetector.py

maybeloveu 发表于 2018-1-22 23:59:18

感谢分享

倾微qiwe 发表于 2018-1-23 01:08:58

三个m1在路上!先顶!
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: (1月28日华丽更新)Custom UI for M1斐讯悟空检测仪M1自定义...