Board logo

标题: [数码手机] 斐讯服务器挂了?拯救你的悟空 M1,在 iOS家庭 中显示PM2.5 [打印本页]

作者: Wbird    时间: 2018-8-7 23:36     标题: 斐讯服务器挂了?拯救你的悟空 M1,在 iOS家庭 中显示PM2.5

斐讯的服务器挂了?
以前就想发 M1 接入 HomeKit(iOS家庭)的方法的,但总有那么点做广告的嫌疑,现在斐讯已修仙,服务器也挂逼,终于可以安心发贴了

准备

支持 dnsmasq 的路由器(梅林,lede,openwrt...)
home assistant 服务器
原理就是将 M1 默认的服务器地址 aircat.phicomm.com 通过自建服务器接入到 HomeKit
把下面的 “192.168.1.233” 要换成你自己的服务器地址

openwrt/lede
echo "address=/.aircat.phicomm.com/192.168.1.233">>/etc/dnsmasq.conf
/etc/init.d/dnsmasq restart

梅林
echo "address=/.aircat.phicomm.com/192.168.1.233">>/jffs/configs/dnsmasq.d/m1.conf
service restart_dnsmasq

配置

home assistant
在配置文件 configuration.yaml 中加入
homekit:

homeassistant: 下增加
  packages: !include_dir_named packages/

将附件m1后缀改成zip
解压后放到 配置目录下
[attach]1017020[/attach]
这样的结构

重启 homeassistant
[attach]1017021[/attach]

找到 homeassistant 首屏的 xxx-xx-xxx的代码 加入到 homekit中就可以了

接入的效果
[attach]1017022[/attach]

[ 本帖最后由 Wbird 于 2018-8-8 13:38 编辑 ]
作者: jalico    时间: 2018-8-8 00:08

posted by wap, platform: iPhone
我的m1目前还能正常联网
作者: catxing    时间: 2018-8-8 00:18

posted by wap, platform: Android
关注,很感兴趣




欢迎光临 TGFC Lifestyle (http://club.tgfcer.com/) Powered by Discuz! 6.0.0