aiocontrome 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aiocontrome-0.1.0/.gitignore +15 -0
- aiocontrome-0.1.0/CHANGELOG.md +38 -0
- aiocontrome-0.1.0/LICENSE +674 -0
- aiocontrome-0.1.0/PKG-INFO +98 -0
- aiocontrome-0.1.0/README.md +76 -0
- aiocontrome-0.1.0/pyproject.toml +49 -0
- aiocontrome-0.1.0/src/aiocontrome/__init__.py +86 -0
- aiocontrome-0.1.0/src/aiocontrome/client.py +386 -0
- aiocontrome-0.1.0/src/aiocontrome/errors.py +56 -0
- aiocontrome-0.1.0/src/aiocontrome/models.py +365 -0
- aiocontrome-0.1.0/src/aiocontrome/outputs.py +42 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/__init__.py +21 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/_common.py +137 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/fps.py +96 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/info.py +29 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/outs.py +43 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/passthrough.py +28 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/rltemps.py +29 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/room_details.py +135 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/temps.py +92 -0
- aiocontrome-0.1.0/src/aiocontrome/parsers/upcoming_offsets.py +57 -0
- aiocontrome-0.1.0/src/aiocontrome/py.typed +0 -0
- aiocontrome-0.1.0/src/aiocontrome/redact.py +82 -0
- aiocontrome-0.1.0/src/aiocontrome/sensors.py +106 -0
- aiocontrome-0.1.0/tests/conftest.py +208 -0
- aiocontrome-0.1.0/tests/fixtures/README.md +78 -0
- aiocontrome-0.1.0/tests/fixtures/apiv1_disabled.json +6 -0
- aiocontrome-0.1.0/tests/fixtures/fps.json +585 -0
- aiocontrome-0.1.0/tests/fixtures/info.json +11 -0
- aiocontrome-0.1.0/tests/fixtures/outs_pro_a.json +101 -0
- aiocontrome-0.1.0/tests/fixtures/outs_pro_b.json +101 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_1.json +18 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_14.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_15.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_16.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_17.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_18.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_19.json +18 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_20.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/rltemps_23.json +10 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_api_offset_active.json +1881 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_morning.json +1870 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_morning_skip_loops.json +1870 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_own_schedule.json +1801 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_own_schedule_skip_loops.json +1801 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_temporary_mode.json +1878 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_window_0_closed_pv_boost.json +1878 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_window_1_open_10min.json +1878 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_window_2_open_20min.json +1878 -0
- aiocontrome-0.1.0/tests/fixtures/room_details_window_3_closed_again.json +1878 -0
- aiocontrome-0.1.0/tests/fixtures/roomoffsets_after_house.json +1 -0
- aiocontrome-0.1.0/tests/fixtures/roomoffsets_api.json +1 -0
- aiocontrome-0.1.0/tests/fixtures/roomoffsets_empty.json +1 -0
- aiocontrome-0.1.0/tests/fixtures/synthetic_404_debug.html +37 -0
- aiocontrome-0.1.0/tests/fixtures/synthetic_outs_relay.json +23 -0
- aiocontrome-0.1.0/tests/fixtures/synthetic_roomoffsets_active.json +1 -0
- aiocontrome-0.1.0/tests/fixtures/temps.json +1119 -0
- aiocontrome-0.1.0/tests/fixtures/temps_temporary_mode.json +1123 -0
- aiocontrome-0.1.0/tests/fixtures/upcomingoffsets.json +219 -0
- aiocontrome-0.1.0/tests/fixtures/vtr_empty.json +1 -0
- aiocontrome-0.1.0/tests/fixtures/wetter_pro_empty.json +1 -0
- aiocontrome-0.1.0/tests/fixtures/write/houseoffset_ok.txt +9 -0
- aiocontrome-0.1.0/tests/fixtures/write/roomoffset_ok.txt +9 -0
- aiocontrome-0.1.0/tests/fixtures/write/soll_403.txt +9 -0
- aiocontrome-0.1.0/tests/fixtures/write/soll_ok.txt +9 -0
- aiocontrome-0.1.0/tests/fixtures/write/ziel_ok.txt +10 -0
- aiocontrome-0.1.0/tests/test_client.py +402 -0
- aiocontrome-0.1.0/tests/test_client_set.py +302 -0
- aiocontrome-0.1.0/tests/test_errors.py +44 -0
- aiocontrome-0.1.0/tests/test_models.py +120 -0
- aiocontrome-0.1.0/tests/test_outputs.py +92 -0
- aiocontrome-0.1.0/tests/test_package.py +20 -0
- aiocontrome-0.1.0/tests/test_parser_common.py +126 -0
- aiocontrome-0.1.0/tests/test_parser_fps.py +87 -0
- aiocontrome-0.1.0/tests/test_parser_info.py +37 -0
- aiocontrome-0.1.0/tests/test_parser_outs.py +69 -0
- aiocontrome-0.1.0/tests/test_parser_passthrough.py +38 -0
- aiocontrome-0.1.0/tests/test_parser_rltemps.py +44 -0
- aiocontrome-0.1.0/tests/test_parser_room_details.py +308 -0
- aiocontrome-0.1.0/tests/test_parser_temps.py +173 -0
- aiocontrome-0.1.0/tests/test_parser_upcoming_offsets.py +50 -0
- aiocontrome-0.1.0/tests/test_redact.py +139 -0
- aiocontrome-0.1.0/tests/test_sensors.py +136 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
|
6
|
+
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.0] - 2026-11-17
|
|
11
|
+
|
|
12
|
+
First public release. Tested against fixtures recorded from a Controme Smart-Heat NOVA 27
|
|
13
|
+
system; the write endpoints `set_setpoint`, `set_target`, `set_room_offset` and
|
|
14
|
+
`set_house_offset` (with 0) were verified in a live test.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `ContromeClient` for the local JSON API (`get/json/v1`), with the session passed in, a
|
|
19
|
+
required `timezone` and automatic detection of the house ID.
|
|
20
|
+
- Read methods returning immutable, typed models: `get_info`, `get_house` (`temps/`),
|
|
21
|
+
`get_outputs` (`outs/`), `get_return_sensors` (`rltemps/`), `get_room_details` (Basic Auth),
|
|
22
|
+
`get_upcoming_offsets` and `get_fps`.
|
|
23
|
+
- Write methods (`set/json/v1`): `set_setpoint`, `set_target`, `set_scene`,
|
|
24
|
+
`set_default_duration`, `set_operating_mode`, `set_room_offset` and `set_house_offset`.
|
|
25
|
+
Credentials are never logged or included in errors.
|
|
26
|
+
- Output type per floor (relay or 0-10 V position) with automatic detection, plus
|
|
27
|
+
`Output.percent` and `Output.open_fraction`.
|
|
28
|
+
- Sensor connection type derived from the sensor ID (1-Wire, radio, virtual),
|
|
29
|
+
`LastSeenTracker` and `is_stale` for transmission monitoring.
|
|
30
|
+
- Window-open detection (`RoomDetails.window_open`) and per-source offsets, including the API
|
|
31
|
+
offset in `offsets["api"]`.
|
|
32
|
+
- `get_raw` for unparsed responses, `get_vtr` and `get_weather_pro` as read-only pass-through,
|
|
33
|
+
and `redact` to remove sensor IDs, MAC and IP addresses from data before sharing it.
|
|
34
|
+
- Error hierarchy based on `ContromeError` (`ContromeConnectionError`, `ContromeAuthError`,
|
|
35
|
+
`ContromeNotFoundError`, `ContromeResponseError`, `ContromeApiDisabledError`).
|
|
36
|
+
|
|
37
|
+
[Unreleased]: https://github.com/astrometeo84/aiocontrome/compare/v0.1.0...HEAD
|
|
38
|
+
[0.1.0]: https://github.com/astrometeo84/aiocontrome/releases/tag/v0.1.0
|