pyresideo-firstalert
Async Python client for the Resideo First Alert smart smoke/CO detector API.
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
auth = ResideoAuth(session)
tokens = await auth.authenticate("email@example.com", "password")
refresh_token = tokens["refresh_token"]
Real-time Events
Subscribe to real-time device events via SignalR:
from resideo_firstalert_api import SignalRClient
client = SignalRClient(session, get_access_token=..., on_event=...)
await client.start(device_ids=["device1", "device2"])
Release files for pyresideo-firstalert 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyresideo_firstalert-1.0.0.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyresideo_firstalert-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.0 kB
Release files / pyresideo_firstalert-1.0.0.tar.gz
| Download URL | pyresideo_firstalert-1.0.0.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61c9190925f6ebf36a9afbfc4ae865e14ffa339fac871c6704e0cfec119b8ae6
|
|
BLAKE2b-256 checksum How to use checksums |
6f478981a9966d98620c01ff7bd601dfe164e43e485bf95c97e11adbbd92c184
|
| 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 9, 2026.
Transparency logRelease files / pyresideo_firstalert-1.0.0-py3-none-any.whl
| Download URL | pyresideo_firstalert-1.0.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9b37d4f888875f8b49d9ead31900f252cbdb25a8c714577066084ecbfa3d9a1
|
|
BLAKE2b-256 checksum How to use checksums |
83b13c0ba54eb8c7769b5f4fa4bab259bf686adf064a9b8ee8a0ac7673d1cfa5
|
| 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 9, 2026.
Transparency log