Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Ready to go Gree AC unit control and statuses reading from device (QuickApp)


Question

Posted (edited)

Hello,
I would like to share my first worth Quick App to control Gree AC Unit (Air conditionier).

 

This app was developed for my own requirements. I need it to write some scenes which automatically turn on / off ac when temperature is different from set in thermostat.


I would like to say thank for the people who have helped me to find the necessary information. Big thanks to these guys - https://github.com/tomikaa87/gree-remote who had made a lot of work and make the developing process less complicated.

 

It's doesnt work with fallowing models:

  • Gree Pular - it use different UDP packages, need to be debug

 

Ok, let's go to inistall it, what you need:

1. Make sure, that your Gree AC Unit have static IP address. Please enter this IP address to QuickApp variable.

2. When IP address is entered, click Pair Device button

3. If pair is success, you are available to control your AC unit

4. Statuses from AC device is updated after each 5 minutes, you can change this 

 

QuickApp version: v1.

Works with: Home Center 3

 

Take and use it, I'm sure that this app will get updates and additional scenes for automatization :)

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

 

Notes (Updated 2024-05):

Different GREE AC units send different packages to devices, so it cannot be working with every gree ac unit. I'm planning to build another 3 AC units (different gree models in other rooms), when I have it, i'll try to adapt code to more Gree AC devices

Please login or register to see this attachment.

Edited by Deivydas
  • Like 2
  • Thanks 2

Recommended Posts

  • 0
Posted

Hi there.
I tried QuickApp and I want to give you feedback.
I have a Nord air conditioner designed by Gree in 2019.
It can be controlled with the Gree+ application, I thought I would try this QuickApp as well.
Unfortunately, it failed, the value of the ac_key variable shows an empty field.
The program is a very nice piece of work, I will keep an eye on the developments.

 

[2022-12-15] [22:51:04] [DEBUG] [GREE AC400]: Reading AC Status

[2022-12-15] [22:51:33] [DEBUG] [GREE AC400]: Reading AC Status

[2022-12-15] [22:52:00] [TRACE] [GREE AC400]: UIEvent: {"elementName":"pair","values":[],"eventType":"onReleased","deviceId":400}

[2022-12-15] [22:55:11] [TRACE] [GREE AC400]: UIEvent: {"elementName":"pair","values":[],"eventType":"onReleased","deviceId":400}

[2022-12-15] [22:55:18] [TRACE] [GREE AC400]: UIEvent: {"elementName":"buttonUpdateStatuses","values":[],"eventType":"onReleased","deviceId":400}

[2022-12-15] [22:55:18] [TRACE] [GREE AC400]: Was trying to not configure Gree AC Unit statuses.

[2022-12-15] [22:56:33] [DEBUG] [GREE AC400]: Reading AC Status

[2022-12-15] [22:56:35] [DEBUG] [GREE AC400]: Pairing error

Please login or register to see this attachment.

Please login or register to see this attachment.

  • 0
Posted

Witam.

Wielkie dzięki DAWID@ za udostępnienie aplikacje działa z moim Gree  GWH18YD-K6DNA1A

 

  • Like 1
  • 0
Posted (edited)

any chance to make it work on Home Center 2? I have three GREE (with wifi) units, with static IP, would be great to be able to control them by fibaro.

Edited by skywalker
  • 0
  • Inquirer
  • Posted

    Sorry, my script is just for HC3. I'm not a developer who write scripts for global usage, I write thems for personal usage.

     

    I see that different Gree AC units, have different packages, so cannot test them alls. When I have additional 3 gree ac units at home, i'll update this script to work for thems too and provide the exact model of thems.

    • 0
    Posted

    I was hoping we find somebody with HC2 that can transform your code :). Any programmer with GREE aircond and HC2 around here, please ? :).

     

    I looked into it, but I don't think I am capable of making it work :(...

    • 0
    Posted

    Hi!

     

    Is there somebody, for who he works with the GWH12AFC-K6DNA2F/0?

     

    • 0
    Posted

    Hi, I was surfing GitHub today and found this great QuickApp for the GREE air conditioner. I use a GREE air conditioner at home and also a Fibaro HC3. I was already planning to set aside some time to develop a similar QuickApp, but our friend Deivydas helped us a lot. At first, the QuickApp didn't work for me, but I decided to look at the UDP parameters (line 38) and changed the TIMEOUT parameter to 5000 (it was 2000). After that, the QuickApp worked. Maybe this will help someone else too. Once again, many thanks to Deivydas.

    • 0
    Posted (edited)
    W dniu 2.11.2022 o 19:46, AchoSK01 napisał:

    Yes, all the rest is working well :), just the main/"power switch" doesnt get updated ( if the AC has beeen switched off/on via remote control/gree app)

    Add in QuickApp four highlighted lines:

     

    375  function QuickApp:updateAcUnitViewDashboard(command, value)
        -- Power
        if (command == 'pow') then
            if (value == 0) then
                self:updateView("labelAcStatus", "text", self.trans.labels.ac_off)
                self:updateProperty('value', false) -- binary switch off
            elseif (value == 1) then
                self:updateView("labelAcStatus", "text", self.trans.labels.ac_on)
                self:updateProperty('value', true) -- binary switch on
            end
     
    ......
     
    476    --=== Read Status ===--
        if (command == 'status_pow') then
            if (value == 0) then
                self:updateView("labelAcStatus", "text", self.trans.labels.ac_off)
                self:updateProperty('value', false) -- binary switch off
            elseif (value == 1) then
                self:updateView("labelAcStatus", "text", self.trans.labels.ac_on)
                self:updateProperty('value', true) -- binary switch on
            end
    Edited by Kantapuna
    • 0
    Posted
    On 10/29/2022 at 4:51 PM, Deivydas said:

    Hello,
    I would like to share my first worth Quick App to control Gree AC Unit (Air conditionier).

     

    This app was developed for my own requirements. I need it to write some scenes which automatically turn on / off ac when temperature is different from set in thermostat.


    I would like to say thank for the people who have helped me to find the necessary information. Big thanks to these guys - https://github.com/tomikaa87/gree-remote who had made a lot of work and make the developing process less complicated.

     

    It's doesnt work with fallowing models:

    • Gree Pular - it use different UDP packages, need to be debug

     

    Ok, let's go to inistall it, what you need:

    1. Make sure, that your Gree AC Unit have static IP address. Please enter this IP address to QuickApp variable.

    2. When IP address is entered, click Pair Device button

    3. If pair is success, you are available to control your AC unit

    4. Statuses from AC device is updated after each 5 minutes, you can change this 

     

    QuickApp version: v1.

    Works with: Home Center 3

     

    Take and use it, I'm sure that this app will get updates and additional scenes for automatization :)

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

     

    Notes (Updated 2024-05):

    Different GREE AC units send different packages to devices, so it cannot be working with every gree ac unit. I'm planning to build another 3 AC units (different gree models in other rooms), when I have it, i'll try to adapt code to more Gree AC devices

    Please login or register to see this attachment.


    hi,
    Which Gree model is working with this QAP ?

    Thnx

     

    • 0
    Posted

    I have new GRee ac and I am able to contorl Gree AC with py command and so on ...bu
    this qua built around older (non-GCM) encryption, and my device requires GCM...any suggestion how can I update this

     

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...