inwaar / node-red-contrib-gree-hvac

Provides a node for controlling Gree HVAC (Heating, ventilation, and air conditioning).
15 stars 7 forks source link

This node uses help #1

Closed ZHonry closed 4 years ago

ZHonry commented 4 years ago

I use the HomeAssistant-GreeClimateComponent plug-in in ha, which can access my GREE AC normally, but using your node in NR, the connection is always displayed, can you please see what the problem is? (My English is not good, this is translated by Google, please forgive me!) image image No other tips. I look forward to your answer, thank you.

inwaar commented 4 years ago

Hi, ZHonry. "Connecting..." usually means that the node can not connect to AC, the things you could check:

  1. provide correct IP address of the AC (try making it static in your router)
  2. the node can't connect to AC because of network config (try to ping AC ip-address from your NodeRED device)
ZHonry commented 4 years ago

I installed nodered in docker, and the Ping result is as shown in the figure. When using another project transferred to mqtt, it was registered successfully and cannot be bound. Is it because the air conditioner is the new model? image image

inwaar commented 4 years ago

Could you try temporarily running NodeRED with the gree-node outside of the docker to see if the problems is not related to docker?

ZHonry commented 4 years ago

After installing nodered in Debian, it has been confirmed that the air conditioner can be pinged, but it is still the same as installing nodered in docker. The air conditioner currently uses UDP distribution network and is not bound in the app. There is really no coding foundation at all, please forgive me.

iShot2020-04-15下午10 35 30 iShot2020-04-15下午10 35 39 iShot2020-04-15下午10 36 20
inwaar commented 4 years ago

I've released a new version 0.1.1 where you can turn on debug messages: image

The version will be available in NodeRED palette in a short while. Would be nice to see what you have in the logs of you NodeRED process.

ZHonry commented 4 years ago

This is the log file greeac.log

inwaar commented 4 years ago

Try the version 0.1.2 of this node.

ZHonry commented 4 years ago

greeacv0.1.2.log Log file for 0.1.2

inwaar commented 4 years ago

Try 0.1.3

ZHonry commented 4 years ago

I've successfully connected. I'll see if I can control it. Thank you very much for your support.

ZHonry commented 4 years ago

Successfully control AC, and can get status, thanks again.