mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +00:00
98_powerMap: fix HUE templates
git-svn-id: https://svn.fhem.de/fhem/trunk@13212 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e657340bbd
commit
b96d35efbe
@ -217,10 +217,13 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
100 => 8.5,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
100 => 8.5,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -236,10 +239,13 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
100 => 10,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
100 => 10,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -249,10 +255,13 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
100 => 8.5,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
100 => 10,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -298,10 +307,13 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
100 => 12,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
100 => 12,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -311,10 +323,13 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
100 => 20.5,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
100 => 20.5,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -324,19 +339,22 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
10 => 1.2,
|
||||
20 => 1.7,
|
||||
30 => 1.9,
|
||||
40 => 2.3,
|
||||
50 => 2.7,
|
||||
60 => 3.4,
|
||||
70 => 4.7,
|
||||
80 => 5.9,
|
||||
90 => 7.5,
|
||||
100 => 9.2,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
10 => 1.2,
|
||||
20 => 1.7,
|
||||
30 => 1.9,
|
||||
40 => 2.3,
|
||||
50 => 2.7,
|
||||
60 => 3.4,
|
||||
70 => 4.7,
|
||||
80 => 5.9,
|
||||
90 => 7.5,
|
||||
100 => 9.2,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -346,19 +364,22 @@ my %powerMap_tmpl = (
|
||||
rname_E => 'energy',
|
||||
rname_P => 'consumption',
|
||||
map => {
|
||||
pct => {
|
||||
0 => 0.4,
|
||||
10 => 1.2,
|
||||
20 => 1.7,
|
||||
30 => 1.9,
|
||||
40 => 2.3,
|
||||
50 => 2.7,
|
||||
60 => 3.4,
|
||||
70 => 4.7,
|
||||
80 => 5.9,
|
||||
90 => 7.5,
|
||||
100 => 9.2,
|
||||
},
|
||||
state => {
|
||||
unreachable => 0,
|
||||
0 => 0.4,
|
||||
10 => 1.2,
|
||||
20 => 1.7,
|
||||
30 => 1.9,
|
||||
40 => 2.3,
|
||||
50 => 2.7,
|
||||
60 => 3.4,
|
||||
70 => 4.7,
|
||||
80 => 5.9,
|
||||
90 => 7.5,
|
||||
100 => 9.2,
|
||||
'*' => 'pct',
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -1707,8 +1728,7 @@ sub powerMap_update($;$) {
|
||||
Example for HUE white light bulb:
|
||||
<ul>
|
||||
<code><pre>
|
||||
'state' => {
|
||||
'unreachable' => 0,
|
||||
'pct' => {
|
||||
'0' => 0.4,
|
||||
'10' => 1.2,
|
||||
'20' => 1.7,
|
||||
@ -1721,6 +1741,10 @@ sub powerMap_update($;$) {
|
||||
'90' => 7.5,
|
||||
'100' => 9.2,
|
||||
},
|
||||
'state' => {
|
||||
'unreachable' => 0,
|
||||
'*' => 'pct',
|
||||
},
|
||||
</pre></code><br>
|
||||
</ul>
|
||||
</li>
|
||||
@ -1880,8 +1904,7 @@ sub powerMap_update($;$) {
|
||||
Beispiel für eine HUE white Glühlampe:
|
||||
<ul>
|
||||
<code><pre>
|
||||
'state' => {
|
||||
'unreachable' => 0,
|
||||
'pct' => {
|
||||
'0' => 0.4,
|
||||
'10' => 1.2,
|
||||
'20' => 1.7,
|
||||
@ -1894,6 +1917,10 @@ sub powerMap_update($;$) {
|
||||
'90' => 7.5,
|
||||
'100' => 9.2,
|
||||
},
|
||||
'state' => {
|
||||
'unreachable' => 0,
|
||||
'*' => 'pct',
|
||||
},
|
||||
</pre></code><br>
|
||||
</ul>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user