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

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.2
File Size Uploaded Provenance Actions
frigidaire-1.0.2.tar.gz 40.7 kB Without provenance Details for frigidaire-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 65.4 kB

Release files / frigidaire-1.0.2.tar.gz

Download URL frigidaire-1.0.2.tar.gz
Size 40.7 kB
Tags Source
SHA-256 checksum
How to use checksums
200665593b557d441add23ed06941317f5fd11c6f0b9f72f5485111814423696
BLAKE2b-256 checksum
How to use checksums
84b72b564153cfee7766c55eb938127125f37382de09e59141937b64c7e6017b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL frigidaire-1.0.2-py3-none-any.whl
Size 24.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ceb350ab7ff3ab8aa91f4d783c811c90c3ac1292129d81c2cb46df1db21629a6
BLAKE2b-256 checksum
How to use checksums
82720f35f607b928787160b92244efc141648fdf6c33815e706c473294f0741d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for frigidaire 1.0.2

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