From 070cc7bc8f12577f7aa9864a0e158b5be63cdf0e Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Tue, 10 Jul 2012 06:37:35 +0000 Subject: [PATCH] Support for TuxRadio/CSM git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1714 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_autocreate.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/FHEM/98_autocreate.pm b/FHEM/98_autocreate.pm index eead05483..2091c97a6 100644 --- a/FHEM/98_autocreate.pm +++ b/FHEM/98_autocreate.pm @@ -289,6 +289,7 @@ CommandCreateLog($$) ########################## # Table for automatically creating IO devices +# PARAM in define will be replaced with the $1 from matchList my @usbtable = ( { NAME => "CUL", matchList => ["cu.usbmodem(.*)", "ttyACM(.*)"], @@ -298,6 +299,14 @@ my @usbtable = ( response => "^V .* CU.*", define => "CUL_PARAM CUL DEVICE\@9600 1PARAM34", }, + { NAME => "CUL", + matchList => ["ttySP(.*)"], + DeviceName=> "DEVICE\@38400", + flush => "\n", + request => "V\n", + response => "^V .* CSM.*", + define => "CUL_PARAM CUL DEVICE\@38400 1PARAM34", }, + { NAME => "TCM310", matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", "ttyUSB(.*)", "ttyACM(.*)"], DeviceName=> "DEVICE\@57600",