Skip to content

Commit

Permalink
Device info and new projects (#45)
Browse files Browse the repository at this point in the history
* Update format with device info

* Add new projects

* Update index.html
  • Loading branch information
Ernst79 authored Nov 27, 2023
1 parent 853d4c9 commit 051e55b
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 1 deletion.
61 changes: 61 additions & 0 deletions src/format.html
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,67 @@ <h5 id="multiple_events">Multiple events of the same type</h5>
<code>3A003A01</code> will send no event for the first button, and an event
"press" for the second button.
</p>
<h4 id="device-information">Device</h4>
<h5>Device information</h5>
<p>
The following device information can be included in the BLE advertisment, a
<code>device type id</code> and the installed <code>fw version</code>. The
<code>device type id</code> is 2 bytes long in little endian and can be used to
make a distinction between device types. The <code>firmware version</code> can be
send in <code>0.0.0.1</code> format or in <code>0.0.1</code> format.
</p>
<div class="table-wrapper">
<table>
<thead>
<tr>
<th>Object id</th>
<th>Property</th>
<th>Data Type</th>
<th>Example</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>0xF0</code>
</td>
<td>device type id</td>
<td>uint16 (2&nbsp;bytes)</td>
<td>
<code>F00100</code>
</td>
<td>1</td>
</tr>
</tbody>
<tbody>
<tr>
<td>
<code>0xF1</code>
</td>
<td>firmware version</td>
<td>uint32 (4&nbsp;bytes)</td>
<td>
<code>F100010204</code>
</td>
<td>4.2.1.0</td>
</tr>
</tbody>
<tbody>
<tr>
<td>
<code>0xF2</code>
</td>
<td>firmware version</td>
<td>uint24 (3&nbsp;bytes)</td>
<td>
<code>F1000106</code>
</td>
<td>6.1.0</td>
</tr>
</tbody>
</table>
</div>
<h4 id="misc-data">Misc data</h4>
<h5>Packet id</h5>
<p>
Expand Down
24 changes: 23 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
it is attached, allowing you to trigger home automation scenarios accordingly.
It also broadcasts illuminance and tilt angle measurements.
</p>
- name: ATC MiThermometer (V1)
- name: ATC MiThermometer (V2)
logo: atc-mithermometer.png
website: https://github.com/pvvx/ATC_MiThermometer#readme
description: >
Expand All @@ -57,6 +57,20 @@
b-parasite is an open source soil moisture and ambient
temperature/humidity/light sensor that supports BTHome.
</p>
- name: BTHome v2 - Server (V2)
website: https://github.com/SiliconLabs/third_party_hw_drivers_extension/tree/master/app/documentation/example/bthome_v2_server
description: >
<p>
Server/Gateway library that simplifies the process of integrating BTHome
devices into IoT setups.
</p>
- name: BTHome v2 - Sensor library (V2)
website: https://github.com/SiliconLabs/third_party_hw_drivers_extension/tree/master/app/documentation/example/bthome_v2
description: >
<p>
The project aims to implement a library to provide a one-click solution
to create a BTHome v2 compatible device.
</p>
- name: BTHomeV2 ESP32 (V2)
website: https://github.com/Chreece/BTHomeV2-ESP32-example
description: >
Expand Down Expand Up @@ -97,6 +111,14 @@
nRF52840 Sense board and sends BTHome advertisements with the state of its
own movements.
</p>
- name: Espruino BTHome Library (V2)
logo: circuitpython.png
website: https://www.espruino.com/BTHome
description: >
<p>
A BTHome library that allows you to send BTHome sensor data from an Espruino
board.
</p>
---

<h2>
Expand Down

0 comments on commit 051e55b

Please sign in to comment.