inwaar / node-red-contrib-gree-hvac

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

"Ifeel" - is it possible to transfer data from an external sensor? #3

Open odis68 opened 3 years ago

odis68 commented 3 years ago

Thank you so much for your work !!! I found an opportunity to get the temperature in your model, which is measured by the air conditioner itself. Is it possible to transmit data about the temperature in the room to the air conditioner from an external sensor. I haven’t found any data on the Internet about how the remote "IFEEL" transmits them !!!! can you help me?

duyuelryel commented 3 years ago

Greetings! The IFEEL function works FROM the remote controller itself. It means, the temperature sensor is in the remote controller and it sends IR signal to the unit in every 10 minutes.

I received it with wemos d1 mini tasmota (something like this) i don't know what it means and didn't translated it yet.

"{"Time":"2020-11-01T17:48:53","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":1593411057,"RawData":[6044,2952,692,510,696,510,694,516,688,1612,696,1612,694,512,694,514,718,488,694,1610,696,512,694,1612,694,514,692,512,692,1612,696,514,690,1612,694],"RawDataInfo":[35,35,0]}}"

Sadly it's not effects anything on Node-red and not makes the topic uploaded and not gives the currentTemperature any change. Not even if i hit the Temp button and change it to anything. This is a test when i hit light button: {"topic":"updated","payload":{"lights":"off"},"_msgid":"a00ff60f.f41d78"}

odis68 commented 3 years ago

мой пульт не распозновался системой openmqttgateway которая подключена к node red . а сама кнопка разрешения iFeel както влияет на уровне Wifi my remote was not recognized by the openmqttgateway system which is connected to node red. and the iFeel permission button itself somehow affects the Wifi level

duyuelryel commented 3 years ago

мой пульт не распозновался системой openmqttgateway которая подключена к node red . а сама кнопка разрешения iFeel както влияет на уровне Wifi my remote was not recognized by the openmqttgateway system which is connected to node red. and the iFeel permission button itself somehow affects the Wifi level

I'm not sure i understand. what Wifi level is it affects?

At https://github.com/inwaar/gree-hvac-client at the very end it say:

"currentTemperature | string | Get current temperature from the internal (?) sensor (This value can not be set, only received. HVAC must support this feature otherwise the value is 0)" So it means, it can't be seen on the properties JSON.

But if we can decode and "translate" the IR code what the remote sends every 10 minutes, then we can send specific data to the unit.

odis68 commented 3 years ago

I understand that the air conditioner accepts external temperature only by infrared? Are you planning to decode the remote control signal? Thanks!!!!

duyuelryel commented 3 years ago

A haven't find anything else but honestly i don't know where to start. So it accepcts it by infrared, yes. I can share here what my remote sends but don't know how to decode them.

