home-assistant.io/source/_components/binary_sensor.modbus.markdown
Matt N 2b5d3c0c10 Fix over 100 typos/spelling mistakes :P (#1483)
* Fix a bunch of typos/spelling mistakes
* Removed extra spaces from emulated_hue
* Correct device type. of binary_sensor.enocean.markdown
2016-11-23 10:23:23 +01:00

1008 B

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page Modbus Binary Sensor Instructions on how to set up Modbus binary sensors within Home Assistant. 2016-09-13 12:02 true false true true modbus.png Binary Sensor 0.28 Local Push

The modbus binary sensor allows you to gather data from Modbus coils.

To use your Modbus binary sensors in your installation, add the following to your configuration.yaml file:

# Example configuration.yml entry
binary_sensor:
  - platform: modbus
    coils:
      - name: Sensor1
        slave: 1
        coil: 100
      - name: Sensor2
        slave: 1
        coil: 110

Configuration variables:

  • coils array (Required): The array contains a list of coils to read from.
    • name (Required): Name of the sensor.
    • slave (Required): The number of the slave (Optional for TCP and UDP Modbus).
    • coil (Required): Coil number.