mauro-midolo / homeassistant_electrolux_status Goto Github PK
View Code? Open in Web Editor NEWGet the status from your Electrolux Care devices
License: MIT License
Get the status from your Electrolux Care devices
License: MIT License
Receiving both below ERROR/WARNING log messages.
How can I get a new token? Have been trying to remove and install integration, but didn't help.
Logger: pyelectroluxconnect.Session
Source: /usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py:687
First occurred: 09:25:46 (1 occurrences)
Last logged: 09:25:46
Token probably expired, trying to get new one.
Logger: pyelectroluxconnect.Session
Source: /usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py:642
First occurred: 14:52:22 (4 occurrences)
Last logged: 14:53:55
Request error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Logger: homeassistant.setup
Source: setup.py:210
First occurred: 00:26:21 (1 occurrences)
Last logged: 00:26:21
Setup failed for custom integration electrolux_status: Unable to import component: cannot import name 'RequestError' from 'pyelectroluxconnect.Session' (/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py)
Hi,
as others already mentioned latest version is not a good one, should be removed.
After update to the last version 2.6.3 login doesn't work.
I have change the Electrolux password, and don't working.
I've added integration, after adding credentials I get this
2022-03-04 22:55:34 WARNING (MainThread) [homeassistant.config_entries] Config entry 'e*****@gmail.com' for electrolux_status integration not ready yet; Retrying in background
Home Assistant version 2022.3.0
nothing happens, I've tried reinstalling it.
Seems like there is issue with IDs?
Hello,
Thank you for this great integration! I'm using it for the Oven ELECTROLUX EOE8P19WX for few months already but it stopped working after upgrading to the latest firmware. After downgrading to v1.15.1 everything is back to normal again.
Sheers
Hi Mauro, I have updated to the latest version and I am having issues.
The integration stopped working and tried to reload it a few times and had the same issue.
I updated the HACS integration, I uninstalled the integration and reinstalled.
Set up asks for username and password. I enter the same as my Electrolux Care app (That works) and it comes back with the wrong username/password.
Any ideas?
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for electrolux_status using this method at custom_components/electrolux_status/init.py, line 62: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
Hi,
i'm trying to get the addon to work, but after login i just get this error.
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.electrolux_status
Source: custom_components/electrolux_status/__init__.py:94
Integration: Electrolux Care Integration (documentation, issues)
First occurred: 16:28:14 (1 occurrences)
Last logged: 16:28:14
'transl'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 613, in _parseApplianceStateItem
]["valTransl"] = profileItem[1]["steps"][stepKey]["transl"]
KeyError: 'transl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 638, in _parseApplianceStateContainer
self._parseApplianceStateItem(
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 622, in _parseApplianceStateItem
raise Error(err)
pyelectroluxconnect.Session.Error: 'transl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 572, in _parseApplianceState
result[_hexHacl]["container"] = self._parseApplianceStateContainer(
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 653, in _parseApplianceStateContainer
raise Error(err)
pyelectroluxconnect.Session.Error: 'transl'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/electrolux_status/__init__.py", line 94, in _async_update_data
appliance_state = await self.hass.async_add_executor_job(self.api.getApplianceState, appliance)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 967, in getApplianceState
return self._parseApplianceState(
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 581, in _parseApplianceState
raise Error(err)
pyelectroluxconnect.Session.Error: 'transl'
2023-02-02 09:36:02.377 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for electrolux_status using this method at custom_components/electrolux_status/init.py, line 62: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
Dryer: Is it possible to change Time to End in hrs:min instead of minutes?
Example: Time to End: 140 min --> Time to End: 1:20 hr/min
Thanks!
Using integration for AEG 9000 serie 3D Fiber Pro (T9DEN87CC)
Is there a way to make this air purifiers 'AEG AX91-604GY' available in home assistant?
I added the plugin with HACS but the device does not show up. The device does work with the Electrolux and the AEG android app.
Thanks in advance if someone can fix this!
I started getting this error. I have re tried a few times now, but still get this error, is anyone else?
I had it working since before the update for HA Core.
Also if you want to add this fridge
Fridge
EHE6799SA
Logger: homeassistant.config_entries
Source: config_entries.py:366
First occurred: 09:40:02 (1 occurrences)
Last logged: 09:40:02
Config entry '[email protected]' for electrolux_status integration not ready yet; Retrying in background
Hi,
I've installed and renamed my appliance in Electrolux Life (APAC). Logging in worked, but logs show the following:
2022-10-19 21:26:06.394 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for electrolux_status integration not ready yet; Retrying in background
The readme said to set an alias but I dont see this anywhere in the config or in the Electrolux life app?
My washer/drier is EWW1042R7WB
Many thanks in advance
Barry
Hi,
Great to finally have an AEG Kitchen (Electrolux) integration. Installation went smooth (although a install via HACS button would make it even more easy) and my Dishwasher was immediately found (FSK73778P).
Status is given correctly (and updated fast) but I can't send commands. (Pause, resume, start stop are exposed). When I try to send a command I get:
Failed to call service/button press. Unable to set HACL 0x0403: Parameter is read only(based on profile file).
Last update v1.17
model: EW9H297DY
Diagnostics ok
Switchs ok
Sensors don't work :(
Don't know if it is a bug.
I own:
AEG 9000 series Washing Machine model L9FEC962Y
AEG 9000 series Dryer model T9DEC957D
I've two sensors:
wm1_eluxtimemanagerlevel (washing machine - Lavatrice Risparmio Tempo)
td1_humiditytarget (dryer - Asciugatrice Livello Asciugatura)
That seems to be always in 'Unknown' state.
Is there a list of sensors related to the appliances modes to verify if this is expected?
Hi i'm trying to connect to an AEG kitchen account but it seems it does not work. I live in The Netherlands and tried all regions within HA but none will work. I end up with the following message in the logs:
Unable to get session token: No Consumer with this email: [email protected]
Traceback (most recent call last):
File "/config/custom_components/electrolux_status/config_flow.py", line 84, in _test_credentials
await self.hass.async_add_executor_job(client.login)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 797, in login
self._createToken()
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 155, in _createToken
raise Error(f'Unable to get session token: {loginResp["message"]}')
pyelectroluxconnect.Session.Error: Unable to get session token: No Consumer with this email: [email protected]
I verified the account details but they are fine. I even logged out my app and relogged in with the account to verify and it works fine in the app. Do you have a any idea what could be the problem here?
Logger: custom_components.electrolux_status
Source: custom_components/electrolux_status/api.py:271
Integration: Electrolux Care Integration (documentation, issues)
First occurred: 9:07:06 am (65 occurrences)
Last logged: 10:32:29 am
'list' object has no attribute 'items'
Traceback (most recent call last):
File "/config/custom_components/electrolux_status/init.py", line 99, in _async_update_data
app.setup(ElectroluxLibraryEntity(appliance_name, connection_state, appliance_state, appliance_profile))
File "/config/custom_components/electrolux_status/api.py", line 271, in setup
for key, command in data.commands_list(src).items():
AttributeError: 'list' object has no attribute 'items'
Comes down to an issue (which i have raised) in the pyelectroluxconnect libray.
My device does not return a nickname. This is what my device returns:
{'appliance_type': '914900813_00', 'appliance_id': '02024136-443E07061EDA', 'pnc': '914900813', 'elc': '00', 'sn': '02024136', 'mac': '443E07061EDA', 'cpv': '00', 'group': 'FabricCare', 'brand': 'Electrolux', 'model': 'EWF1041'}
Here is the home assistant log error:
2022-06-14 14:41:05 ERROR (MainThread) [custom_components.electrolux_status.config_flow] 'nickname'
Traceback (most recent call last):
File "/config/custom_components/electrolux_status/config_flow.py", line 84, in _test_credentials
await self.hass.async_add_executor_job(client.login)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/pyelectroluxconnect/Session.py", line 674, in login
self._getAppliancesList()
File "/usr/local/lib/python3.9/site-packages/pyelectroluxconnect/Session.py", line 185, in _getAppliancesList
"alias": device["nickname"],
KeyError: 'nickname'
Some of the states are logged in a wrong format, and are as such not available in the History. It is, as of right now:
In history they appear as a graph with expected values between 0 and 1, but they are recorded as Text Strings in the database.
(Furthermore Signal Strength should, by the way, perhaps be recorded as actual dB value, instead of the current Strings)
Other than that: Love this integration 👍
If I add a new devices show the error:
Errore
Impossibile caricare il flusso di configurazione: {"message":"Invalid handler specified"}
According to the output from the python library used, it should be possible (for some devices?) to get "Remote Control" status, with possible values:
"0":"Remote Control Disabled" }, { "1":"Remote Control Enabled" }, { "2":"Remote Control Temporary Locked" }, { "3":"Remote Control Enabled for No Safety Relevant Operations" }
It could be beneficial to get this as a sensor, to determine if it is possible to press start/stop
Hi there,
I have hte EHE6799SA fridge. All sensors that the integration offer are working great. However it would be great to have input functionality that is available through the app, such as:
Electrolux Washing Machine EW7F3921RL - Top out of the box
thx
entity sensor.electrolux_fridge_wifi_signal_strength (<class 'custom_components.electrolux_status.sensor.ElectroluxStatusSensor'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('signal_strength') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Apparently these issues are related to where the data is coming from. I have numerous other HACS integrations where this is happening.
Hi! I'm having problem with the credentials I'm using - Is it the same credentials as the Electrolux Care-app?
BPE535E70M - 6000 Series SurroundCook® seems to work well.
Thanks! Please let me know if there is anything I can do to help improving support.
HACS validation failed. Whatever that means.
Hi, thank you for this project !
For me, it works intermittently, but will randomly fail with the following errors:
Logger: pyelectroluxconnect.Session
Source: /usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py:800
First occurred: 12:40:31 PM (3 occurrences)
Last logged: 1:00:41 PM
API request error: HTTPSConnectionPool(host='api.apac.ecp.electrolux.com', port=443): Max retries exceeded with url: /user-appliance-reg/users/rohone%40gmail.com/appliances (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff50e3e3f40>: Failed to establish a new connection: [Errno -3] Try again'))
API request error: HTTPSConnectionPool(host='api.apac.ecp.electrolux.com', port=443): Max retries exceeded with url: /elux-ms/appliances/latest?pnc=xxx&elc=01&sn=xxx&states=ConnectivityState&includeSubcomponents=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff50f994b80>: Failed to establish a new connection: [Errno -3] Try again'))
API request error: HTTPSConnectionPool(host='api.apac.ecp.electrolux.com', port=443): Max retries exceeded with url: /elux-ms/appliances/latest?pnc=xxx&elc=01&sn=xxx&states=ConnectivityState&includeSubcomponents=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff519605600>: Failed to establish a new connection: [Errno -3] Try again'))
and
This error originated from a custom integration.
Logger: custom_components.electrolux_status
Source: custom_components/electrolux_status/__init__.py:93
Integration: Electrolux Care Integration (documentation, issues)
First occurred: 12:40:36 PM (2 occurrences)
Last logged: 1:00:41 PM
HTTPSConnectionPool(host='api.apac.ecp.electrolux.com', port=443): Max retries exceeded with url: /elux-ms/appliances/latest?pnc=xxx&elc=01&sn=xxx&states=ConnectivityState&includeSubcomponents=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff50f994b80>: Failed to establish a new connection: [Errno -3] Try again'))
HTTPSConnectionPool(host='api.apac.ecp.electrolux.com', port=443): Max retries exceeded with url: /elux-ms/appliances/latest?pnc=xxx&elc=01&sn=xxx&states=ConnectivityState&includeSubcomponents=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff519605600>: Failed to establish a new connection: [Errno -3] Try again'))
Traceback (most recent call last):
File "/config/custom_components/electrolux_status/__init__.py", line 93, in _async_update_data
connection_state = await self.hass.async_add_executor_job(self.api.getApplianceConnectionState, appliance)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 935, in getApplianceConnectionState
_json = self._requestApi(
File "/usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py", line 801, in _requestApi
raise Exception(err) from None
Exception: HTTPSConnectionPool(host='api.apac.ecp.electrolux.com', port=443): Max retries exceeded with url: /elux-ms/appliances/latest?pnc=xxx&elc=01&sn=xxx&states=ConnectivityState&includeSubcomponents=false (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff50f994b80>: Failed to establish a new connection: [Errno -3] Try again'))
Reloading the integration and restarting HA will get it to work again for a period, before the same errors come up
The Electrolux Life app works fine during the time that the integration doesn't work
Is there anything else I can do to help troubleshoot ?
Hi, I would really like to use this addon without the internet. Am I right that https://pypi.org/project/pyelectroluxconnect/ supports that with Alljoyn?
Since a couple of days I get the following error. I don't see progress and connection seems to get lost every minute.
Logger: pyelectroluxconnect.Session
Source: /usr/local/lib/python3.10/site-packages/pyelectroluxconnect/Session.py:199
First occurred: 19:47:38 (1 occurrences)
Last logged: 19:47:38
Invalid response, status code: ECP0105 - Data: Session key not found
I have 2 devices integrated which worked perfectly before:
I'm on the latest HA release (2022.12.7)
I'm writing here just to confirm that the dishwasher AEG FSE74718P 7000 Series Maxiflex is perfectly supported since the first version of this integration.
Just a few details to make it simply perfect... I miss three sensors:
Thanks for this great work!
Thank You so much for this integration, works perfectly.
Tested with "eob 9s31wx" oven :)
This is already a great integration, but would be even better if I can remotely start my washing machine and dryer via an automation (e.g. with condition that my PV system generates enough power).
To be able to remote start the washing machine via the AEG app first some preconditions need to be met:
My (working) appliances:
Sensor sensor.aeg_lavatrice_niu_linkqualityindicator has device class signal_strength, state class None and unit None thus indicating it has a numeric value; however, it has the non-numeric value: 3/5 (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Hi,
I have a fridge (923421285) and a freezer (922717218) that has 2 entities (sensor temperature & ambient temperature) that only shows 0.0 °C but in reality and in the official app it states 5º for the fridge and -18° for the freezer.
Is this a feature that can be implemented?
Many thanks for a great integration, i have 5 Electrolux appliances and it makes my life so much easier.
Kind regards,
Henrik
I'm seeing a bunch of these logs:
2022-10-21 14:59:28.935 INFO (SyncWorker_5) [pyelectroluxconnect.Session] No model name in profile file, try to find in other sites
2022-10-21 14:59:28.935 INFO (SyncWorker_5) [pyelectroluxconnect.Session] Trying to get model 916098764_00 info from https://www.electrolux-ui.com/ website
Is a request made on each log entry?
If so - that's quite a lot of lookups. Is there any way to cache the results or fill out this "profile"?
Hi,
This happens on HA start:
is an expected behaviour?
Logger: homeassistant
Source: data_entry_flow.py:330
First occurred: 10:26:55 (1 occurrences)
Last logged: 10:26:55
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 798, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 826, in _async_init
result = await self._async_handle_step(flow, flow.init_step, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 330, in _async_handle_step
raise UnknownStep(
homeassistant.data_entry_flow.UnknownStep: Handler ElectroluxStatusFlowHandler doesn't support step reauth
This custom integration uses deprecated DEVICE_CLASS_*
constants in its codebase.
The DEVICE_CLASS_*
constants have been deprecated and replaced in Home Assistant Core 2021.12 (over a year ago). I would highly suggest updating/migrating this integration to the new enums.
For example, for the device classes supported by the sensor
platform, there is now a SensorDeviceClass
enum. So if a sensor previously used the DEVICE_CLASS_ENERGY
constant, it should now use SensorDeviceClass.ENERGY
. Other platforms (like binary_sensor
, and number
) provide similar enumerations for their supported device classes.
The migration thus only consists of replacing constants with an enumeration member and is, therefore, very low impact and should be fairly straightforward.
If I can help resolve any questions regarding this change or migration, feel free to ask or respond to this issue. I'm happy to help!
Kindest regards,
../Frenck
Ciao @mauro-midolo
May I ask to please update to use version 0.1.5 of pyelectroluxconnect which supports region selection? I'm keen to test the integration for my region APAC, and will report back.
Thanks!
Hi,
I was wondering, is there a way to control the AEG device? We have got a oven and we can control it via the App of AEG. So far I can't find a Service in HASS is that correct? I can turn on the Oven with the button, but can't set the temperature to 200 for example.
Thanks!
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.