mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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/fhem@18696 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b8ae776ef8
commit
8e6d4b5975
@ -500,6 +500,33 @@ my @usbtable = (
|
|||||||
response => "^\x06.*",
|
response => "^\x06.*",
|
||||||
define => "ZWDongle_PARAM ZWDongle DEVICE\@115200", },
|
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",
|
{ NAME => "FRM",
|
||||||
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)",
|
matchList => ["cu.usbserial(.*)", "cu.usbmodem(.*)",
|
||||||
"ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"],
|
"ttyUSB(.*)", "ttyACM(.*)", "ttyAMA(.*)"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user