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",