Skip to main content

Frigidaire Python API

A Python client for the Frigidaire 2.0 (Electrolux) cloud API, reverse-engineered from the mobile app. It drives Frigidaire Wi-Fi air conditioners and dehumidifiers, and is the library behind the Home Assistant Frigidaire integration.

Quickstart

from frigidaire import Frigidaire, JsonFileSessionStore, Mode

client = Frigidaire("email", "password", session_store=JsonFileSessionStore("session.json"))

for appliance in client.get_appliances():
    print(appliance, appliance.state, appliance.mode, appliance.ambient_temperature, appliance.temperature_unit)

ac = client.get_appliances()[0]
client.set_mode(ac, Mode.COOL)
client.set_temperature(ac, 72)

get_appliances() returns a fresh Appliance snapshot per appliance on every call. The typed accessors (state, mode, mode_state, target_temperature, humidity, bucket_full, filter_needs_attention, is_connected, wifi_rssi, ...) parse the reported properties and return None when the model does not report the value. appliance.get("someKey") reads anything they do not cover.

The set_* commands encode the protocol's ordering quirks (power-on before mode, re-sending the setpoint after a cold start, entering Dry mode before setting a humidity target), so callers only express intent.

On heat-capable air conditioners, use client.set_mode(ac, Mode.HEAT). Both mode and mode_state recognize HEAT regardless of firmware casing. Availability depends on the appliance; recognizing the wire value does not imply that every air conditioner supports heating.

Sessions and the active-session cap

Electrolux caps the number of active sessions per account (cas_3403). Pass a session_store so a still-valid session survives restarts instead of lingering server-side. SessionCapError is raised when the cap is hit; back off and retry on the same session. AuthenticationError means the credentials were rejected and retrying will not help.

See docs/RATE_LIMITING_AND_TIMEOUTS.md for write throttling and timeouts.

Testing downstream code

frigidaire.testing.FakeFrigidaire is a Frigidaire with the HTTP layer replaced: it serves canned appliance records and records every command it would have sent. Sample records for a legacy window AC, a newer portable AC and a dehumidifier ship alongside it.

Metadata

Release files for frigidaire 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frigidaire 1.0.1
File Size Uploaded Provenance Actions
frigidaire-1.0.1.tar.gz 41.0 kB Without provenance Details for frigidaire-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for frigidaire 1.0.1
File Interpreter ABI Platform Actions
frigidaire-1.0.1-py3-none-any.whl Python 3 none any Details for frigidaire-1.0.1-py3-none-any.whl

Total release size: 89.3 kB

Release files / frigidaire-1.0.1.tar.gz

Download URL frigidaire-1.0.1.tar.gz
Size 41.0 kB
Tags Source
SHA-256 checksum
How to use checksums
81cdabae8669c72a27d2ff89d9436a47501af5c3005cab879a705410adf49cd8
BLAKE2b-256 checksum
How to use checksums
5d7378c392b60abe26b660f129039e972b0b8197e797de5557846543e2d4a16e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / frigidaire-1.0.1-py3-none-any.whl

Download URL frigidaire-1.0.1-py3-none-any.whl
Size 48.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b76940d6ef2752dc18eac04f862f123b931a148de4f157b23fb25dbcf248b6b
BLAKE2b-256 checksum
How to use checksums
254ae25ba8004bec3f94ceede7a1cc479dea112d3a614bb7fe089756aaef1167
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for frigidaire 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page