Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Energy Saver mode on Gree protocol #1821

Closed
yeahme49 opened this issue Jun 14, 2022 · 5 comments · Fixed by #1823
Closed

Energy Saver mode on Gree protocol #1821

yeahme49 opened this issue Jun 14, 2022 · 5 comments · Fixed by #1823
Assignees
Labels
enhancement more info Pending Confirmation Waiting for confirmation from user

Comments

@yeahme49
Copy link

I have a Soleus Air window a/c that uses the Gree protocol (remote even says Gree on it, remote model YX1F5F) and everything works great except one thing.

My a/c has an additional mode when cycling through the mode button, Energy Saver.

Is it possible to add this additional mode?

Protocol  : GREE
Code      : 0x0809605800200050 (64 Bits)
Mesg Desc.: Model: 1 (YAW1F), Power: On, Mode: 0 (Auto), Temp: 77F, Fan: 0 (Auto), Turbo: Off, Econo: Off, IFeel: Off, WiFi: Off, XFan: Off, Light: On, Sleep: Off, Swing(V) Mode: Manual, Swing(V): 0 (Last), Swing(H): 0 (Off), Timer: Off, Display Temp: 0 (Off)
uint16_t rawData[139] = {8994, 4486,  654, 548,  656, 550,  656, 550,  656, 1652,  654, 548,  656, 550,  656, 548,  658, 548,  656, 1652,  656, 550,  656, 548,  658, 1650,  654, 552,  654, 550,  656, 550,  658, 548,  656, 548,  658, 548,  656, 550,  658, 548,  656, 550,  656, 1652,  656, 1650,  656, 548,  658, 548,  656, 550,  656, 548,  656, 1652,  656, 1650,  656, 548,  658, 1650,  656, 548,  656, 548,  656, 1652,  656, 550,  654, 19986,  654, 550,  656, 550,  654, 550,  656, 550,  656, 550,  654, 550,  654, 550,  656, 550,  656, 550,  654, 550,  654, 552,  654, 550,  654, 550,  654, 1652,  654, 550,  654, 552,  654, 550,  656, 552,  654, 552,  654, 550,  656, 550,  654, 552,  654, 550,  654, 552,  654, 550,  654, 552,  654, 552,  654, 550,  654, 1654,  654, 550,  654, 1654,  652, 552,  652};  // GREE
uint8_t state[8] = {0x08, 0x09, 0x60, 0x58, 0x00, 0x20, 0x00, 0x50};


Timestamp : 003721.230
Library   : v2.8.2

Protocol  : GREE
Code      : 0x0909605800200060 (64 Bits)
Mesg Desc.: Model: 1 (YAW1F), Power: On, Mode: 1 (Cool), Temp: 77F, Fan: 0 (Auto), Turbo: Off, Econo: Off, IFeel: Off, WiFi: Off, XFan: Off, Light: On, Sleep: Off, Swing(V) Mode: Manual, Swing(V): 0 (Last), Swing(H): 0 (Off), Timer: Off, Display Temp: 0 (Off)
uint16_t rawData[139] = {8996, 4484,  656, 1650,  656, 548,  658, 548,  656, 1670,  636, 548,  656, 550,  656, 548,  656, 548,  656, 1652,  656, 550,  656, 550,  656, 1652,  654, 550,  656, 550,  656, 550,  656, 548,  656, 550,  656, 550,  658, 548,  656, 548,  658, 548,  658, 1670,  636, 1652,  654, 548,  656, 548,  656, 548,  658, 548,  658, 1652,  654, 1652,  654, 550,  656, 1652,  652, 550,  658, 548,  656, 1652,  656, 550,  654, 20004,  636, 548,  656, 550,  658, 548,  656, 548,  656, 550,  654, 550,  656, 548,  658, 548,  656, 550,  656, 550,  656, 550,  656, 550,  656, 548,  656, 1652,  656, 548,  656, 550,  656, 550,  656, 550,  656, 548,  656, 550,  656, 550,  658, 548,  656, 550,  656, 548,  658, 550,  656, 548,  656, 548,  656, 548,  658, 548,  656, 1652,  656, 1650,  656, 550,  656};  // GREE
uint8_t state[8] = {0x09, 0x09, 0x60, 0x58, 0x00, 0x20, 0x00, 0x60};


Timestamp : 003722.400
Library   : v2.8.2

