Show and save the set values of PWM limits into flash store instead of machine value #127
Loading…
Reference in New Issue
No description provided.
Delete Branch "atse/thermostat:pwm_store_user_value"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Show the user set values of PWM limits. Avoids getting the machine values of PWM limits, usually with many decimal places, into the flash store and the
pwm
JSON object.To get access to the set (user) values, the PwmSummary is also changed to
only include user values and excludes machine values. Maximums are documented in the README instead, along with the full clamping range.include them instead of maximumsA show
pwm
command JSON object for a channel now looks like the following:I don't think it is meaningful to read back the configured settings in machine unit. Just return the user configured value?
Sure. Then the returned JSON object could be even more simplified, and
struct PwmSummaryField {value: T, set_value: T}
could be removed then.45129be836
toa8465a7e63
a8465a7e63
to0fe2d645e2
0fe2d645e2
to798b400aa5
Rebased and simplified the PWM limits. The
pwm
command now returns something like:Save the set values of PWM limits into flash store instead of machine valueto Show and save the set values of PWM limits into flash store instead of machine value