刚入手了一个DC1,配置了一天了没成功,求助:
1、已经通过UDP发包配网成功,路由器上已经能看到DC1
{"header":"phi-plug-0001","uuid":"00010","action":"wifi=","auth":"","params":{"ssid":"myssid","password":"mypassword"}}
2、已经DNS劫持,将Smartplugconnect.phicomm.com解析到HA地址:192.168.1.xx
3、已经在HA的配置文件中进行了配置:
switch:
- platform: phicomm_dc1
name: dc11
hidden: false
ip: 192.168.1.35
ports: {'1':'dc11_s1','2':'dc11_s2','3':'dc11_s3'}
sensor:
- platform: template
sensors:
dc11_v:
friendly_name: DC11电压
value_template: "{{ states.switch.dc11.attributes.v }}"
unit_of_measurement: V
dc11_p:
friendly_name: DC11功率
value_template: "{{ states.switch.dc11.attributes.p }}"
unit_of_measurement: W
4、现在的情况是,在HA里接收不到电压、电量信息,并且无法控制,如图:
5、8000端口监听正常,Telnet上去显示 {"uuid":"T1549156540013","params":{},"auth":"","action":"datapoint"}
求救大神:哪里还有问题?
|