MQTT Max Charge Current


Any idea why I cant set the DVCC Max Charge Current from MQTT
Want to set it from Home Assistant via MQTT

Hi, i you want to publish, change first letter to W, N and R will not work

@apmostert Did that info from @Jaaskelainen helped you?
I was trying the same.

Publishing with W/… but the Cerbo doenst takes the new Setpoint from that topic.

Br, Arne


i have shelly that use mqtt and change maxcharge current. And on picture is how i do that in mqtt explorer. I have 2.90v Venus OS, pretty old.

@Jaaskelainen Ahh many thanks i missed the json syntax and just published a value..Shame on me :slight_smile:

Anyhow, your approach is also working on latest Version 3.54

AI Slope made it working:

Settings in Configuration.yaml

input_number:
  myslider:
    name: myslider
    initial: 30
    min: 0
    max: 35
    step: 1
    

Code in Automation (dont forget to define your Cerbo-ID in the topic)

-alias: Victron MaxChargeCurrent per Slider setzen
description: Sendet Slider-Wert als MQTT an Victron
trigger:

  • platform: state
    entity_id: input_number.myslider
    action:
  • service: mqtt.publish
    data:
    topic: “W/YOUR_CERBO_ID/settings/0/Settings/SystemSetup/MaxChargeCurrent”
    payload: >-
    {“max”: 10000, “min”: -1, “value”: {{ states(‘input_number.myslider’) | int }}}
    retain: false
    mode: single