Woyken / py-electrolux-ocp

Electrolux OCP api using electrolux OneApp (pyelectroluxocp) https://api.ocp.electrolux.one
https://pypi.org/project/pyelectroluxocp/
MIT License
26 stars 2 forks source link

Productize this library #1

Open mauro-midolo opened 7 months ago

mauro-midolo commented 7 months ago

Ciao @Woyken,

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

Could you please:

Thank you!

Palmdale95 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

paolo-rendano commented 7 months ago

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

kovacsla commented 7 months ago

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

daniel-toth-leeder commented 7 months ago

@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 commented 7 months ago

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 commented 7 months ago

One more, endorsing this request

lakatba commented 7 months ago

One more please

stefanraduionescu commented 7 months ago

Thank you for your effort!

SmilinStanSStanman commented 7 months ago

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

Sroll5 commented 7 months ago

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

Woyken commented 7 months ago

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 commented 7 months ago

@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 commented 7 months ago

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 commented 7 months ago

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