Skip to content

Conversation

@MLobsien
Copy link

No description provided.

EinsPommes and others added 30 commits December 17, 2025 10:13
The app now detects when a machine disconnects and redirects you
to the setup page. Before, it would just stay on the machine page
even though the machine was gone.

Fixed both backend (USB detection) and frontend (auto-navigation).
Added error handling for parseInt and pathMatch array access.
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
- data is now displayed per device instead of per measurement type
…ed-configuration-page' of https://github.com/qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
Add support for reading fan speeds and setting target RPM values
for both front and back fans in the Aquapath V1 machine.
- extend 'emit_state' to integrate FanState
- implement fan rpm setter function for AquaPathV1 struct
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
- Both fans should be adjustable individually
- Therefor the second slider for the other fan
MLobsien and others added 14 commits December 19, 2025 16:58
- use Badge instead of Status Badge
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
- fine tuning is still necessary
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
- resolves an issue in the UI where the setting wouldnt update
…ed-configuration-page' of github.com:qitechgmbh/control into 983-refactor-improve-aquapath-ui-layout-and-add-fan-speed-configuration-page
@15i1i-s7v 15i1i-s7v requested a review from Bra7wurs7 December 19, 2025 19:58
@TheBest6337 TheBest6337 marked this pull request as draft December 20, 2025 15:03
@MLobsien MLobsien marked this pull request as ready for review December 20, 2025 16:52
@MLobsien
Copy link
Author

The Power Consumption of the heating Relais should probably be sent via StateEvent instead of LiveValuesEvent. There has been an incident where the UI froze on the real machine. Too many state refreshes might have been the issue, though this is not confirmed right now.

@Oshgnacknak
Copy link
Collaborator

Codewise looks fine. I shall look into the UI issues once I have hardware on my hands.

@Oshgnacknak Oshgnacknak self-assigned this Dec 23, 2025
Copy link
Contributor

@tsymalla tsymalla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just a viewer, so feel free to ignore my comments.

Total: {back_total_energy.current?.value} kWh
</Badge>
)}
{backCurrentTemperature > backCoolingBoundary &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might have an easier life if you'd just introduce helpers returning a boolean for code like that instead of repeatedly writing similar conditions all over the place.

title="Set Target Temperature"
min={0}
value={backTargetTemperature}
max={80}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity: does your backend receive and clamp those values to avoid tampering?

} else if !on && self.temperature.heating {
self.turn_heating_off();
}
self.turn_heating_on();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity: how does that work? That means, does turn_heating_on trigger the heating to turn on and then it takes some time for the actual hardware to heat, but immediately returns, or does it actually wait until the heating is turned on and then the total power is increased?

}
self.turn_heating_on();

self.total_energy += self.get_current_power() * elapsed.as_secs_f64() / 3600.0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might have an easier life making this a commonly available helper.

let max_revolutions = self.get_max_revolutions();
let temp_offset = self.current_temperature - self.target_temperature;

let target_revolutions = (temp_offset.get::<kelvin>() * 10.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making 10.0 a named constant can improve readability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: Improve AquaPath UI Layout and Add Fan Speed Configuration Page