mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-11 20:02:12 +01:00
Add BLE Binary Output Docs (#1417)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
6053f490b5
commit
1c83e407fe
43
components/output/ble_client.rst
Normal file
43
components/output/ble_client.rst
Normal file
@ -0,0 +1,43 @@
|
||||
BLE Client Binary Output
|
||||
========================
|
||||
|
||||
.. seo::
|
||||
:description: Writes a binary value to a BLE device.
|
||||
:image: bluetooth.svg
|
||||
|
||||
The ``ble_client`` component is a output that can
|
||||
write a binary value to service characteristics of
|
||||
BLE devices.
|
||||
|
||||
For more information on BLE services and characteristics, see
|
||||
:doc:`/components/ble_client`.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: FF:FF:20:00:0F:15
|
||||
id: itag_black
|
||||
|
||||
output:
|
||||
- platform: ble_client
|
||||
ble_client_id: itag_black
|
||||
service_uuid: "10110000-5354-4F52-5A26-4249434B454C"
|
||||
characteristic_uuid: "10110013-5354-4f52-5a26-4249434b454c"
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **ble_client_id** (**Required**, :ref:`config-id`): ID of the associated BLE client.
|
||||
- **service_uuid** (**Required**, UUID): UUID of the service on the device.
|
||||
- **characteristic_uuid** (**Required**, UUID): UUID of the service's characteristic to write to.
|
||||
- **id** (*Optional*, :ref:`config-id`): The ID to use for code generation, and for reference by dependent components.
|
||||
- All other options from :ref:`Output <config-output>`.
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
- :doc:`/components/output/index`
|
||||
- :doc:`/components/ble_client`
|
||||
- :ghedit:`Edit`
|
@ -405,6 +405,7 @@ Output Components
|
||||
SM16716, components/output/sm16716, sm16716.svg
|
||||
SM2135, components/output/sm2135, sm2135.svg
|
||||
MCP4725, components/output/mcp4725, mcp4725.jpg
|
||||
BLE Binary Output, components/output/ble_client, bluetooth.svg
|
||||
Modbus Output, components/output/modbus_controller, modbus.png
|
||||
Custom Output, components/output/custom, language-cpp.svg
|
||||
Template Output, components/output/template, description.svg
|
||||
|
Loading…
Reference in New Issue
Block a user