Commit Graph

23 Commits

Author SHA1 Message Date
Markus Zehnder 7ac543e644 feat: sensor identifier mapping
Closes #18
2025-09-17 21:23:11 +02:00
Markus Zehnder 078dc267d0 build: release 0.2.0 2025-08-31 21:32:15 +02:00
Markus Zehnder 54f34def2c refactor: rename sysinfo tool to aster-sysinfo (#16)
The sysinfo name was too generic and misleading. This tool provides
sensor values from the system for `asterctl` and is not a generic system
information tool.
2025-08-31 20:58:43 +02:00
Markus Zehnder cfe178893f ci: fix build trigger for refactored crates 2025-08-31 17:57:28 +02:00
Markus Zehnder 1ba9ccfd61 fix: make sensor file world-readable, create parent directories 2025-08-31 14:51:29 +02:00
Markus Zehnder 21bf19ce31 fix: fan sensor angle handling (#14)
Angles > 360° need to be normalized.

Fixes #12
2025-08-30 17:23:55 +02:00
Markus Zehnder 016942631f fix: text sensor placement (#13)
Fixes #11
2025-08-30 15:50:12 +02:00
Markus Zehnder 3414589bd5 feat: use mdBook for documentation (#10) 2025-08-28 23:22:04 +02:00
Markus Zehnder d98cd89c48 refactor: project structure (#9)
Split up project into multiple crates and use a Cargo workspace.
2025-08-28 09:03:30 +02:00
Markus Zehnder f0128197d9 refactor: log panel name when switching panels or in case of error 2025-08-24 22:46:04 +02:00
Markus Zehnder 0953a4bad5 refactor: pointer sensor image resizing
Cache resized pointer image instead of resizing it every time when the
sensor is rendered.
Change sensor.width and .height fields to u32.
2025-08-24 22:22:00 +02:00
Markus Zehnder 84455e9254 refactor: sensor configuration fields
Automatically round decimal values for sensor.x and .y to an integer.
Make fields optional which are not used in every sensor.
2025-08-24 21:18:56 +02:00
Markus Zehnder 98941a00fe feat: Initial support for fan-, progress-, & pointer-sensors (#8)
* feat: support progress, fan, pointer sensor types

Initial implementation, not yet fully working.

* only use one rendering layer per sensor type instead one per sensor

Each layer uses > 1 MB and a panel can contain easily over 20 sensors!

* support custom panels with --panels cli argument

This includes one or more additional custom panels into the base
configuration. Multiple --panels arguments are supported

* update docs
2025-08-24 17:12:59 +02:00
Markus Zehnder e85d616da7 feat: simple sensor panels with file-based data source (#7)
* add simulation mode for easier development

* improved sensor file watcher, poc cpu & mem usage

Trigger file read by rename event

* feat: system information sensor tool

Gather various sensor values with the sysinfo crate:
https://github.com/GuillaumeGomez/sysinfo
Values can be written to a sensor source file with the `--out` cmd line
option for the `asterctl` tool.

* ci: build sysinfo tool and include in build artifact

* feat: support integerDigits, decimalDigits sensor value format options

* docs: update documentation

Closes #6
2025-08-22 13:41:31 +02:00
Markus Zehnder 3f174251d6 build: initial 0.1.0 release 2025-08-02 21:48:49 +02:00
Markus Zehnder d03fc886a2 build: cargo update
Updating crates.io index
     Locking 6 packages to latest Rust 1.88 compatible versions
    Updating cc v1.2.30 -> v1.2.31
    Updating clap v4.5.41 -> v4.5.42
    Updating clap_builder v4.5.41 -> v4.5.42
    Updating owned_ttf_parser v0.25.0 -> v0.25.1
    Updating serde_json v1.0.141 -> v1.0.142
    Updating zune-jpeg v0.4.19 -> v0.4.20
2025-08-02 18:55:17 +02:00
Markus Zehnder 5f79d7a3b6 docs: add systemd unit service to switch off LCD on boot (#4) 2025-08-02 18:51:01 +02:00
Markus Zehnder 8275bcd79a docs: add LCD protocol documentation (#3) 2025-07-27 22:00:01 +02:00
Markus Zehnder fa134da7b2 fix: set clippy permissions in GH action 2025-07-26 00:15:14 +02:00
Markus Zehnder e40657ab58 fix: GitHub release permissions (#2) 2025-07-26 00:11:40 +02:00
Markus Zehnder b759b70acc ci: add GitHub lint & build actions (#1)
- Run cargo clippy and fmt to check source code
- Build release build and upload artifact
- Create a development build with `latest` tag for pushes on main
- Create a release build for version tags
2025-07-25 23:41:26 +02:00
Markus Zehnder fa8707ccb1 update README 2025-07-25 18:02:37 +02:00
Markus Zehnder 1756e1f919 initial commit 2025-07-25 17:31:37 +02:00