aivus / com.gree Goto Github PK
View Code? Open in Web Editor NEWControl your Gree, Cooper&Hunter HVAC devices using Athom Homey
Home Page: https://apps.athom.com/app/com.gree
License: GNU General Public License v3.0
Control your Gree, Cooper&Hunter HVAC devices using Athom Homey
Home Page: https://apps.athom.com/app/com.gree
License: GNU General Public License v3.0
Parameter: lights
Possible values: on, off
It was reported by the user that some modes (dry, Fan only) are missing in the selector.
At the same time option "off" is presented there.
It could be caused by some different firmware in the new Homey Pro 2023 which are using only capabilities from the default set
Hi,
I was able to connect my Tadiran air conditioners (Israeli brand) to homey pro using this app
thank tou
Error message:
Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Hi!
I have same problem what have some guys. I have 3x gree u-crown air conditioners. If i add it work fine but after a few hours go offline and homey cant control ac-s.
I add it again and again maybe 10-15x but every time same problem.
Could be caused by using different encryption key in new firmwares.
See tomikaa87/gree-remote#36
logs:
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
SOCKET.SEND { t: 'scan' }
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
IN.MSG {
t: 'pack',
i: 1,
uid: 0,
cid: '502cc6b01e79',
tcid: 'app',
pack: 'LP24Ek0OaYogxs3iQLjL4PD+1uB4aq/dGgEbn8pR7V1YT1PXPBDouOPiWHaG4G8lz22fUZtUbkblUYF5BzlKDV9xeQzMlsaP4RKBtrnsDrMmwHkrcyvRywIl52ZuUW8EzlDvl347hXSddiQKR6Iweu80HbfgK3MNVtBb+mRtQFyio7f3xDWMYEIeftEUXGX8V+aYzyhrw8Yt6UvgVWxkZdHmnfSQ8JdBj+nhexr6JgstnoBYFa+c0wD5j9MjNjAT'
}
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
IN.MSG.UNPACK {
t: 'dev',
cid: '502cc6b01e79',
bc: 'gree',
brand: 'gree',
catalog: 'gree',
mac: '502cc6b01e79',
mid: '9300',
model: 'gree',
name: '',
series: 'gree',
vender: '1',
ver: 'V5.0.0.0',
lock: 0
}
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
SOCKET.SEND {
cid: 'app',
i: 1,
t: 'pack',
uid: 0,
pack: 'DYtM4OpY0Xlx+jChSGr01CUUCFjuF79CQPESynbXOcqj9mrs/0p7GUTdWxmNaBUt'
}
>>> cid:502cc6b01e79: 11/24/2022, 12:47:05 PM
SOCKET Unable to connect. Retrying...
Need to add first view step with information about switching HVAC to current wifi network using standard application like EWPE Smart or command like here
Also probably will be useful to add instructions to reset wifi settings
Pairing view documentation:
https://apps.developer.athom.com/tutorial-Drivers-Pairing-System%20Views.html
Hi,
I just installed some Tosot airco units, but in the Homey app I cannot select the heater function.
Can this function be added to the gree app?
Kind regards
Robin
Parameter: turbo
Possible values: on, off
We need to create a topic in community forum: https://community.athom.com/c/apps/7
Todo:
app.json
Hi Aivus,
I have 2 Gree air conditioners (types: GWH18ACDXF and GWH12ACC) one of them is working great (GWH18ACDXF) with your app in Homey, but the second one (GWH12ACC) annot be integrated to Homey, the app says: No new devices have been found.
Both systems are using the same Wifi SSID, and integrated into the Ewpe Smart application.
Do you know what can be the reason? Thanks for your help!
Error: device_not_found
File "/drivers/gree_cooper_hunter_hvac/device.js", line 336, in GreeHVACDevice._markOffline
this.setUnavailable(this.homey.__('error.offline'));
File "/drivers/gree_cooper_hunter_hvac/device.js", line 313, in GreeHVACDevice._onDisconnect
this._markOffline();
File "/drivers/gree_cooper_hunter_hvac/device.js", line 440, in GreeHVACDevice._tryToDisconnect
this._client.disconnect();
File "/drivers/gree_cooper_hunter_hvac/device.js", line 58, in GreeHVACDevice.onDeleted
this._tryToDisconnect();
...
(12 additional frame(s) were not displayed)
Need to check application behaviour during disconnect HVAC.
Need to mark in as offline
Parameter: air
Possible values: off, inside, outside, mode3
Possible values: on, off
homey app validate -l publish
returns warnings:
Warning: flow.actions.set_hvac_mode.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Warning: flow.actions.set_fan_speed.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Warning: flow.actions.set_turbo_mode.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Warning: flow.actions.set_lights.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Warning: flow.actions.set_xfan_mode.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Warning: flow.actions.set_vertical_swing.titleFormatted is missing. Specifying a Flow card's formatted title will be required in the future.
Need to add missed titleFormatted
to the flow definitions
Need to remove
Possible values: off, auto, cool, heat, dry, fan_only
Parameter: sleep
Possible values: on, off
Possible values: default, full, fixedTop, fixedMidTop, fixedMid, fixedMidBottom, fixedBottom, swingBottom, swingMidBottom, swingMid, swingMidTop, swingTop
Possible values: auto, low, mediumLow, medium, mediumHigh, high
It would be nice to have the option to set the Sleep mode.
It's useful when you want to start the AC during the night.
It seems that we need to mark device as unavailable in case when polling interval exceeded in 2x time and no any updates received
Doesn't work with Gree GWH12QC HVAC: "No new devices have been found."
A crash occurred for your app (version 0.1.3) at Sep 26, 2019 10:45 PM (UTC).
Homey software version: 2.5.2
Crash report:
undefined:1
<?xml version="1.0" encoding="UTF-8"?>
^
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Client._handleResponse (/node_modules/gree-hvac-client/lib/client.js:268:30)
at Socket._socket.on.message (/node_modules/gree-hvac-client/lib/client.js:110:52)
at emitTwo (events.js:126:13)
at Socket.emit (events.js:214:7)
at UDP.onMessage [as onmessage] (dgram.js:659:8)
Need to prepare PR to update existing codebase for Homey's SDK v3
Documentation: https://apps-sdk-v3.developer.athom.com/tutorial-SDK%20Changelog.html
Additional items:
Possible values: default, full, fixedLeft, fixedMidLeft, fixedMid, fixedMidRight, fixedRight
Parameter: quiet
Possible values: off, mode1, mode2, mode3
Introduced in #12 turbo mode capability has non-working triggers.
Need to fix them.
Parameter: blow
Possible values: on, off
but I have 2 air conditioners installed (living room N1 and bedroom N2) c&h CH-S12FTXTB2S-W and everything works fine with N2, but the control is a bit slow, but when I add N1 both don’t work.
If i add only N1 it does not work at all - writes an error - HAVC went offline...
Говорю по русски )
Originally posted by @thaserge in #22 (comment)
Check guidelines, publish first version
Hello,
This app also works for Wilfa AC.
However it does not show up in my HomeKit setup. Is this possible to fix?
I am using the HomeyKit app.
Need to investigate can we use addCapability method to add new capabilities to existing devices without re-pairing them.
Keep in mind that it was added in Homey v3.0.0
getCapabilities can be used to get a list of existing capabilities of device.
Something like this can be used:
https://github.com/athombv/me.nanoleaf/blob/a6870562fc0fdf4cb30760135b7a922a3fdcb4b9/lib/NanoleafHomeyDevice.js#L110-L112
Possible values: on, off
I have a INNOVA TITANIUM 12 and it's seams to work grate with your app
Regards Melker
everything goes well during installation. aftherwards the device
leave a warning triangle with the message: Your HVAC went offline. trying to reconnect.
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.