2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

98_autocreate.pm: some new Devices for usb scan by Beta-User (Forum #97756)

git-svn-id: https://svn.fhem.de/fhem/trunk@18696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-02-23 12:24:04 +00:00
parent 1708dcbf6a
commit 8b25acdd36

View File

@ -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(.*)"],