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
@Jaaskelainen Ahh many thanks i missed the json syntax and just published a value..Shame on me ![]()
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


