Skip to content

Commit fa0d317

Browse files
committed
WIP
1 parent d167a12 commit fa0d317

32 files changed

Lines changed: 698 additions & 750 deletions

.github/workflows/main.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Main
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
name: check
15+
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, windows-latest]
19+
20+
runs-on: ${{ matrix.os }}
21+
22+
steps:
23+
- name: checkout
24+
uses: actions/checkout@v4
25+
26+
- uses: actions/cache@v4
27+
with:
28+
path: |
29+
~/.cargo/bin/
30+
~/.cargo/registry/index/
31+
~/.cargo/registry/cache/
32+
~/.cargo/git/db/
33+
target/
34+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35+
36+
- name: rust environment
37+
run: rustc --version && cargo --version
38+
39+
- name: cargo clippy
40+
run: cargo clippy --all-targets --all-features -- --deny "warnings"
41+
42+
- name: cargo fmt
43+
run: cargo fmt --all --check
44+
45+
- name: cargo test
46+
run: cargo test
47+
48+
- name: cargo doc
49+
run: cargo doc --no-deps
50+
env:
51+
RUSTDOCFLAGS: '-D warnings'
52+
53+
- name: cargo build
54+
run: cargo build --release

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Lumeo, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# HighFlowNext
2+
3+
HighFlowNext is a Rust library for communicating with the [Aquacomputer high flow NEXT](https://shop.aquacomputer.de/Monitoring-and-Controlling/Sensors/Flow-sensor-high-flow-NEXT-G1-4::3953.html) device. It provides strongly typed access to the device’s binary protocol, allowing you to interact with sensor values, settings, and configuration in a safe and structured way. The primary goal of this project is to enable clean integration of the high flow NEXT into [OpenRGB](https://openrgb.org/), so that device data and lighting controls can be accessed and managed alongside other RGB hardware.
4+
5+
## Features
6+
7+
- Reading the settings frame (**done**)
8+
- Writing the settings frame (**planned**)
9+
- Reading / Writing the strings frame (**planned**)
10+
- Reading sensor values
11+
- Writing ambient color data (**planned**)
12+
- Writing sound data (**planned**)
13+
14+
## Use Cases
15+
16+
HighFlowNext is intended as a building block for an OpenRGB integration. By decoding the device’s settings and sensor values, it becomes straightforward to surface flow rate, temperatures, and conductivity within the OpenRGB UI or its plugins.
17+
18+
Planned write-paths for ambient color and sound data aim to let OpenRGB drive RGBpx lighting effects on the high flow NEXT directly, coordinating lighting with the rest of a system’s devices.
19+
20+
Beyond OpenRGB, the crate can also support monitoring, logging, and automation workflows where you want to read configuration, calibrations, and live telemetry and then act on it in your own services or dashboards.
21+
22+
## License
23+
24+
This crate is licensed under the MIT License.
File renamed without changes.

0 commit comments

Comments
 (0)