Giter Club home page Giter Club logo

Comments (4)

judders avatar judders commented on June 20, 2024

Can tell you there should be a message in bridge..

Nov 18 21:02:30 jess mygree.sh[31036]: [MQTT] Connecting to mqtt://192.168.2.3...
Nov 18 21:02:30 jess mygree.sh[31036]: [MQTT] Connected to broker
Nov 18 21:02:30 jess mygree.sh[31036]: [UDP] Connected to device at 192.168.2.8
Nov 18 21:02:30 jess mygree.sh[31036]: [UDP] New device registered: 1e34d0d1
Nov 18 21:02:30 jess mygree.sh[31036]: [UDP] Device 1e34d0d1 is bound!
Nov 18 21:12:01 jess mygree.sh[31036]: [MQTT] Message "1" received for gree2mqtt/power/set
Nov 18 21:12:01 jess mygree.sh[31036]: [UDP] Status updated on 1e34d0d1
Nov 18 21:12:05 jess mygree.sh[31036]: [MQTT] Message "0" received for gree2mqtt/power/set
Nov 18 21:12:05 jess mygree.sh[31036]: [UDP] Status updated on 1e34d0d1

from gree-hvac-mqtt-bridge.

DaveDaveDaveDave avatar DaveDaveDaveDave commented on June 20, 2024

Thanks! It really helps to know the expected output. Looks like it's failing at the negotiation stage. I'll focus efforts there.

from gree-hvac-mqtt-bridge.

judders avatar judders commented on June 20, 2024

Yeah you should see the "New device registered: 1e34d0d1" if it worked.
See if the Pi can see your heatpump, and the port is open.
"sudo nmap 192.168.10.74 -sU -p 7000"

I get....
Host is up (0.16s latency).

PORT STATE SERVICE
7000/udp open|filtered afs3-fileserver
MAC Address: xx:xx:xx:xx (Zhuhai Ewpe Information Technology)

If not try disabling the pi firewall
"sudo ufw disable"

from gree-hvac-mqtt-bridge.

DaveDaveDaveDave avatar DaveDaveDaveDave commented on June 20, 2024

Thanks for this. Yes the port is open, but I may have discovered the issue.

My unit is branded as Bryant - however, the remote and all the operating specifics are identical to the Gree Crown+, and the default WiFI SSID is gree-XXXX. The WiFi board inside the unit shows that it was built in 2014. I use the Gree G-Life App to access it without any issue. https://play.google.com/store/apps/details?id=com.gree.g_life&hl=en

I went back and looked at the app that the original gree bridge code was based on and discovered that I could not connect with this app. So after some sniffing with Wireshark, it appears that that my unit is a different model of Gree interface. It appears that the initial negotiation takes place with a packet from port UDP 1024 to 988 on the HVAC, after that all communication in done to port TCP 6000. That said, port TCP 7000 is also open.

6000/udp open|filtered X11
7000/udp open|filtered afs3-fileserver

I can see the plugin making the attempt to connect with the packet to port 7000, but no response from the HVAC.
So unfortunately, I think I'll have to sort this out on my own since my HVAC unit isn't compatible with the Gree bridge code. I'm hoping this wifi module has been used in other HVAC and there has been some development elsewhere.

Thanks everyone for your help.

from gree-hvac-mqtt-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.