diff --git a/fhem/FHEM/42_SYSMON.pm b/fhem/FHEM/42_SYSMON.pm index 5c42fed8e..6d26d37ad 100644 --- a/fhem/FHEM/42_SYSMON.pm +++ b/fhem/FHEM/42_SYSMON.pm @@ -2003,14 +2003,13 @@ sub SYSMON_PowerBatInfo($$) my $d_capacity = trim(SYSMON_execute($hash, $base."capacity")); my $d_status = trim(SYSMON_execute($hash, $base."status")); my $d_health = trim(SYSMON_execute($hash, $base."health")); - my $d_temp = trim(SYSMON_execute($hash, $base."temp")); - if(defined $d_temp) {$d_temp/=10;} + my $d_energy_full_design = trim(SYSMON_execute($hash, $base."energy_full_design")); - $map->{"power_".$type."_info"}=$type." info: ".$d_technology." , capacity: ".$d_capacity." %, status: ".$d_status." , health: ".$d_health." , temperatur: ".$d_temp." C"; + $map->{"power_".$type."_info"}=$type." info: ".$d_technology." , capacity: ".$d_capacity." %, status: ".$d_status." , health: ".$d_health." , total capacity: ".$d_energy_full_design." mAh"; # ggf. noch irgendwann: model_name, voltage_max_design, voltage_min_design } else { - $map->{"power_".$type."_info"}=$type." info: n/a , capacity: n/a %, status: n/a , health: n/a , temperatur: n/a C"; + $map->{"power_".$type."_info"}=$type." info: n/a , capacity: n/a %, status: n/a , health: n/a , total capacity: n/a mAh"; } return $map; @@ -2245,9 +2244,9 @@ If one (or more) of the multiplier is set to zero, the corresponding readings is
  • power_battery_info
    - human readable additional information to the battery (if installed): technology, capacity, status, health, temperatur
    + human readable additional information to the battery (if installed): technology, capacity, status, health, total capacity
    Example:
    - power_battery_info: battery info: Li-Ion , capacity: 100 %, status: Full , health: Good , temperatur: 30 C
    + power_battery_info: battery info: Li-Ion , capacity: 100 %, status: Full , health: Good , total capacity: 2100 mAh


  • @@ -2752,9 +2751,9 @@ If one (or more) of the multiplier is set to zero, the corresponding readings is
  • power_battery_info
    - Menschenlesbare Zusatzinformationen für die Batterie (wenn vorhanden): Technologie, Kapazität, Status, Zustand, Temperatur
    + Menschenlesbare Zusatzinformationen für die Batterie (wenn vorhanden): Technologie, Kapazität, Status, Zustand, Gesamtkapazität
    Beispiel:
    - power_battery_info: battery info: Li-Ion , capacity: 100 %, status: Full , health: Good , temperatur: 30 C
    + power_battery_info: battery info: Li-Ion , capacity: 100 %, status: Full , health: Good , total capacity: 2100 mAh