It sent these under 4-5 hours: "{"Time":"2020-11-01T17:48:53","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":1593411057,"RawData":[6044,2952,692,510,696,510,694,516,688,1612,696,1612,694,512,694,514,718,488,694,1610,696,512,694,1612,694,514,692,512,692,1612,696,514,690,1612,694],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T21:00:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":4139600079,"RawData":[6048,2944,696,512,694,1612,694,1614,692,512,694,1614,692,514,692,514,692,514,692,1614,692,512,694,1616,690,512,692,512,692,1616,690,512,694,1614,694],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T21:08:15","IrReceived":{"Protocol":"UNKNOWN","Bits":5,"Hash":3759214022,"RawData":[408,170,488,988,852,5798,330,6270,268],"RawDataInfo":[9,9,0]}}" "{"Time":"2020-11-01T21:10:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6044,2952,692,1616,692,1614,694,1614,696,510,692,1614,692,512,694,512,694,512,690,1614,692,518,690,1614,692,514,692,512,694,1614,692,512,692,1616,692],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T21:20:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6044,2950,696,1616,690,1614,694,1612,694,514,692,1614,694,514,692,512,692,514,692,1612,694,512,692,1614,694,512,692,512,692,1612,694,512,694,1612,698],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T21:40:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6066,2952,692,1616,690,1614,698,1610,692,514,692,1612,694,512,692,516,694,508,716,1590,696,510,692,1612,694,514,692,514,692,1612,694,512,694,1614,694],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T21:43:34","IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Hash":116611674,"RawData":[4444,4546,502,1850,398,1766,350,2006,316,834,264,726,198,952,450,642,480,806,234,1850,508,1794,392,4238,104,860,268,910,372,776,372,1744,454,1818,108,166,182,1980,236,754,266,806,474,702,398,858,150,814,454,750,368,2068,144,1806,398,1876,372,1878,452,1874,398,1716,530],"RawDataInfo":[63,63,0]}}" "{"Time":"2020-11-01T21:50:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6068,2952,694,1614,694,1612,694,1616,690,512,692,1612,694,514,692,512,694,512,692,1612,696,512,694,1614,692,512,692,514,692,1614,692,514,692,1614,692],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T21:56:53","IrReceived":{"Protocol":"UNKNOWN","Bits":33,"Hash":512725893,"RawData":[4438,4596,478,1820,428,1930,316,1766,508,874,274,672,396,726,454,594,474,672,452,1848,398,1740,480,1846,428,642,478,648,480,722,398,618,504,726,266,2084,320,1930,266,1958,314,750,372,674,450,646,478,724,398,726,396,644,480,1794,400,1822,452,1824,450,1766,478,1840,430,1826,398],"RawDataInfo":[65,65,0]}}" "{"Time":"2020-11-01T22:00:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6068,2950,694,1616,692,1612,694,1612,694,512,692,1614,692,512,692,514,694,512,694,1614,696,510,692,1612,694,512,692,512,694,1614,692,518,688,1614,694],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T22:02:08","IrReceived":{"Protocol":"UNKNOWN","Bits":34,"Hash":2255419571,"RawData":[4420,4600,504,1818,400,1794,474,1876,346,624,526,648,478,618,476,696,452,620,474,1800,426,1794,450,1822,452,698,426,644,480,670,478,616,482,642,504,620,504,1768,478,616,486,664,456,1850,368,726,424,830,294,646,480,1740,450,702,506,1738,480,1768,480,672,450,1716,576,1800,400,1746,548],"RawDataInfo":[67,67,0]}}" "{"Time":"2020-11-01T22:04:59","IrReceived":{"Protocol":"UNKNOWN","Bits":33,"Hash":819322264,"RawData":[526,122,2258,118,1418,4624,402,1874,450,2030,272,1836,304,1848,348,804,348,828,370,726,396,1770,480,1822,450,1746,502,1826,422,768,330,674,148,972,450,1880,268,1900,396,1874,426,646,478,722,370,674,452,752,398,700,450,720,402,622,202,3262,382,1796,452,2000,272,1796,398,1854,416],"RawDataInfo":[65,65,0]}}" "{"Time":"2020-11-01T22:10:37","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6040,2956,692,1612,692,1616,692,1614,692,512,696,1610,696,512,698,508,694,510,692,1614,692,512,692,1614,692,512,694,512,692,1614,694,512,692,1614,692],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T22:11:51","IrReceived":{"Protocol":"UNKNOWN","Bits":33,"Hash":1365428633,"RawData":[2010,164,2242,4690,434,1718,478,1794,452,1866,352,804,266,780,294,800,452,672,476,676,450,1906,316,1956,262,2026,274,670,426,838,228,700,452,694,400,970,144,2026,138,1916,448,742,306,2028,296,674,506,666,402,752,400,696,350,1922,426,2894,454,1840,380,2078,276,1738,354,1948,396],"RawDataInfo":[65,65,0]}}" "{"Time":"2020-11-01T22:20:37","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6066,2950,694,1612,694,1612,696,1614,694,512,692,1614,696,512,690,512,694,512,692,1616,692,514,692,1614,692,516,696,508,692,1616,692,512,694,1612,692],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T22:27:04","IrReceived":{"Protocol":"UNKNOWN","Bits":32,"Hash":1952727638,"RawData":[2734,166,1342,4622,506,2022,252,1766,292,2000,406,1938,312,928,170,994,94,818,236,1976,402,1820,426,1848,106,938,474,702,424,778,346,868,230,922,226,1822,348,1886,464,802,322,1924,320,672,372,844,332,1934,236,804,424,720,272,3254,120,1922,400,1900,318,1920,352,1850,424],"RawDataInfo":[63,63,0]}} "{"Time":"2020-11-01T22:27:05","IrReceived":{"Protocol":"UNKNOWN","Bits":34,"Hash":1206309659,"RawData":[4400,4562,324,1900,504,1820,426,1798,474,724,398,646,450,700,424,696,424,654,368,1874,502,1824,346,1824,476,644,426,812,316,720,400,722,454,646,506,1796,424,1768,478,780,370,1796,452,646,450,752,398,778,322,698,398,700,480,3052,290,698,346,1848,504,1742,536,1686,110,166,226,1800,318],"RawDataInfo":[67,67,0]}}" "{"Time":"2020-11-01T22:30:37","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6068,2948,696,1612,694,1612,694,1614,694,516,688,1612,694,514,692,512,696,508,694,1614,692,512,692,1612,696,512,692,512,694,1612,694,512,692,1614,694],"RawDataInfo":[35,35,0]}}" "{"Time":"2020-11-01T22:36:47","IrReceived":{"Protocol":"UNKNOWN","Bits":34,"Hash":1473573918,"RawData":[4422,4598,452,1768,478,1744,504,1766,506,620,478,644,446,650,506,910,198,688,450,1824,290,1926,480,2030,274,614,152,916,456,668,372,750,480,644,478,1846,400,1844,404,1826,422,670,480,594,504,620,528,644,454,826,294,644,480,874,274,620,502,1716,454,1822,478,1796,454,1800,470,1748,502],"RawDataInfo":[67,67,0]}}" "{"Time":"2020-11-01T22:37:21","IrReceived":{"Protocol":"UNKNOWN","Bits":34,"Hash":1279475008,"RawData":[4474,4650,428,1768,196,2050,450,1772,556,570,500,672,424,726,242,852,428,724,400,1874,372,1788,460,1816,454,620,480,880,112,906,350,616,452,828,374,1770,396,1824,478,618,556,1744,452,796,324,806,304,834,276,670,504,702,428,668,454,1744,342,780,480,1872,424,1716,400,1874,478,1798,424],"RawDataInfo":[67,67,0]}}" "{"Time":"2020-11-01T22:40:37","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6068,2952,694,1614,694,1614,692,1614,694,512,694,1616,690,512,694,510,694,514,692,1614,694,512,692,1614,692,514,692,512,692,1612,694,512,694,1612,694],"RawDataInfo":[35,35,0]}}"

Seems like that, where the Hash":753373146, is, that's the temperature. like: "{"Time":"2020-11-01T21:10:36","IrReceived":{"Protocol":"UNKNOWN","Bits":18,"Hash":753373146,"RawData":[6044,2952,692,1616,692,1614,694,1614,696,510,692,1614,692,512,694,512,694,512,690,1614,692,518,690,1614,692,514,692,512,694,1614,692,512,692,1616,692],"RawDataInfo":[35,35,0]}}"

Maybe the remote sends everything else too what was set on the remote just in case. Temperature, fan speed etc.