Modbus sensor

Adding a modbus sensor is pretty easy. Follow developer guide in this section, copy eg sdm120.json to be your template (

Make your new file, test it, put it in boneio/sensor/modbus/{model}.json directory. Make PR to application with this file. New config will be available then for all boneIO users!

Configuration variables:

  • model - model to show in Home Assistant.
  • registers_base - array of registers. You can read multiple registers at once, it’s more CPU friendly.