Sign In
\n \n One account across our brands.\n \n
\n
\n \t \n
\n Copyright 2020 GE Appliances, a Haier company GE is trademark of General Electric Company.Manufactured under trademark license.\n
\nClosed simbaja closed 3 years ago
Hello! I have the unit model APWA12YZBW, let me know if I could be of any help. Would be amazing to have home assistant integration. 👍 I think I have what could be considered a split unit.
I ran the dev branch last night and I couldn't get any integration happening.
Realized there was a new release, cleared out my old install and repository from HACS, installed v0.4.3-dev0 and added the integration, nothing showing for new devices.
Actually, it looks like you have the last of the A/C types that GE makes, the Portable A/C unit. I haven't yet built support for that one yet, but with your help, I think we can get it in.
Basically, the first step is to head on over to simbaja/gehome which is the SDK for the GE appliances. You will need to run the websocket_example file that's in that repo. Some basic steps to follow:
pip install gehomesdk
, then work through any dependency issues you might have with missing packages (may want to see simbaja/gehome#22 referenced above to help resolving some of those).Welcome to the project, and please let me know if you have any questions!
Let's start a new topic over in the SDK for this discussion and leave this one for the Split A/C units.
This issue is for working through the support for GE Split A/C Units. If you have one of these units, please let me know if the latest dev release enables support for these within HA. @RobertusIT, we can continue the discussion from the gehome repository here.
I have only at the moment, 2 same unit, not split, but separate. I have these units, in my Kitchen and my work room. I'll buy others same units, to put around my house, when integration will be completed
Yep, those are Split A/C units (perhaps you might know them as ductless?). There's a part of it inside, and a part outside (which is why it's called split). It's the same device we've been working with on the SDK repo. You should be able to pull the latest dev version (either manually or through HACS) and we can work through the issues on the HA side.
Yep, those are Split A/C units (perhaps you might know them as ductless?). There's a part of it inside, and a part outside (which is why it's called split). It's the same device we've been working with on the SDK repo. You should be able to pull the latest dev version (either manually or through HACS) and we can work through the issues on the HA side.
Oh i see about what you mean "split AC".
I don't understand the last part, you need others logs ? ( so i need to get one more time, .zip project , etc... ? )
Nope, shouldn't need any more logs (unless there's an error in Home Assistant). Basically, you'll need to install the integration (either manually following the readme, or using HACS) into Home Assistant. You should use the latest dev release (0.4.3-dev0) or the "dev" branch from github.
Once installed, you will need to configure the integration using your username/password. After that, it should pick up your A/C unit and then it should give you climate entities that you can control from HA. I'll need your help to confirm that these entities are working correctly.
Nope, shouldn't need any more logs (unless there's an error in Home Assistant). Basically, you'll need to install the integration (either manually following the readme, or using HACS) into Home Assistant. You should use the latest dev release (0.4.3-dev0) or the "dev" branch from github.
Once installed, you will need to configure the integration using your username/password. After that, it should pick up your A/C unit and then it should give you climate entities that you can control from HA. I'll need your help to confirm that these entities are working correctly.
I get https://github.com/simbaja/ha_gehome/archive/refs/tags/v0.4.3-dev0.zip
then unzip, put into custom components folder
reboot ha, then settings - integration - ge home, ask mail and pass, done.
Seems that no new entities
Interesting, is there anything in the HA log showing an error or warning?
Traceback (most recent call last):
File "/config/custom_components/ge_home/update_coordinator.py", line 299, in on_device_initial_update
self.maybe_add_appliance_api(appliance)
File "/config/custom_components/ge_home/update_coordinator.py", line 128, in maybe_add_appliance_api
api.build_entities_list()
File "/config/custom_components/ge_home/devices/base.py", line 116, in build_entities_list
e for e in self.get_all_entities()
File "/config/custom_components/ge_home/devices/sac.py", line 21, in get_all_entities
GeSacClimate(self),
File "/config/custom_components/ge_home/entities/ac/ge_sac_climate.py", line 65, in __init__
self._modes: ErdSacAvailableModes = self.api.try_get_erd_value(ErdCode.SAC_AVAILABLE_MODES)
File "/config/custom_components/ge_home/entities/common/ge_entity.py", line 21, in api
return self._api
AttributeError: 'GeSacClimate' object has no attribute '_api'
Ok, try the "-dev1" release, it should fix this issue. Should just need to copy over and restart HA, config should be done already.
Ok, try the "-dev1" release, it should fix this issue. Should just need to copy over and restart HA, config should be done already.
It create entities, now i'm testing if works like expected.
Missing Swing entity or i didn't see it.
Seems that works for others modes! I'm so excited
OK, that one should be fixed, let me know if it appears and if everything else is working correctly.
OK, that one should be fixed, let me know if it appears and if everything else is working correctly.
Missing swing mode, others mode, seems that works properly
So, just to confirm, even with dev2 you're still missing the auto swing mode entity (it should show up as a switch)?
All other functionality is working?
So, just to confirm, even with dev2 you're still missing the auto swing mode entity (it should show up as a switch)?
All other functionality is working?
yes missing swing with dev2. I didn't know how become appear, but there I didn't see it.
Others functionality works!
But is local based or cloud based? Because when you insert mail and pass about smarthq, i didn't understand if works without internet connection.
It's a cloud-polling integration, so it won't work without an internet connection, unfortunately. The devices don't allow for local control.
Let me look into the auto swing one more time... it should have been there, are there any errors in the log?
i didn't see error about ge home in logs
it's a pity about local push. but anyway is amazing !
edit:
maybe is it
2021-08-09 19:32:42 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2021-08-09 19:32:42 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
That one is fine, it's from the library that we're using but isn't a problem. Just to confirm, you restarted after dev2? Did the icons change on the target and ambient temperature (that was the other update from dev2)?
2021-08-09 19:32:42 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
That one is fine, it's from the library that we're using but isn't a problem. Just to confirm, you restarted after dev2? Did the icons change on the target and ambient temperature (that was the other update from dev2)?
I download already dev2, then import files into custom component, in ha.
Then reboot HA.
Now appear. Maybe is my bad, so anyway sorry.
Awesome, glad that it works now! Let me know if you find anything over the next few days. Thanks for all your help in getting this integrated into HA!
Awesome, glad that it works now! Let me know if you find anything over the next few days. Thanks for all your help in getting this integrated into HA!
Big Thanks to you! I love it! Of course, in these days, are very hot days, so i'll test a lot, for sure!
Tested and working. Thank you for this integration =)
If we can buy a coffee to you, can be a pleasure for us
I have this error in log
2021-08-10 14:22:41 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
How can i fix it?
Seems to be correlated with xmpp
It's unfortunately a warning that we can't disable as long as the xmpp version of the client is in the library. It shouldn't cause any issue and will only appear once at Home Asisstant startup.
If we can buy a coffee to you, can be a pleasure for us
That's no joke, man. I've been using this non-stop since I got it installed and configured and I'm loving it. Great work.
If you try to add another AC, same model, is not possible:
`Logger: homeassistant Source: helpers/entity.py:457 First occurred: 14:24:17 (260 occurrences) Last logged: 14:46:29
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/ge_home/update_coordinator.py", line 266, in on_device_update
entity.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 457, in async_write_ha_state
raise RuntimeError(f"Attribute hass is None for {self}")
RuntimeError: Attribute hass is None for
`Logger: homeassistant.components.climate Source: helpers/entity_platform.py:566 Integration: Termostato (documentation, issues) First occurred: 14:28:01 (6 occurrences) Last logged: 14:45:41
Platform ge_home does not generate unique IDs. ID ge_home_D828C938F090_climate already exists - ignoring climate.d828c938f090_climate Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_climate already exists - ignoring climate.condizionatorestudio2_climate_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C938F090_climate already exists - ignoring climate.condizionatorestudio_climate_2`
`Logger: homeassistant.components.switch Source: helpers/entity_platform.py:566 Integration: Interruttore (documentation, issues) First occurred: 14:28:01 (18 occurrences) Last logged: 14:45:41
Platform ge_home does not generate unique IDs. ID ge_home_D828C938F090_sac_sleep_mode already exists - ignoring switch.condizionatorestudio_sac_sleep_mode_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C938F090_sac_auto_swing_mode already exists - ignoring switch.condizionatorestudio_sac_auto_swing_mode_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_ac_power_status already exists - ignoring switch.condizionatorestudio2_ac_power_status_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_sac_sleep_mode already exists - ignoring switch.condizionatorestudio2_sac_sleep_mode_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_sac_auto_swing_mode already exists - ignoring switch.condizionatorestudio2_sac_auto_swing_mode_2`
`Logger: homeassistant.components.sensor Source: helpers/entity_platform.py:566 Integration: Sensore (documentation, issues) First occurred: 14:28:01 (24 occurrences) Last logged: 14:45:41
Platform ge_home does not generate unique IDs. ID ge_home_D828C938F090_ac_operation_mode already exists - ignoring sensor.condizionatorestudio_ac_operation_mode_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_ac_target_temperature already exists - ignoring sensor.condizionatorestudio2_ac_target_temperature_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_ac_ambient_temperature already exists - ignoring sensor.condizionatorestudio2_ac_ambient_temperature_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_ac_fan_setting already exists - ignoring sensor.condizionatorestudio2_ac_fan_setting_2 Platform ge_home does not generate unique IDs. ID ge_home_D828C9404C09_ac_operation_mode already exists - ignoring sensor.condizionatorestudio2_ac_operation_mode_2`
`Logger: gehomesdk.clients.async_login_flows Source: /usr/local/lib/python3.9/site-packages/gehomesdk/clients/async_login_flows.py:66 First occurred: 14:34:46 (1 occurrences) Last logged: 14:34:46
There was a problem getting the authorization code, response details: {'method': 'POST', 'cookies': Sign In
\n \n One account across our brands.
\n \n
\n
`Logger: gehomesdk.clients.base_client Source: /usr/local/lib/python3.9/site-packages/gehomesdk/clients/base_client.py:150 First occurred: 14:31:52 (1 occurrences) Last logged: 14:31:52
Error refreshing authentication: Connection closed`
Can you completely remove the integration, clean-up any entities, and then reinstall the integration and see if that clears it up? Also, can you post your sdk log as well, just need to confirm that it's sending unique ids. The A/C units don't have a serial number (which is what I've been using), so I'm using the mac address of the wifi connect as the unique id (which should be unique).
Can you completely remove the integration, clean-up any entities, and then reinstall the integration and see if that clears it up? Also, can you post your sdk log as well, just need to confirm that it's sending unique ids. The A/C units don't have a serial number (which is what I've been using), so I'm using the mac address of the wifi connect as the unique id (which should be unique).
I did it right now, no way. Delete integration, reboot No entities Install integration, login, create only 1 AC, other AC not.
`Logger: gehomesdk.clients.async_login_flows Source: /usr/local/lib/python3.9/site-packages/gehomesdk/clients/async_login_flows.py:66 First occurred: 15:49:03 (1 occurrences) Last logged: 15:49:03
There was a problem getting the authorization code, response details: {'method': 'POST', 'cookies': \n Copyright 2020 GE Appliances, a Haier company GE is trademark of General Electric Company.Manufactured under trademark license.\n Sign In
\n \n One account across our brands.
\n \n
\n
\n \t \n
as you can see, entities exist for every AC
but only one in integration
Maybe is only an issue of visualization about integration. And anyway a lot of error in logs, that should be manage ?
I had started typing a response, but your new screenshots indicate a different problem. You don't need to add the integration twice, the same integration instance will show any device attached to your account. If you had multiple accounts, you would need two instances of the integration.
In terms of the errors in the logs - it's trying to re-add the same appliances twice. I will add some logic to prevent the same account from being added more than once to prevent further issues like this.
Seems like it's working for people, so I'll close this. Please reopen or start a new thread if issues pop up.
This issue is for working through the support for GE Split A/C Units. If you have one of these units, please let me know if the latest dev release enables support for these within HA. @RobertusIT, we can continue the discussion from the gehome repository here.