Line 4: |
Line 4: |
| {{Infobox module | | {{Infobox module |
| | name = BT-CAN | | | name = BT-CAN |
− | | image = BT-CAN.png | + | | image = BT-CAN-update.png |
| | voltage = 11.5...27.5 V DC | | | voltage = 11.5...27.5 V DC |
| | dim = 45x42x14 mm | | | dim = 45x42x14 mm |
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 30: |
Line 30: |
| {{ Mp | | {{ Mp |
| | power = 11.5 … 27.5 V DC from CAN or PS | | | power = 11.5 … 27.5 V DC from CAN or PS |
− | | maxcur24v = ??? mA | + | | maxcur24v = 30 mA |
| | maxbtd = 220 m | | | maxbtd = 220 m |
| | bustype = CAN (4-wire) | | | bustype = CAN (4-wire) |
Line 50: |
Line 50: |
| <syntaxhighlight lang="xml" line>hw="slave=0xe8245161"</syntaxhighlight> | | <syntaxhighlight lang="xml" line>hw="slave=0xe8245161"</syntaxhighlight> |
| |- | | |- |
− | |pin||float(+/- 0…39)||98||-||Pin for P2P connection, must be same for master and slave | + | |pin||integer 1-999999||98||-||Pin for P2P connection, must be same for master and slave |
| Example: | | Example: |
| <syntaxhighlight lang="xml" line>hw="pin=1111"</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> |
| |} | | |} |
| | | |
Line 61: |
Line 65: |
| <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| <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="866:98" cfgid="150" hw="slave=0xe8145261 pin=1111" logic-ver="19" name="Temperature" sn="306598234" system="yes" type="temperature-sensor"/> |
| + | <item addr="810:98" cfgid="150" hw="mi-temp1='A4C328FEBA3C'" logic-ver="19" name="Temperature" sn="881628906" system="yes" type="temperature-sensor"/> |
| </syntaxhighlight> | | </syntaxhighlight> |
| </translate> | | </translate> |