Comments (23)
Hello there,
If i see now home assistant support horizontal swing right?
https://developers.home-assistant.io/docs/core/entity/climate/#swing-modes
possible to re-investigate this?
from homeassistant-greeclimatecomponent.
Hey @RobHofmann ! as it's already supported by HASS could you re-open issue?
from homeassistant-greeclimatecomponent.
I'm not a programmer, unfortunatelly, so i do a "workaround" in node-red.
from homeassistant-greeclimatecomponent.
@vampywiz17 wow I didn't know there's Gree integration for node-red, it is a usable workaround, it even has its own dashboard example. Thanks! :)
from homeassistant-greeclimatecomponent.
Hi,
Since horizontal swing is supported by climate I can dump and decode correct JSON for every position from left to right - but I don't have developer skills to implement this into this plugin.
Are those JSON's even required to add this feature (horizontal fixed position) into this integration?
from homeassistant-greeclimatecomponent.
So, here we go all requests and answers decoded.
Request 1:
{ "opt": [ "SwingLfRig" ], "p": [ 2 ], "t": "cmd" }
Request 2:
{ "opt": [ "SwingLfRig" ], "p": [ 3 ], "t": "cmd" }
Request 3:
{ "opt": [ "SwingLfRig" ], "p": [ 4 ], "t": "cmd" }
Request 4:
{ "opt": [ "SwingLfRig" ], "p": [ 5 ], "t": "cmd" }
Request 5:
{ "opt": [ "SwingLfRig" ], "p": [ 6 ], "t": "cmd" }
Answer 1:
{ "t": "res", "mac": "xxxxx", "r": 200, "opt": [ "SwingLfRig" ], "p": [ 2 ], "val": [ 2 ] }
Answer 2:
{ "t": "res", "mac": "xxxxx", "r": 200, "opt": [ "SwingLfRig" ], "p": [ 3 ], "val": [ 3 ] }
Answer 3:
{ "t": "res", "mac": "xxxxx", "r": 200, "opt": [ "SwingLfRig" ], "p": [ 4 ], "val": [ 4 ] }
Answer 4:
{ "t": "res", "mac": "xxxxx", "r": 200, "opt": [ "SwingLfRig" ], "p": [ 5 ], "val": [ 5 ] }
Answer 5:
{ "t": "res", "mac": "xxxxx", "r": 200, "opt": [ "SwingLfRig" ], "p": [ 6 ], "val": [ 6 ] }
from homeassistant-greeclimatecomponent.
This is supported in the latest version :)
from homeassistant-greeclimatecomponent.
The theory is that the swing mode dropdown consists of all swing mode options. But this will mean you get HORIZONTAL_SWING_MODES * VERTICAL_SWING_MODES number of options in that list. It's possible, but i'm not positive yet this should be the solution.
As far as i know, adding new features and dropdowns to the platform is not possible. Correct me if i'm wrong.
Source: https://developers.home-assistant.io/docs/en/entity_climate.html
from homeassistant-greeclimatecomponent.
Using one dropdown for both vertical and horizontal modes would be bad that's for sure.
That's why I was rather thinking about ability to call it via services (as we could create standalone dropdown using that) so far asked on discord if there's a chance to do that.
If that's not possible PR to climate
module might be only solution.
from homeassistant-greeclimatecomponent.
I doubt such PR will be accepted though. They just rethought the whole climate component. If you look at the documentation it clearly shows that you should set all the swing modes through 1 property.
from homeassistant-greeclimatecomponent.
So there's one option, to register new service call for component. Apparently it's possible. As addition, there's also a way to create custom panel so everything would be covered. I can try to create PR supporting new service call, but I'm bad with js.
from homeassistant-greeclimatecomponent.
For now I'm leaving PR #34 it's not yet finished, as registering a service needs finish touch. If you'll get some time please take a look at it @RobHofmann
from homeassistant-greeclimatecomponent.
Hi, i'm looking into your PR. I've tried to get something working. At least for it to show the service, but the service doesnt pop up in the dev tools.
When I try to manually call the service i get this:
Failed to call service climate/set_horizontal_swing_mode. Service not found.
Am I doing something wrong?
Also: where is the service.yaml placed? next to the climate.py?
from homeassistant-greeclimatecomponent.
Service is not injected yet, I didn't had a time to go through calls to get it working.
Afaik it should be placed next to climate.py
(example)
from homeassistant-greeclimatecomponent.
Also i'm still wondering how this will integrate into the frontend. I doubt we can modify the existing climate frontend component. We'd probably have to build something ourselves.
from homeassistant-greeclimatecomponent.
Closing this for now as this is not supported by Home Assistant (yet).
from homeassistant-greeclimatecomponent.
Has anyone managed to implement this? I've tried to go through the code myself, but I'm not quite following how it works.
from homeassistant-greeclimatecomponent.
I tried the default Gree component this week. The default Home Assistant Gree component has this feature. It allows you to swing both, vertical, horizontal or none. It however doesn't support any fixed positions.
from homeassistant-greeclimatecomponent.
Hello @RobHofmann
What do you think, it possible to add horizontal swing to your integration? (first time it enough that only the swing )
from homeassistant-greeclimatecomponent.
Hello @RobHofmann
What do you think, it possible to add horizontal swing to your integration? (first time it enough that only the swing )
I dont have any doubt it should be possible. Feel free to make a PR :).
from homeassistant-greeclimatecomponent.
It also help, i think. But also no programming knowledge...
https://github.com/inwaar/node-red-contrib-gree-hvac
from homeassistant-greeclimatecomponent.
Hi,
Is it possible to at least add function to read current position for horizontal settings?
I can change:
['SwUpDn']]
to
['SwingLfRig']]
But i need both vertical and horizontal not only horizontal.
Can not managed it by myself.
from homeassistant-greeclimatecomponent.
Dear All,
Is there any change to get it integrated in one of the upcoming release?
It would be great to be part of it and not use another Node-Red integration for the horizontal swing settings.
Thanks for all the great work you've made on the Gree Climate integration!
from homeassistant-greeclimatecomponent.
Related Issues (20)
- Current temperature not working HOT 2
- Deprecated and will be removed in Home Assistant 2025.5 HOT 4
- How to access/expose separate Entities ? HOT 6
- cannot import name 'EventStateChangedData' from 'homeassistant.core' HOT 2
- Turning on Gree air conditioner after starting Home Assistant HOT 5
- Devices unavailable HOT 2
- Can you support the `Anti Direct Blowing Wind Shield` feature HOT 24
- one of three didnt workm [Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer] HOT 4
- Expand the auto light feature HOT 18
- new encryption method: Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer HOT 2
- ImportError: cannot import name 'EventStateChangedData' from 'homeassistant.core' HOT 2
- No input_boolean beeing created, HOT 4
- getting error : 2024-05-29 08:57:25.609 ERROR (MainThread) [homeassistant.components.climate] Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer. HOT 6
- Temperature adjustment increments for instances using imperial (Fahrenheit) HOT 1
- Does not work with latest Cooper&Hunter Smart Wi-Fi devices HOT 1
- Unable to connect to ac HOT 21
- Failed to connect to AC HOT 2
- Since upgrade to 2.12.0 Lost Climate present mode (Vertical swing mode) (EMPTY) HOT 10
- 2.12 Connection issues HOT 8
- Swing modes resets to full range option if any swing selected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-greeclimatecomponent.