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

GREE Air Conditioner on Fibaro


skywalker
 Share

Question

Has anyone succeeded to control Gree AirCond (with Wifi) with Fibaro?

Found a topic in Polish, but could not find a way to do it. I have tried with Cool Automation plugin (with the IP of the GREE), didn't work.

 

I have a Gree multisplit, I can control all 3 units by GREE phone app, but would be great to have it integrated with Fibaro.

Any idea is welcome.

 

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

As I can understanding (just look in source code)

1) detection for GREE devices via UDP, what can be achievable

2) Communication with device also via UDP

3) proto is very easy for implementation (as against Broadlik device what i have implemented)

 

source code by C# attached).

Happy porting!

 

Please login or register to see this attachment.

Link to comment
Share on other sites

  • 0

Hi guy! Have very early prototype of working gree ac unit control via Fibaro.

 

Do you need it? ;D

Link to comment
Share on other sites

  • 0

Hi

On 8/26/2022 at 10:22 AM, Deivydas said:

Hi guy! Have very early prototype of working gree ac unit control via Fibaro.

 

Do you need it? ;D

 

Hi this would be great as I have currently installed a RPi with this tool

Please login or register to see this link.

and I am in the process of implementing http calls from HC2 to RPi in order to switch AC on/off...

 

Thanks!
R

Link to comment
Share on other sites

  • 0

If you are looking create a VD and you can control your AC via web browser, then this may help 

Please login or register to see this link.

 

Link to comment
Share on other sites

  • 0
9 hours ago, Tim__ said:

If you are looking create a VD and you can control your AC via web browser, then this may help 

Please login or register to see this link.

 

No that part is ok… I was hoping to avoid RPi altogether with @Deivydas code…

 

thanks

R

 

 

Link to comment
Share on other sites

  • 0

So, this is what I did to control a Gree AC from HC2 and use it both as de-humidifier and as AirConditioning

 

- installed a RaspberryPi

- installed this tool to control Gree from command line

Please login or register to see this link.

and created some scripts (i.e. one to turn on AC, one to turn on Dry Mode and one to turn off. They look like this

 

Please login or register to see this code.

 

Notice: if you don't add the 5 seconds wait at the end, the script terminates before executing the command, so it's important!

Notice2: temperature set here must be below any temperature you will set in the AC Panel of HC2, so 16 is ok but you can put any low value as you will not use the thermostat inside Gree rather the z-wave one

 

- installed webhooks

Please login or register to see this link.

and created a webhook.conf file to associate the webhook to the js files above

 

Please login or register to see this code.

 

- created a VD with a button for each function, so for example

 

Please login or register to see this code.

 

Now the tricky part: in the AC Panel of HC2, you cannot control a virtual device. So I picked one of my existing relay's unused module (for example the switch of a SmartImplant that I only use as a sensor) and called it "Fake-AC-Relay". I created a linked AC device controlling this fake relay and then a AC Zone for that Room

 

Now I created a Scene that acts based on the status of the "Fake-AC-Relay". This scene is executed automatically when temperature goes above/below threashold defined in the AC Panel and also every 30 minutes (called by another scene) to check if humidity is too high even when temp is below treshold

 

Please login or register to see this code.

 

Hope it's useful!!
 

Br

Riccardo

Edited by RiccardoCanetta
fixed mistake in scene
Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...