From 8e6d4b59754d8c02c8ee16a427cd37b3ec636fce Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 23 Feb 2019 12:24:04 +0000 Subject: [PATCH] 98_autocreate.pm: some new Devices for usb scan by Beta-User (Forum #97756) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18696 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_autocreate.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/FHEM/98_autocreate.pm b/FHEM/98_autocreate.pm index 6d3b078ef..e7942deb9 100644 --- a/FHEM/98_autocreate.pm +++ b/FHEM/98_autocreate.pm @@ -500,6 +500,33 @@ my @usbtable = ( response => "^\x06.*", define => "ZWDongle_PARAM ZWDongle DEVICE\@115200", }, + { NAME => "SIGNALDuino", + matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", + "ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"], + DeviceName=> "DEVICE\@57600", + flush => "\n", + request => "V\n", # request firmware version + response => "^;S.*", + define => "SIGNALDUINO_PARAM SIGNALduino DEVICE\@57600", }, + + { NAME => "MYSENSORS", + matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", + "ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"], + DeviceName=> "DEVICE\@115200", + flush => "\n", + request => "0;255;3;0;18\n", # send heartbeat request + response => "^0;255;3;0;22.*", # heartbeat response + define => "MYSENSORS_PARAM MYSENSORS DEVICE\@115200", }, + + { NAME => "ArduCounter", + matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", + "ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"], + DeviceName=> "DEVICE\@38400", + flush => "\n", + request => "h\n", # send firmware version request + response => "^ArduCounter V.*", # response is two lines + define => "ArduCounter_PARAM ArduCounter DEVICE\@38400", }, + { NAME => "FRM", matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)", "ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"],