| Line 19: |
Line 19: |
| | [[File:BTCAN_VIEW.png|300px]] | | [[File:BTCAN_VIEW.png|300px]] |
| | | | |
| − | ==Mash connection== <!--T:4--> | + | ==Broadcast connection== <!--T:4--> |
| − | [[File:BTCAN_connection_Mash.png|300px]] | + | [[File:BTCAN_connection_Mash.png|500px]] |
| | | | |
| | ==Point-to-point connection== <!--T:4--> | | ==Point-to-point connection== <!--T:4--> |
| − | [[File:BTCAN_connection_P2P.png|300px]] | + | [[File:BTCAN_connection_P2P.png|500px]] |
| | | | |
| | ==Module parameters== <!--T:7--> | | ==Module parameters== <!--T:7--> |
| Line 40: |
Line 40: |
| | | weight = 25 g | | | weight = 25 g |
| | }} | | }} |
| − |
| |
| − | ==Module installation and connection procedure== <!--T:9-->
| |
| | | | |
| | ==HW settings== <!--T:13--> | | ==HW settings== <!--T:13--> |
| Line 48: |
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;
| + | |pin||integer 1-999999||98||-||Pin for P2P connection, must be same for master and slave |
| − | *'S'-Switch, fixed switch;
| + | Example: |
| − | *'K'-Contact, reed contact;
| + | <syntaxhighlight lang="xml" line>hw="pin=1111"</syntaxhighlight> |
| − | *'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; | + | |mi-temp1||char[12]||98||-||Sn of Xiaomi temperature/humidity sensor for broadcast connection. |
| − | For example, offset is -3.8 :
| + | Example: |
| − | <syntaxhighlight lang="xml" line>hw="offset='-3.8'"</syntaxhighlight> | + | <syntaxhighlight lang="xml" line>hw="mi-temp1='A4C218FEBA4C'"</syntaxhighlight> |
| | |} | | |} |
| | | | |
| Line 72: |
Line 64: |
| | <!--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> |