| Line 12: |
Line 12: |
| | | | |
| | <!--T:3--> | | <!--T:3--> |
| − | This module is used to connect buttons/reed switches. | + | This module is used to connect to remote devices via Bluetooth. |
| | | | |
| − | ==Features== <!--T:4--> | + | ==Overview== <!--T:6--> |
| − | *5 inputs support:
| |
| − | **Buttons
| |
| − | **Switches
| |
| − | **Reed switches
| |
| − | **LED buttons
| |
| − | **Digital temperature sensor
| |
| | | | |
| − | ==Example of connection== <!--T:5-->
| + | <!--T:7--> |
| | + | [[File:BTCAN_VIEW.png|300px]] |
| | | | |
| − | <!--T:6--> | + | ==Broadcast connection== <!--T:4--> |
| − | [[File:SW06C EXA.png|500px]] | + | [[File:BTCAN_connection_Mash.png|500px]] |
| − | <br>
| + | |
| − | <br> | + | ==Point-to-point connection== <!--T:4--> |
| − | [[File:SW06C EXA2.jpg|500px]] | + | [[File:BTCAN_connection_P2P.png|500px]] |
| | | | |
| | ==Module parameters== <!--T:7--> | | ==Module parameters== <!--T:7--> |
| Line 34: |
Line 29: |
| | <!--T:8--> | | <!--T:8--> |
| | {{ Mp | | {{ Mp |
| − | | inqty = 6
| + | | power = 11.5 … 27.5 V DC from CAN or PS |
| − | | buttons = 6
| + | | maxcur24v = ??? mA |
| − | | ledbuttons = 5
| + | | maxbtd = 220 m |
| − | | blvoltage = 3V
| |
| − | | power = 11.5 … 27.5 V DC from CAN | |
| − | | maxcur24v = 30 mA | |
| − | | tsmaxlen = 10m | |
| | | bustype = CAN (4-wire) | | | bustype = CAN (4-wire) |
| | | instalation = Free | | | instalation = Free |
| Line 49: |
Line 40: |
| | | weight = 25 g | | | weight = 25 g |
| | }} | | }} |
| − |
| |
| − | ==Module installation and connection procedure== <!--T:9-->
| |
| − |
| |
| − | <!--T:10-->
| |
| − | #Connect the inputs.
| |
| − | #Connect the CAN connector.
| |
| − | #Configure the module using LT setup.
| |
| − | #Check all equipment for proper operation.
| |
| − |
| |
| − | ==Module shut-off and deinstallation procedure== <!--T:11-->
| |
| − |
| |
| − | <!--T:12-->
| |
| − | #Disconnect the CAN connector.
| |
| − | #Disconnect the inputs.
| |
| − |
| |
| | | | |
| | ==HW settings== <!--T:13--> | | ==HW settings== <!--T:13--> |
| Line 70: |
Line 46: |
| | !Name!!Type, range!!SUBID!!Default!!Description | | !Name!!Type, range!!SUBID!!Default!!Description |
| | |- | | |- |
| − | |in||char[16]||98||'BBBBBB'||Each char is responsible for the type of a particular channel | + | |slave||char[10]||98||-||Sn of slave BT-CAN module in hex format for P2P connection. Setting for master BT-CAN/DE-MG.Plus module only |
| − | *'B'-Button, button of bell a type;
| + | Example: |
| − | *'C'-Inverted button, inverse button of a bell type (for normally-closed);
| + | <syntaxhighlight lang="xml" line>hw="slave=0xe8245161"</syntaxhighlight> |
| − | *'D'-Backlit button, illuminated button;
| |
| − | *'E'-Inverted backlit button, inverse illuminated button;
| |
| − | *'S'-Switch, fixed switch;
| |
| − | *'K'-Contact, reed contact;
| |
| − | *'H'-Inverted contact, inverse reed contact;
| |
| − | *'G'-GND, is used as earthing;
| |
| − | *'-'-none, nothing is connected.
| |
| − | And you can also connect one temperature sensor:
| |
| − | <syntaxhighlight lang="xml" line>hw="in='T-----'"</syntaxhighlight> | |
| − | <syntaxhighlight lang="xml" line>Example: in='DEHSSG'</syntaxhighlight>
| |
| | |- | | |- |
| − | |offset||float(+/- 0…39)||SubID 30 temperature sensor||'0'||sensor values offset; | + | |pin||integer 1-999999||98||-||Pin for P2P connection, must be same for master and slave |
| − | For example, offset is -3.8 :
| + | Example: |
| − | <syntaxhighlight lang="xml" line>hw="offset='-3.8'"</syntaxhighlight> | + | <syntaxhighlight lang="xml" line>hw="pin=1111"</syntaxhighlight> |
| | + | |- |
| | + | |mi-temp1||char[12]||98||-||Sn of Xiaomi temperature/humidity sensor for broadcast connection. |
| | + | Example: |
| | + | <syntaxhighlight lang="xml" line>hw="mi-temp1='A4C218FEBA4C'"</syntaxhighlight> |
| | |} | | |} |
| | | | |
| | ==Input HW configuration== <!--T:14--> | | ==Input HW configuration== <!--T:14--> |
| − | {| class="wikitable"
| + | |
| − | |-
| |
| − | !chanel!!1!!2!!3!!4!!5!!6
| |
| − | |-
| |
| − | |Button<br>nButton<br>Switch<br>Contact<br>nContact<br>none||+||+||+||+||+||+
| |
| − | |-
| |
| − | |LedButton<br>nLedButton||+||+||+||+||+
| |
| − | |-
| |
| − | |Temperature Sensor||+||||||||||
| |
| − | |}
| |
| | | | |
| | <!--T:15--> | | <!--T:15--> |
| | <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| − | <item addr="477:13" cfgid="180" name="Switch" type="switch" uniq_id="78"/> | + | <item addr="866:98" cfgid="150" hw="slave=0xe8145261 pin=1111" logic-ver="19" name="Temperature" sn="306598234" system="yes" type="temperature-sensor"/> |
| − | <item addr="477:14" cfgid="180" name="Switch" type="switch" uniq_id="79"/>
| + | <item addr="810:98" cfgid="150" hw="mi-temp1='A4C328FEBA3C'" logic-ver="19" name="Temperature" sn="881628906" system="yes" type="temperature-sensor"/> |
| − | <item addr="477:16" cfgid="180" name="Door" type="door-sensor" uniq_id="80"/>
| |
| − | <item addr="477:30" cfgid="180" hw="offset='15'" name="Temperature" type="temperature-sensor" uniq_id="83"/> | |
| − | <item addr="477:98" cfgid="180" hw="in='T+DD-H'" name="Temperature" system="yes" type="temperature-sensor" uniq_id="76"/>
| |
| | </syntaxhighlight> | | </syntaxhighlight> |
| | </translate> | | </translate> |