Merge branch 'current' into next

This commit is contained in:
Jesse Hills 2024-05-25 08:14:27 +12:00
commit 7ebb8a4a87
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
3 changed files with 7 additions and 4 deletions

View File

@ -80,7 +80,7 @@ Configuration variables:
Handle stop_action: Handle stop_action:
------------------------ ------------------------
For some cover controllers, separate switches for UP and DOWN action are used while a stop is issued when sending a counter command. For some cover controllers, separate switches for UP and DOWN action are used while a stop is issued when sending a counter command.
This can be handled at the **stop_action** by using the folling lamda function: This can be handled at the **stop_action** by using the following lambda function:
.. code-block:: yaml .. code-block:: yaml

View File

@ -37,6 +37,10 @@ Configuration variables:
Use this if you want to use multiple UART buses at once. Use this if you want to use multiple UART buses at once.
- All other options from :ref:`Sensor <config-sensor>`. - All other options from :ref:`Sensor <config-sensor>`.
.. note::
`PWM and RS485 <https://www.dypcn.com/uploads/A02-Datasheet.pdf>`__ versions of the A02YYUW are not supported by this component.
See Also See Also
-------- --------

View File

@ -23,7 +23,7 @@ that uses the Kamstrup Meter Protocol for communication.
This component can be used to request measurements from the meter using This component can be used to request measurements from the meter using
the optical interface. the optical interface.
A :ref:`UART bus <uart>` is required to communicate with the meter. The baudrate A :ref:`UART bus <uart>` is required to communicate with the meter.
Configuration Configuration
------------- -------------
@ -92,8 +92,7 @@ Hardware
The Kamstrup meter uses an optical interface, just above the display. The required The Kamstrup meter uses an optical interface, just above the display. The required
optical transceiver can be made using the schematic below. Connect the RX and TX optical transceiver can be made using the schematic below. Connect the RX and TX
lines to the pins configured under the uart section in the config file. In the lines to the pins configured under the uart section in the config file.
configuration example above, this would be GPIO pin 13 and 15 respectively.
.. figure:: images/kamstrup_kmp_sch.svg .. figure:: images/kamstrup_kmp_sch.svg
:scale: 200% :scale: 200%