mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
73_AutoShuttersControl: change timelimit for restart initial frequence
git-svn-id: https://svn.fhem.de/fhem/trunk@20180 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bb4dc7593a
commit
5eee0028cc
@ -1,5 +1,7 @@
|
||||
# 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.
|
||||
- change: 73_AutoShuttersControl: change timelimit for restart initial
|
||||
frequence
|
||||
- change: 49_Arlo: support new Arlo API, video download fix
|
||||
- change: 93_DbRep: release unnecessary allocated memory, fix warnings
|
||||
- feature: 59_Weather: check newLocation value
|
||||
|
@ -2569,7 +2569,7 @@ sub RenewSunRiseSetShuttersTimer($) {
|
||||
#### Gleichlautende Attribute wo lediglich die Parameter geändert werden sollen müssen bereits in der Funktion ShuttersDeviceScan gelöscht werden
|
||||
#### vorher empfiehlt es sich die dort vergebenen Parameter aus zu lesen um sie dann hier wieder neu zu setzen. Dazu wird das shutters Objekt um einen Eintrag
|
||||
#### 'AttrUpdateChanges' erweitert
|
||||
if ( ( int( gettimeofday() ) - $::fhem_started ) < 20
|
||||
if ( ( int( gettimeofday() ) - $::fhem_started ) < 30
|
||||
and
|
||||
ReadingsVal( $_, '.ASC_AttrUpdateChanges_' . $hash->{VERSION}, 0 )
|
||||
== 0 )
|
||||
@ -4357,7 +4357,9 @@ sub getBrightnessAverage {
|
||||
return &FHEM::AutoShuttersControl::_averageBrightness(
|
||||
@{ $self->{ $self->{shuttersDev} }->{BrightnessAverageArray}->{VAL} } )
|
||||
if (
|
||||
scalar(
|
||||
ref( $self->{ $self->{shuttersDev} }->{BrightnessAverageArray}->{VAL} )
|
||||
eq 'ARRAY'
|
||||
and scalar(
|
||||
@{
|
||||
$self->{ $self->{shuttersDev} }->{BrightnessAverageArray}->{VAL}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user