xcy1231 / Ha-GreeCentralClimate

87 stars 29 forks source link

安装不生效,求解决 #39

Closed freshzhy closed 2 months ago

freshzhy commented 5 months ago

使用虚拟机安装ha image 文件夹已经放入/homeassistant/custom_components目录 image configuration.yaml 文件已经添加 climate:

xcy1231 commented 5 months ago

麻烦先贴个日志

freshzhy commented 5 months ago

麻烦先贴个日志

image

xcy1231 commented 5 months ago

这是没有搜索到云控,不填ip的话,ha的ip应该跟云控的ip同一网段。最好用最新版本,开启fakeserver,并且重置云控

freshzhy commented 5 months ago

这是没有搜索到云控,不填ip的话,ha的ip应该跟云控的ip同一网段。最好用最新版本,开启fakeserver,并且重置云控

云控与HA在同一局域网,填ip应该怎么填呢?另外,请问“在内网将dis.gree.com域名指向fake server的ip,也即HA服务器的ip”是否需要在路由器设置,重置云控后是不是就无法使用官方app了?

freshzhy commented 5 months ago

这是没有搜索到云控,不填ip的话,ha的ip应该跟云控的ip同一网段。最好用最新版本,开启fakeserver,并且重置云控

climate:

xcy1231 commented 5 months ago

这是没有搜索到云控,不填ip的话,ha的ip应该跟云控的ip同一网段。最好用最新版本,开启fakeserver,并且重置云控

climate:

  • platform: gree2 host: 192.168.1.100 这儿的host是否就填云控的ip呢

对,使用fakeserver后就无法使用官方app了,可以在路由器中设置域名指向

freshzhy commented 5 months ago

先试了设置IP,路由器查询到了gree云控的ip image 重新配置了云控host的ip,暂时未设置fakeserver image 仍然无反应 image

xcy1231 commented 5 months ago

重置云控试过没?云控恢复出厂设置,重新通过格力+app添加设备,最新固件只能在这个时候响应 {"t":"scan"}的请求。如果还不行那我这边也不清楚什么情况了,是不是更新版的云控不支持这样的通信协议