2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 17:36:39 +00:00

autocreate/TCP: replace 120 with ESP2, etc (Forum #26351)

git-svn-id: https://svn.fhem.de/fhem/trunk@6436 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-08-21 05:40:35 +00:00
parent 7c5046420a
commit 541f662a73

View File

@ -292,20 +292,20 @@ my @usbtable = (
response => "^V .* CSM.*", response => "^V .* CSM.*",
define => "CUL_PARAM CUL DEVICE\@38400 1PARAM34", }, define => "CUL_PARAM CUL DEVICE\@38400 1PARAM34", },
{ NAME => "TCM310", { NAME => "TCM_ESP3",
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)",
"ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"], "ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"],
DeviceName=> "DEVICE\@57600", DeviceName=> "DEVICE\@57600",
request => pack("H*", "5500010005700838"), # get idbase request => pack("H*", "5500010005700838"), # get idbase
response => "^\x55\x00\x05\x01", response => "^\x55\x00\x05\x01",
define => "TCM310_PARAM TCM 310 DEVICE\@57600", }, define => "TCM310_PARAM TCM ESP3 DEVICE\@57600", },
{ NAME => "TCM120", { NAME => "TCM_ESP2",
matchList => ["ttyUSB(.*)"], matchList => ["ttyUSB(.*)"],
DeviceName=> "DEVICE\@9600", DeviceName=> "DEVICE\@9600",
request => pack("H*", "A55AAB5800000000000000000003"), # get idbase request => pack("H*", "A55AAB5800000000000000000003"), # get idbase
response => "^\xA5\x5A............", response => "^\xA5\x5A............",
define => "TCM120_PARAM TCM 120 DEVICE\@9600", }, define => "TCM120_PARAM TCM ESP2 DEVICE\@9600", },
{ NAME => "FHZ", { NAME => "FHZ",
matchList => ["cu.usbserial(.*)", "ttyUSB(.*)"], matchList => ["cu.usbserial(.*)", "ttyUSB(.*)"],