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.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frigidaire-1.0.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frigidaire-1.0.0-py3-none-any.whl (47.6 kB view details)

Uploaded Python 3

File details

Details for the file frigidaire-1.0.0.tar.gz.

File metadata

  • Download URL: frigidaire-1.0.0.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for frigidaire-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7cbd295ba44ec504a18dd5473bdf06b9829943bd609050e4bfe944aff75cd7ff
MD5 67940fa8ee7f2dccd0222b9a7f2c74c1
BLAKE2b-256 1ca3862fd0533dad849b7508bc1236a8a347a94590818f1c066c6988efb2addf

See more details on using hashes here.

File details

Details for the file frigidaire-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: frigidaire-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 47.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for frigidaire-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1948293d0092dcd16f3bfbfc2e5ad09e61fffce38e3aafe26a4327bb1e75c26
MD5 d6bbbcfb9fe9cab539c081ee765a0973
BLAKE2b-256 03bec7f2ec323976b6192aa45e5741c11b8f3506d1c1b8062e77a80ebed4bf8d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.18.54

2 files

0.18.53

2 files

0.18.52

2 files

0.18.51

2 files

0.18.50

2 files

0.18.49

2 files

0.18.48

2 files

0.18.47

2 files

0.18.46

2 files

0.18.45

2 files

0.18.44

2 files

0.18.43

2 files

0.18.42

2 files

0.18.41

2 files

0.18.40

2 files

0.18.39

2 files

0.18.38

2 files

0.18.37

2 files

0.18.36

2 files

0.18.35

2 files

0.18.34

2 files

0.18.33

2 files

0.18.32

2 files

0.18.31

2 files

0.18.30

2 files

0.18.29

2 files

0.18.28

2 files

0.18.27

2 files

0.18.26

2 files

0.18.25

2 files

0.18.24

2 files

0.18.23

2 files

0.18.22

2 files

0.18.21

2 files

0.18.20

2 files

0.18.19

2 files

0.18.18

2 files

0.18.17

2 files

0.18.16

2 files

0.18.15

2 files

0.18.14

2 files

0.18.13

2 files

0.18.12

2 files

0.18.11

2 files

0.18.10

2 files

0.18.5

2 files

0.18.4

2 files

0.18.3

2 files

0.18.2

2 files

0.17.1

2 files

0.17

2 files

0.16

2 files

0.15

2 files

0.14

2 files

0.13

2 files

0.12

2 files

0.11

2 files

0.10

2 files

0.8

2 files

0.7

2 files

0.6

2 files

0.4

2 files

0.3

2 files

0.2

1 file

0.1

1 file

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