This project has been archived by its maintainers, and is no longer receiving any updates.
py-electrolux-ocp
New details on API
Looks like electrolux finally opened their api, will be rewriting this wrapper to reference their api directly (remove reverse engineered api) https://developer.electrolux.one/documentation/reference
What is this
Python package wrapper around Electrolux OneApp (OCP) api
Early version, this package APIs might change
Prerequisites
pip install pyelectroluxocp
Usage examples
Example to connect via websockets and listen for appliance state changes
import asyncio
import json
from pyelectroluxocp import OneAppApi
async def main():
async with OneAppApi("__username__", "__password__", "fr") as client:
appliances = await client.get_appliances_list()
print("appliances found: ", json.dumps([x.get("applianceData").get("applianceName")+" "+x.get("applianceId") for x in appliances]))
def state_update_callback(a):
print("appliance state updated", json.dumps((a)))
await client.watch_for_appliance_state_updates([appliances[0].get("applianceId")], state_update_callback)
asyncio.run(main())
TODOs
- Better error messages on known scenarios (login failed)
Metadata
Release files for pyelectroluxocp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyelectroluxocp-0.1.3.tar.gz | 15.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyelectroluxocp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.8 kB
Release files / pyelectroluxocp-0.1.3.tar.gz
| Download URL | pyelectroluxocp-0.1.3.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cebf2f306814d51aaaa47ac0792bac27ac79c12d7017bf522c1ebcc1ced40209
|
|
BLAKE2b-256 checksum How to use checksums |
bcd4a950cad66ac5d819ac6a07b3fa689dd400a0abc690d1303850579a71f9f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency logRelease files / pyelectroluxocp-0.1.3-py3-none-any.whl
| Download URL | pyelectroluxocp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6a850a0cded9a5a3b281442446aa970db5d839c43d4d3096ea5387f400b0e12
|
|
BLAKE2b-256 checksum How to use checksums |
26b85a7c87369f0b6a7f6899478938cfa04733c621be765e39533c7fc64415d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency logSecurity for pyelectroluxocp 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyelectroluxocp-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.