Commit Graph

9 Commits

Author SHA1 Message Date
atse e2bb6f4cfa Remove unused as clause 2024-03-27 11:56:23 +08:00
Egor Savkin 6e91373af4 Add paramtree view, without updates
Signed-off-by: Egor Savkin <es@m-labs.hk>

Fix signal blocker argument -atse
2024-03-27 11:56:23 +08:00
atse 8c9d0ffc94 Fix bugs, grammar, text, and refactor into class 2024-03-27 11:56:12 +08:00
atse ecf89f45bf 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-03-27 11:43:43 +08:00
atse 940e83dd17 Remove unused 'as' clause 2024-03-27 11:43:41 +08:00
atse 6c08a7fb07 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-03-27 10:01:29 +08:00
Egor Savkin 549dacd2c6 Try move from Qthreads to qasync
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-03-18 11:02:47 +08:00
Egor Savkin 8ba2969bbc Create client watcher, that would poll Thermostat for config
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-03-18 11:02:47 +08:00
Egor Savkin f1a0a19bcc Create basic GUI, that would connect and control thermostat's fan
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-03-18 11:02:38 +08:00