Unofficial client for the WiseHouse building-management API. Not affiliated with, endorsed by, or supported by WiseHouse / Neware.
Project description
wisehouse-client
Unofficial. Not affiliated with, endorsed by, or supported by WiseHouse / Neware.
Python client for the WiseHouse building-management API: doors, facility bookings, and info pages. Built for a separate Home Assistant integration, but works standalone too.
Install
uv add wisehouse-client
# or: pip install wisehouse-client
The .env/load_credentials convenience needs the optional dotenv extra:
uv add "wisehouse-client[dotenv]"
Usage
from wisehouse_client import WisehouseClient, Credentials
client = WisehouseClient(Credentials(username="...", password="...", brf="your-brf"))
client.login()
for door in client.list_available_doors():
print(door.door_id, door.name)
The API base is per-association: https://<brf>.wisehouse.se/.
Async
AsyncWisehouseClient mirrors the sync API with await and accepts an optional
httpx.AsyncClient (e.g. Home Assistant's shared client). A client it creates
itself is closed on aclose() / async with; an injected one is left open.
from wisehouse_client import AsyncWisehouseClient, Credentials
async with AsyncWisehouseClient(creds) as client:
await client.login()
doors = await client.list_available_doors()
The client transparently re-logs in and retries once when the session token
expires. The side-effecting methods (open_door, make_booking,
remove_booking, infopage_vote) act on the real building system, so call
them deliberately.
Development
uv sync
uv run pytest
Tests run offline via httpx.MockTransport and recorded fixtures.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wisehouse_client-0.1.0.tar.gz.
File metadata
- Download URL: wisehouse_client-0.1.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c4992bc797595c8c7986ebdfbad30263d743441a61acaa0c46b59f2a156d79b
|
|
| MD5 |
f88e2e8d90e5671e7b32aff3f8c5b7ef
|
|
| BLAKE2b-256 |
524c6e57aaa7557abc15a9dc5be164276838fb24ece89629333318506c99e732
|
Provenance
The following attestation bundles were made for wisehouse_client-0.1.0.tar.gz:
Publisher:
release.yml on hbogaeus/wisehouse-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wisehouse_client-0.1.0.tar.gz -
Subject digest:
2c4992bc797595c8c7986ebdfbad30263d743441a61acaa0c46b59f2a156d79b - Sigstore transparency entry: 2145958041
- Sigstore integration time:
-
Permalink:
hbogaeus/wisehouse-client@93e01f9b7107606042ca891ebb9268797b58758f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hbogaeus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93e01f9b7107606042ca891ebb9268797b58758f -
Trigger Event:
push
-
Statement type:
File details
Details for the file wisehouse_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wisehouse_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e03d2735ca5aa91460d6eaa755021b19674e2f2eabc5804993e672ab59ca6091
|
|
| MD5 |
c8e445aab07c7fa5887bcbe4eaff63f0
|
|
| BLAKE2b-256 |
acda6c79215a483acb3853ac01bb37a9a2c70e49367e09ab42585af73095d456
|
Provenance
The following attestation bundles were made for wisehouse_client-0.1.0-py3-none-any.whl:
Publisher:
release.yml on hbogaeus/wisehouse-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wisehouse_client-0.1.0-py3-none-any.whl -
Subject digest:
e03d2735ca5aa91460d6eaa755021b19674e2f2eabc5804993e672ab59ca6091 - Sigstore transparency entry: 2145958047
- Sigstore integration time:
-
Permalink:
hbogaeus/wisehouse-client@93e01f9b7107606042ca891ebb9268797b58758f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/hbogaeus
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@93e01f9b7107606042ca891ebb9268797b58758f -
Trigger Event:
push
-
Statement type: