Skip to content

streamline hot water temp and flow are wrong #316

@diablodale

Description

@diablodale

Streamline skin shows wrong temp and wrong flow during hot water dispensing. Probably related to the tcl code below. It looks like the code is errantly displaying the same data for both dispensing hot water and flushing (aka rinse).

set flush_btns ""
lappend flush_btns \
[list -text "Temp" -font "Inter-Bold18" -foreground $::dataline_label_color ] \
[list -text " " -font "Inter-Bold18"] \
[list -text {[lindex [return_temperature_measurement_no_unit [watertemp] 1 1] 0]} -font "mono12" -foreground $::dataline_data_color ] \
[list -text {[lindex [return_temperature_measurement_no_unit [watertemp] 1 1] 1]} -font "mono8" -foreground $::dataline_data_color ] \
[list -text " " -font "Inter-SemiBold18"] \
[list -text "Flow" -font "Inter-Bold18" -foreground $::dataline_label_color ] \
[list -text " " -font "Inter-Bold18"] \
[list -text {[round_to_integer $::settings(flush_flow)]} -font "mono12" -foreground $::dataline_data_color ] \
[list -text {[translate ml/s]} -font "mono8" -foreground $::dataline_data_color ]
add_de1_rich_text "hotwaterrinse water" 690 330 left 1 2 65 $::background_color $flush_btns
add_de1_rich_text "hotwaterrinse_zoomed water_zoomed" 50 330 left 1 2 65 $::background_color $flush_btns

Setup

  • de1pro 1.45
  • de1app 1.45.0.4

Repo

  1. App, calibrate, set hot water flow rate=10.0, set flush flow rate=6.0
  2. Click OK and return to main streamline "page".
  3. At left, tap hot water, tap temp, set to 75c
  4. tap GHC to dispense hot water
  5. Watch the flow and temp displayed on the hot water page

Result

Hot water temp is incorrect 92c.
Hot water flow is incorrect 6ml/s.
They seem to be showing values (and the tcl code supports this) related to flush temp+flow.

image
image
image

Expected

Hot water temp = 75c
Hot water flow = 10 ml/s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions