question

kmorgan avatar image
kmorgan asked

Victron modbus and hassio help

Hi all, awesome forum, I want to stop discharging battery ess with a Hassio switch, I have looked around and "borrowed" some code to try but seems to work sometimes with the slider but all I want is a switch to turn off ess discharge and if possible start charging(not looked at the last part of charging yet).

If I move the slider to zero it works but if I then move the slider to 100 it does nothing, I have to move the slider to 1 and it some times turns discharge back on..

Does anyone have the skill and acknowledge to help please?


  • Modbus entry

  • - name: "Input Current limit"
  • data_type: uint16
  • unit_of_measurement: “%"
  • slave: 100
  • address: 2702
  • scale: 1.0

  • Config entry

  • input_number:
  • input_current_slider:
  • name: Input Current Limit - Slider
  • min: 0
  • max: 100
  • step: 1.0

  • automation created

  • service: modbus.write_register
  • data:
  • address: 2702
  • unit: 100
  • value: "{ { states('input_number.input_current_slider') | float * 10 }}"
  • hub: victron




Modbus TCPvictronhome assistant
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers

Related Resources

Additional resources still need to be added for this topic

Modbus TCP Basics