bekmansurov / gree-hvac-protocol Goto Github PK
View Code? Open in Web Editor NEWDescription of data exchange protocol for GREE air conditioners via UART based on reverse engineering
Description of data exchange protocol for GREE air conditioners via UART based on reverse engineering
Can you give more detail about pin?
Hi there!
I've successfully found wifi modules firmware.
May be it can help somehow.
https://github.com/maxim-smirnov/gree-wifimodule-firmware
It is a Daikin branded "Gree" AC.
Example Received packet.
7E 7E 30 31 00 00 40 00 93 C0 02 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 00 00 00 3B
Struct with some of the protocol figured out.
struct {
uint16_t header ; //7E 7E #header bytes
uint8_t data_length ; //30 #packet length
uint8_t packet_type ; //31 #packet type?
uint8_t unk1[2] ; //00 00
uint8_t const1 ; //40 #always constant?
uint8_t unk2 ; //00
uint8_t fan_speed :2; //93 #fan speed 0-3
uint8_t :1;
uint8_t sleep :1; // #is sleep set
uint8_t mode :3; // #ac mode 0,1,2,3,4
uint8_t power_state :1; // #ac on/off
uint8_t timer_has_half_hour :1; //C0 #if timer shows .5 hour
uint8_t timer_tens_hours :2; // #the tens part of the timer time ex. 21 hours then value is 2
uint8_t timer_enabled :1; // #if timer is enabled
uint8_t set_temp :4; // #the temperature the ac is set to (add 16 for degrees C)
uint8_t turbo :1; //02 #is turbo set
uint8_t display_light :1; // #is the ac lights (temperature, mode, etc) on/off
uint8_t :1;
uint8_t xfan :1; // #is xfan set
uint8_t :4;
uint8_t const2 :7; //02
uint8_t using_farenheit :1; // #is the ac using farenheit temperature
uint8_t swing ; //00 #swing mode
uint8_t :5; //00
uint8_t display_internal_temp :1; // #show room temp for a few seconds when turning on ac
uint8_t :2;
uint8_t unk3 ; //00
uint8_t :2; //00
uint8_t save_energy :1; // #is energy saving set
uint8_t :5;
uint8_t timer_on_time_l :8; //00 #low byte of the timer on time. 0XX
uint8_t timer_off_time_l :4; //0 #low nibble of the timer off time. 00X
uint8_t timer_on_time_h :4; //0 #high nibble of timer on time. X00
uint8_t timer_off_time_h :8; //00 #high nibbles of timer off time. XX0
uint8_t :4; //00
uint8_t timer_off :1; // #is timer a off timer
uint8_t timer_on :1; // #is timer a on timer
uint8_t :2;
uint8_t unk4[21] ; //00 x21
uint8_t :7; //00
uint8_t ir_cmd :1; // #did the ac receive a command from ir remote
uint8_t unk5[4] ;
uint8_t internal_temp ; //46 #the room temprature (substract 40 for degrees C)
uint8_t unk6[3] ;
uint8_t checksum ; //D6 #the packet checksum
};
Hello,
Awesome work, first of all!
Can you share the esphome component and it's usage?
I have a argo ecolight and i want to integrate it on home assistant.
Thanks,
Simone
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.