2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

50_HP1000: assign FHEM Builtin Reading Types

git-svn-id: https://svn.fhem.de/fhem/trunk@12573 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-11-14 05:13:04 +00:00
parent 12b5f0c83f
commit 34a5f5adbc

View File

@ -70,10 +70,10 @@ sub HP1000_Initialize($) {
$hash->{parseParams} = 1;
$hash->{AttrList} =
"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,2 "
"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;
$hash->{readingsFormat} = {
$hash->{readingsTypes} = {
'activity' => {
ref => 'oknok',
scope => [ 'dead', 'alive' ],
@ -83,17 +83,21 @@ sub HP1000_Initialize($) {
$hash->{readingsDesc} = {
'Activity' => { rtype => 'activity', },
'UV' => { rtype => 'uvi', },
'UVcondition' => { rtype => 'condition_uvi', },
'UVR' => { rtype => 'uwpscm', },
'daylight' => { rtype => 'bool', },
'dewpoint' => { rtype => 'c', },
'dewpoint_f' => { rtype => 'f', },
'humidity' => { rtype => 'pct', formula_symbol => 'H' },
'humidityAbs' => { rtype => 'c', },
'humidityAbs_f' => { rtype => 'f', },
'humidityCondition' => { rtype => 'condition_hum', },
'indoorDewpoint' => { rtype => 'c', },
'indoorDewpoint_f' => { rtype => 'f', },
'indoorHumidity' => { rtype => 'pct', },
'indoorHumidityAbs' => { rtype => 'c', },
'indoorHumidityAbs_f' => { rtype => 'f', },
'indoorHumidityCondition' => { rtype => 'condition_hum', },
'indoorTemperature' => { rtype => 'c', },
'indoorTemperature_f' => { rtype => 'f', },
'israining' => { rtype => 'bool', },