mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
10_WS980: change conversion ration of w/m2 to 0.0079
git-svn-id: https://svn.fhem.de/fhem/trunk@22571 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d9420dbb8f
commit
ddb300e68c
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 10_WS980: change conversion ration of w/m2 to 0.0079
|
||||||
.- bugfix: 98_DOIFtools: improve popup position (Forum #113404)
|
.- bugfix: 98_DOIFtools: improve popup position (Forum #113404)
|
||||||
- bugfix: 48_BlinkCamera: videoDelete on new API and first TFA pin verify
|
- bugfix: 48_BlinkCamera: videoDelete on new API and first TFA pin verify
|
||||||
- bugfix: 73_AutoShuttersControl: fix shading in drive then shutter is closed
|
- bugfix: 73_AutoShuttersControl: fix shading in drive then shutter is closed
|
||||||
|
@ -33,7 +33,7 @@ use warnings;
|
|||||||
use IO::Socket::INET;
|
use IO::Socket::INET;
|
||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
|
|
||||||
my $version = "1.1.1";
|
my $version = "1.2.0";
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------------
|
||||||
# global constants
|
# global constants
|
||||||
@ -138,7 +138,7 @@ use constant UNIT_CONVERSIONS => {
|
|||||||
"fnc" => {
|
"fnc" => {
|
||||||
"lux" => sub { my ($c) = @_; return $c },
|
"lux" => sub { my ($c) = @_; return $c },
|
||||||
"fc" => sub { my ($c) = @_; return $c * 0.09290304000008},
|
"fc" => sub { my ($c) = @_; return $c * 0.09290304000008},
|
||||||
"w/m^2" => sub { my ($c) = @_; return $c * 0.001464128843338},
|
"w/m^2" => sub { my ($c) = @_; return $c * 0.0079}, # 0.001464128843338 @ 555nm
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user