Skip to main content

pyresideo-firstalert

PyPI Tests License: MIT

[!WARNING] This project is no longer actively maintained. It backed the ha-resideo-firstalert Home Assistant integration, which I can no longer support after replacing my own First Alert smart alarms with non-smart ones and running into ongoing instability in Resideo's cloud API. The repo stays open for community PRs, reviewed on a best-effort basis.

Async Python client for the Resideo First Alert smart smoke/CO detector API.

Extracted from the ha-resideo-firstalert Home Assistant integration so the API layer can be used independently.

Installation

pip install pyresideo-firstalert

Usage

import aiohttp
from resideo_firstalert_api import ResideoApiClient

async with aiohttp.ClientSession() as session:
    client = ResideoApiClient(session, refresh_token="your-token")
    states = await client.get_all_device_states()
    for device_id, state in states.items():
        print(f"{state.name}: smoke={state.smoke_state}, co={state.co_state}")

Authentication

To obtain a refresh token, use the ResideoAuth class:

from resideo_firstalert_api import ResideoAuth

async with aiohttp.ClientSession() as session:
    auth = ResideoAuth(session)
    tokens = await auth.authenticate("email@example.com", "password")
    refresh_token = tokens["refresh_token"]

Real-time Events

Subscribe to real-time device state changes via SignalR:

from resideo_firstalert_api import SignalRClient

client = SignalRClient(session, get_access_token=..., on_event=...)
await client.start(device_ids=["device1", "device2"])

API Reference

The full API is documented in an OpenAPI 3.1.0 spec covering all endpoints, schemas, and alarm state enums.

License

MIT

Release files for pyresideo-firstalert 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 pyresideo-firstalert 1.0.1
File Size Uploaded
pyresideo_firstalert-1.0.1.tar.gz 28.0 kB Details

Built distribution (wheel)

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

Total release size: 42.4 kB

Release files / pyresideo_firstalert-1.0.1.tar.gz

Download URL pyresideo_firstalert-1.0.1.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dbf7e3ad8766a4d807c78c666c504b2e527c2bfe566037c0f7b3e2b579af875a
BLAKE2b-256 checksum
How to use checksums
ab8b1de4ea85873e2245287fc33b35925d568e12c046c40fac44e496c49a086b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

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

Download URL pyresideo_firstalert-1.0.1-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c6eb16eda5398e56232c4750a7b870b039ed3d4484358c4f8af4cbf15a10456
BLAKE2b-256 checksum
How to use checksums
92161acbdb7d5fc724582fd03ed0a1ee54e3f31a61069b6e3bb752e8fab311bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.0

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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