mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
50_HP1000: add 98_powerMap.pm support
git-svn-id: https://svn.fhem.de/fhem/trunk@13016 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
88a66a9a80
commit
ed689c0f92
@ -82,6 +82,7 @@ sub HP1000_Initialize($) {
|
||||
"wu_push:1,0 wu_id wu_password wu_realtime:1,0 extSrvPush_Url stateReadingsLang:en,de,at,ch,nl,fr,pl stateReadings stateReadingsFormat:0,1 "
|
||||
. $readingFnAttributes;
|
||||
|
||||
# Unit.pm support
|
||||
$hash->{readingsDesc} = {
|
||||
'Activity' => { rtype => 'oknok', },
|
||||
'UV' => { rtype => 'uvi', },
|
||||
@ -153,6 +154,19 @@ sub HP1000_Initialize($) {
|
||||
'wind_speed_mps_avg2m' => { rtype => 'mps', formula_symbol => 'W', },
|
||||
'wu_state' => { rtype => 'oknok', },
|
||||
};
|
||||
|
||||
# 98_powerMap.pm support
|
||||
$hash->{powerMap} = {
|
||||
map => {
|
||||
Activity => {
|
||||
'dead' => 0,
|
||||
'alive' => 5,
|
||||
},
|
||||
state => {
|
||||
'*' => 5,
|
||||
},
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
###################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user