|
From: <ma...@us...> - 2011-10-26 19:13:54
|
Revision: 477
http://openautomation.svn.sourceforge.net/openautomation/?rev=477&view=rev
Author: mayerch
Date: 2011-10-26 19:13:48 +0000 (Wed, 26 Oct 2011)
Log Message:
-----------
Version 0.6:
* Bug fix for setups where the WireGate didn't know the ActuatorGA
* Force sending of actuator after x seconds/minutes so that the watchdog in the actuator doesn't time out
Modified Paths:
--------------
wiregate/plugin/generic/Multi-RTR.pl
Modified: wiregate/plugin/generic/Multi-RTR.pl
===================================================================
--- wiregate/plugin/generic/Multi-RTR.pl 2011-10-26 18:28:41 UTC (rev 476)
+++ wiregate/plugin/generic/Multi-RTR.pl 2011-10-26 19:13:48 UTC (rev 477)
@@ -45,6 +45,7 @@
'SetPointInit' => 21.0,
'SetPointLFlag' => 1, # true
'ActuatorLFlag' => 1, # true
+ 'MinUpdateRate' => 5 * 60, # 5 minutes
);
my $GlobalDisableGA = '14/5/50';
@@ -211,9 +212,11 @@
#$plugin_info{ $prefix . '_Actuator' } = round( $plugin_info{ $prefix . '_Actuator' } );
# If a GA is defined, send the new actuator value
- if( defined $this_controller{ 'ActuatorGA' } and ($old ne $plugin_info{ $prefix . '_Actuator' }) )
+ if( defined $this_controller{ 'ActuatorGA' } and (
+ ($old ne $plugin_info{ $prefix . '_Actuator' }) or (time() - $plugin_info{ $prefix . '_lastSent' } > $this_controller{'MinUpdateRate'} )) )
{
knx_write( $this_controller{ 'ActuatorGA' }, $plugin_info{ $prefix . '_Actuator' }, $this_controller{ 'ActuatorDPT' } );
+ $plugin_info{ $prefix . '_lastSent' } = time();
}
if( defined $this_controller{ 'SetPointRRD' } )
@@ -236,8 +239,11 @@
# Version history:
# ================
#
+# 0.6:
+# * Bug fix for setups where the WireGate didn't know the ActuatorGA
+# * Force sending of actuator after x seconds/minutes so that the watchdog in
+# the actuator doesn't time out
# 0.5:
-# ------
# * initial release
#
#############################################################################
@@ -245,8 +251,8 @@
# =====
# * Limit bus traffic by sending actuator values after a change that is bigger
# than x%
-# * Force sending of actuator after x seconds/minutes so that the watchdog in
-# the actuator doesn't time out
# * Add GA for sending delta values for the setpoint
# * External Config
+# * Actuator overwrite ("Zwangsstellung")
+# * Hard temperature limit (min, max)
#############################################################################
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|