Skip to content

ftui-solar-flow overwrite properties and soc wrong handling #64

@a123dat57

Description

@a123dat57

in my reading BatterieWR:BatteryCapacity for soc i have value 100. The flow only shows an value, if it's not equal to 100. if i for example add 1. If not then soc is shown as 0.

How can i overwrite the properties from the component? For example maxInverterPower is way to small for me.
Attached my code, based on the sample

`

<script src="ftui.js"></script> <title>FTUI3 - Solar Example</title>
<ftui-grid base-width="100" base-height="100" margin="1" shape="round">
  <ftui-grid-tile row="1" col="1" height="6" width="4">

    <ftui-label [text]="StromRechnerSolarIn:Zendure_Hub2000_SolarEnergy_EnergyDay|fix(1)" unit="KWh"
      size="3"></ftui-label>
    <ftui-solar-flow 
                     [solar-power]="Stromverbrauch_Zaehler11:P_act-get | multiply(1000)"
                     [soc]="BatterieWR:BatteryCapacity | add(1)"
                     [inverter-power]="BatterieWR:ActivePower | multiply(1000)" maxInverterPower="6000"
                     [home-power]="Stromverbrauch_Zaehler10:P_act-get | multiply(1000)"
                     [grid-power]="Stromverbrauch_Zaehler1_EHZ:aktuellerverbrauch-get | multiply(-1000)"  maxGridPower="5000"
                     [battery-current]="BatterieWR:BatteryCurrent"
                    ></ftui-solar-flow>
  <ftui-label [text]="StromRechnerIn:SmartMeter_GS303_Total_in_EnergyDay| fix(1)" unit="&nbsp;KWh"
  size="3"></ftui-label>
  </ftui-grid-tile>
</ftui-grid>

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions