SKB-CGN / ioBroker.energiefluss-erweitert

This ioBroker adapter is the next Version of the energiefluss with the attribute 'erweitert' and allows to display an energyflow animation inside an iframe or HTML DIV.
MIT License
37 stars 2 forks source link

wrong calculation of two values (W and kW) #258

Open x-Rainer-x opened 1 week ago

x-Rainer-x commented 1 week ago

Describe the bug
The result of the calculation of two values (value1=1000W - value2=1kW) is 1001W

To Reproduce
Steps to reproduce the behavior:

  1. create in iobroker datapoint (example 0_userdata.0.W1) with the value 1000 with unit W
  2. create in iobroker datapoint (example 0_userdata.0.W2) with the value 1 with unit kW
  3. in the energiefluss adapter add a datapoint example 0_userdata.0.W1 and summerize on extension tab the 2nd value W2
  4. the result is 1001W but it should be 2000W

Versions:

SKB-CGN commented 1 week ago

Did you define the correct factor of the datasources, as the adapter does not look into the state!

SKB-CGN commented 6 days ago

Hello, please close the issue if solved otherwise let me know, if the issue persists.