Protocol  : GREE
Code      : 0x1D096058002000A0 (64 Bits)
Mesg Desc.: Model: 1 (YAW1F), Power: On, Mode: 5 (UNKNOWN), Temp: 77F, Fan: 1 (Low), Turbo: Off, Econo: Off, IFeel: Off, WiFi: Off, XFan: Off, Light: On, Sleep: Off, Swing(V) Mode: Manual, Swing(V): 0 (Last), Swing(H): 0 (Off), Timer: Off, Display Temp: 0 (Off)
uint16_t rawData[139] = {9020, 4484,  658, 1648,  658, 548,  658, 1670,  636, 1672,  634, 1672,  636, 548,  658, 548,  656, 548,  656, 1650,  656, 550,  656, 548,  656, 1652,  656, 548,  656, 548,  658, 548,  656, 548,  656, 550,  656, 550,  656, 550,  656, 548,  656, 548,  656, 1652,  656, 1650,  654, 550,  656, 550,  656, 550,  656, 548,  656, 1650,  656, 1650,  656, 550,  656, 1650,  656, 548,  656, 550,  656, 1650,  656, 550,  656, 19982,  656, 550,  656, 550,  656, 548,  656, 550,  656, 550,  656, 550,  656, 548,  656, 550,  656, 548,  656, 548,  656, 548,  658, 548,  656, 550,  654, 1652,  656, 548,  656, 548,  656, 550,  656, 548,  656, 550,  656, 550,  656, 550,  656, 548,  658, 548,  656, 548,  658, 548,  656, 550,  654, 550,  656, 550,  654, 550,  656, 1652,  656, 550,  656, 1652,  654};  // GREE
uint8_t state[8] = {0x1D, 0x09, 0x60, 0x58, 0x00, 0x20, 0x00, 0xA0};

This shows me pressing mode button to switch to Auto, then Cool, then Energy Saver. Let me know if there is anything else I would need to provide.

Thanks

@crankyoldgit
Copy link
Owner

We can probably as it easy enough. What does that nice do other then save energy etc. Eg. Is it cold, hot, auto etc in addition to energy saver?

@crankyoldgit crankyoldgit self-assigned this Jun 15, 2022
crankyoldgit added a commit that referenced this issue Jun 15, 2022
* Allow detecting/setting new model.
* Allow setting Econo(Energy Saver) operation mode.
* Update supported model info.
* Add unit tests to cover new changes.

Fixes #1821
@crankyoldgit crankyoldgit added more info Pending Confirmation Waiting for confirmation from user labels Jun 15, 2022
@crankyoldgit
Copy link
Owner

@yeahme49 Can you please download and try out the branch: https://github.com/crankyoldgit/IRremoteESP8266/tree/YX1F5F / PR #1823 and let me know how it goes.

I think it should mostly work.

Can you please supply the exact model number of the A/C unit too?

@yeahme49
Copy link
Author

yeahme49 commented Jun 15, 2022 via email

@yeahme49
Copy link
Author

Appears to be working. I can set that mode by setting model to 3 and econo to on. If I receive the command it shows econo on as well. Thanks!

crankyoldgit added a commit that referenced this issue Jun 16, 2022
* Allow detecting/setting new model.
* Allow setting Econo(Energy Saver) operation mode.
* Update supported model info.
* Add unit tests to cover new changes.

Fixes #1821
crankyoldgit added a commit that referenced this issue Sep 15, 2022
_v2.8.3 (20220915)_

**[Bug Fixes]**
- Fix `#if` for DECODE_COOLIX48 (#1796)
- Add missing `prev`s to `decodeToState()` (#1783)

**[Features]**
- Add `pause()` function to ESP32 when receiving. (#1871)
- ARGO: Argo add `sendSensorTemp()` (#1858 #1859)
- HAIER_AC160: Experimental detail support. (#1852 #1804)
- BOSCH144: Add IRac class support (#1841)
- Mitsubishi_AC: update left vane in `IRac` class (#1837)
- Basic support for Daikin 312bit/39byte A/C protocol. (#1836 #1829)
- Experimental basic support for Sanyo AC 152 bit protocol. (#1828 #1826)
- GREE: Add model support for `YX1FSF`/Soleus Air Windown A/C (#1823 #1821)
- Experimental basic support for Bosch 144bit protocol. (#1822 #1787)
- Experimental basic support for TCL AC 96 bit protocol. (#1820 #1810)
- Add basic support for clima-butler (52bit) RCS-SD43UWI (#1815 #1812)
- TOTO: An experimental _(s)wipe_ at support for Toto Toilets. (#1811 #1806)
- CARRIER_AC128: Experimental Basic support for Carrier AC 128bit protocol. (#1798 #1797)
- HAIER_AC160: Add basic support for Haier 160bit protocol. (#1805 #1804)
- DAIKIN: Add basic support for 200-bit Daikin protocol. (#1803 #1802)
- FUJITSU: Improve handling of 10C Heat mode. (#1788 #1780)
- FUJITSU: Improve handling of short (command only) messages. (#1784 #1780)

**[Misc]**
- Improve the `_IRREMOTEESP8266_VERSION_VAL` macro (#1875 #1870)
- SONY: Update supported devices. (#1872)
- SAMSUNG: Update supported devices (#1873)
- NEC: Update supported devices (#1874)
- Give IRmacros.h smaller scope to avoid impacting projects using IRremoteESP8266 (#1857 #1853 #1851)
- Inhibit protocol names for not-included protocols (#1853 #1851)
- Test out codeql static analysis (#1842)
- Remove pylint disable=no-self-use (#1817)
- Fujitsu General: update supported devices (#1813)
- DAIKIN: Update supported devices (#1808 #1807)
- Fujitsu: Update supported remote info. (#1801 #1794)
- DAIKIN128: Update supported devices (#1754)
- Voltas: Add link to manual for 122LZF A/C. (#1800 #1799 #1238)
- Daikin128: Additional unit test. (#1795 #1754)
- MIDEA: Update supported devices (#1791 #1790)
crankyoldgit added a commit that referenced this issue Sep 16, 2022
**_v2.8.3 (20220915)_**

**[Bug Fixes]**
- Fix `#if` for DECODE_COOLIX48 (#1796)
- Add missing `prev`s to `decodeToState()` (#1783)

**[Features]**
- Add `pause()` function to ESP32 when receiving. (#1871)
- ARGO: Argo add `sendSensorTemp()` (#1858 #1859)
- HAIER_AC160: Experimental detail support. (#1852 #1804)
- BOSCH144: Add IRac class support (#1841)
- Mitsubishi_AC: update left vane in `IRac` class (#1837)
- Basic support for Daikin 312bit/39byte A/C protocol. (#1836 #1829)
- Experimental basic support for Sanyo AC 152 bit protocol. (#1828 #1826)
- GREE: Add model support for `YX1FSF`/Soleus Air Windown A/C (#1823 #1821)
- Experimental basic support for Bosch 144bit protocol. (#1822 #1787)
- Experimental basic support for TCL AC 96 bit protocol. (#1820 #1810)
- Add basic support for clima-butler (52bit) RCS-SD43UWI (#1815 #1812)
- TOTO: An experimental _(s)wipe_ at support for Toto Toilets. (#1811 #1806)
- CARRIER_AC128: Experimental Basic support for Carrier AC 128bit protocol. (#1798 #1797)
- HAIER_AC160: Add basic support for Haier 160bit protocol. (#1805 #1804)
- DAIKIN: Add basic support for 200-bit Daikin protocol. (#1803 #1802)
- FUJITSU: Improve handling of 10C Heat mode. (#1788 #1780)
- FUJITSU: Improve handling of short (command only) messages. (#1784 #1780)

**[Misc]**
- Improve the `_IRREMOTEESP8266_VERSION_VAL` macro (#1875 #1870)
- SONY: Update supported devices. (#1872)
- SAMSUNG: Update supported devices (#1873)
- NEC: Update supported devices (#1874)
- Give IRmacros.h smaller scope to avoid impacting projects using IRremoteESP8266 (#1857 #1853 #1851)
- Inhibit protocol names for not-included protocols (#1853 #1851)
- Test out codeql static analysis (#1842)
- Remove pylint disable=no-self-use (#1817)
- Fujitsu General: update supported devices (#1813)
- DAIKIN: Update supported devices (#1808 #1807)
- Fujitsu: Update supported remote info. (#1801 #1794)
- DAIKIN128: Update supported devices (#1754)
- Voltas: Add link to manual for 122LZF A/C. (#1800 #1799 #1238)
- Daikin128: Additional unit test. (#1795 #1754)
- MIDEA: Update supported devices (#1791 #1790)
@crankyoldgit
Copy link
Owner

FYI, the changes mentioned above have now been included in the new v2.8.3 release of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement more info Pending Confirmation Waiting for confirmation from user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants