Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Productize this library #1

Open
mauro-midolo opened this issue Jan 24, 2024 · 16 comments
Open

Productize this library #1

mauro-midolo opened this issue Jan 24, 2024 · 16 comments

Comments

@mauro-midolo
Copy link

Ciao @Woyken,

I noticed that you've written this library, but you haven't completed the steps to make it usable.

Could you please:

  • Make the library available on PIP
  • Provide examples on how to use it?

Thank you!

@Palmdale95
Copy link

This would be very useful to have a working electrolux integration for HA again. There was put so much effort and good work into it already. And I think I am not the only supporter on this topic. ;-)

@Woyken
Copy link
Owner

Woyken commented Jan 24, 2024

Hey,
I know, I just need to do few final tests to make sure everything is working as expected.
I wanted to do some convenient parsing of the state data before publishing, but I didn't have enough time last few weeks.
Basic version will have to suffice for the time being.

I'll try to find some time publish it this week

My washing machine is waiting for the integration fix too 😅

@Palmdale95
Copy link

Hey, good to hear. Appreciate that you are already working on it. Nothing more to say and no bothering anymore. 👍🏻

@paolo-rendano
Copy link

Hope this can be done soon, our appliances are waiting and hoping to get back connected

@kovacsla
Copy link

@Woyken , @mauro-midolo , Thank You for your effort, I'm waiting for the solution with patience.

@daniel-toth-leeder
Copy link

daniel-toth-leeder commented Jan 24, 2024

@Woyken @mauro-midolo should you guys have any information on how we could help, I'd be happy to contribute either in this lib, or the HA integration that'll use this in the future :)
Not just in testing, maybe in coding as well. :)

@wgumaa
Copy link

wgumaa commented Jan 24, 2024

Likewise, I have an electrolux washing machine am ready to help with any testing required. Even have a nice HA Card that I made for it.

image

@dave-prosee
Copy link

One more, endorsing this request

@lakatba
Copy link

lakatba commented Jan 24, 2024

One more please

@stefanraduionescu
Copy link

Thank you for your effort!

@SmilinStanSStanman
Copy link

Thank you for your effort @Woyken & @mauro-midolo

@Sroll5
Copy link

Sroll5 commented Jan 26, 2024

Thank you so much guys for effort and time spending on the revision of this integration!

@Woyken
Copy link
Owner

Woyken commented Jan 26, 2024

To anyone waiting just to try something out, I just pushed first version to PIP.
You can start using it
pip install pyelectroluxocp

Still experimenting a bit with how I want this API to look like. API will likely change.
Here be dragons

@Woyken
Copy link
Owner

Woyken commented Jan 26, 2024

@giovesoft Websockets
Keeping websocket connection for as long as possible.

Polling only once in a while if websocket drops connection.

Unless I haven't found some electrolux's cloud APIs, Websocket only support partial state updates. In order to get full state we still have to make at least one get appliance state request.


Idea is to query current state via HTTP reqeust.
Connect Websocket, monitor incoming state updates.
...
If Websocket drops connection, retry connection and query current state after it connects again.
This way we should always have latest full state

@Palmdale95
Copy link

I saw that the repository for the electrolux integration is no more available, and I am wondering now if this is because it is under construction (which would be understandable) or if the developer gave up the integration. Anybody any news?

@kovacsla
Copy link

kovacsla commented Feb 6, 2024

Hi,
The new integration:
https://github.com/albaintor/homeassistant_electrolux_status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests