mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
Added Power Infos to the Text-Output-Method
git-svn-id: https://svn.fhem.de/fhem/trunk@6372 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
15a5797606
commit
f0476e174d
@ -1769,7 +1769,8 @@ sub SYSMON_ShowValuesFmt ($$;@)
|
||||
CPU_TEMP.":".$cur_readings_map->{+CPU_TEMP}.": ".$deg."C",
|
||||
CPU_FREQ.":".$cur_readings_map->{+CPU_FREQ}.": "."MHz",
|
||||
CPU_BOGOMIPS,
|
||||
UPTIME_TEXT, FHEMUPTIME_TEXT, LOADAVG, RAM, SWAP);
|
||||
UPTIME_TEXT, FHEMUPTIME_TEXT, LOADAVG, RAM, SWAP,
|
||||
"power_ac_text", "power_usb_text", "power_battery_text");
|
||||
|
||||
# network-interfaces
|
||||
my $networks = AttrVal($name, "network-interfaces", undef);
|
||||
@ -1789,8 +1790,8 @@ sub SYSMON_ShowValuesFmt ($$;@)
|
||||
my($fName, $fDef, $fComment) = split(/:/, $_);
|
||||
push(@dataDescription, $fName);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# User defined
|
||||
my $userdefined = AttrVal($name, "user-defined", undef);
|
||||
if(defined $userdefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user