|
From: <ma...@us...> - 2012-12-03 17:07:24
|
Revision: 1183
http://openautomation.svn.sourceforge.net/openautomation/?rev=1183&view=rev
Author: makki1
Date: 2012-12-03 17:07:14 +0000 (Mon, 03 Dec 2012)
Log Message:
-----------
undefined knx_write - see http://knx-user-forum.de/wiregate/23510-none-unsupported-dpt-sent-value.html#post271946
Modified Paths:
--------------
wiregate/plugin/generic/emx_uhr.pl
Modified: wiregate/plugin/generic/emx_uhr.pl
===================================================================
--- wiregate/plugin/generic/emx_uhr.pl 2012-12-02 11:50:50 UTC (rev 1182)
+++ wiregate/plugin/generic/emx_uhr.pl 2012-12-03 17:07:14 UTC (rev 1183)
@@ -216,7 +216,7 @@
plugin_log($plugname, sprintf "Sending at[$baseZone %02d:%02d:%02d],Value[$Zeit->{Wert}],GA[$Zeit->{GA}]",
$basStu,$basMin,$basSec);
- knx_write($Zeit->{GA},$Zeit->{Wert}, $Zeit->{DPT});
+ (defined ($Zeit->{GA}) && knx_write($Zeit->{GA},$Zeit->{Wert}, $Zeit->{DPT}));
} # foreach (@Zeiten)
$plugin_info{"$plugname.$version.lastMinute"} = $curMin;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|