Commit Graph

6 Commits

Author SHA1 Message Date
atse e5a8f8b1f8 Stop polling drift
Just waiting for the update_s doesn't take into account the time to
execute update_params, and causes time drift.
2024-10-21 18:26:30 +08:00
atse ed2f5a690f Remove unused 'as' clause 2024-10-21 18:26:30 +08:00
atse b39e7dc015 Finish moving over to qasync
Also:

* Add aioclient

The old client is synchronous and blocking, and the only way to achieve
true asynchronous IO is to create a new client that interfaces with
asyncio.

* Finish Nix Flake description and make the GUI available for `nix run`
2024-10-21 18:26:28 +08:00
Egor Savkin d8ec1b4ea3 Try move from Qthreads to qasync
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-10-21 17:53:19 +08:00
Egor Savkin 2e1e55651d Create client watcher, that would poll Thermostat for config
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-10-21 17:50:04 +08:00
Egor Savkin 32b1c76520 Create basic GUI, that would connect and control thermostat's fan
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-10-21 17:50:04 +08:00