Version
0.2.x

Modbus sensors


Modbus sensors

Dependency modules

modbus

Modbus sensors component. You need to know address of device you want to connect to! Supported devices:

DeviceModel name
Eastron SDM630 Energy metersdm630
Eastron SDM120 Energy metersdm120
Sofar Solar PV Invertersofar

Example config

modbus:
  uart: uart1

modbus_sensors:
  - id: sofar1
    model: sofar
    address: 1
  - id: sdm1
    model: sdm630
    address: 32

Configuration variables:

  • id (Required, string) - ID to use to name this device in MQTT and Home Assistant
  • address (Required, string) - address of the device you want to fetch data for.
  • model (Required, string) - model schema to use. Check table above to get model name.
  • update_interval (Optional, integer, default: 30 seconds) - update interval in seconds. Modbus connection is pretty cpu intensive so customize with care.