With home assistant I send yaml to the wled device.
I’m using a led strip as a huge voltmeter for my robotic mower.
It creates a bar from the highest (last) led downwards, proportional to the voltage, at a dim level.
The next two leds are at max level. If the mower is in error state, they blink
With 0.15 the rest of the leds (up to the first in the chain) were dark.
With 0.15_1 the rest just keep the state it was before.
How can I blank the rest with the new firmware?
I send this;
ip_address: “{{ ip_address }}”
payload: |
{
“on”: {{ on }},
“bri”: 255,
“transition”: 7,
“mainseg”: 0,
“seg”: [
{
“id”: 0,
“start”: {{ stop_led }},
“stop”: {{ stop_led +2 }},
“grp”: 1,
“spc”: 0,
“of”: 0,
“on”: {{ on }},
“frz”: false,
“bri”: 255,
“cct”: 127,
“set”: 0,
“col”: [{{ color }}, [0,0,0], [0,0,0]],
“fx”: {% if mower_state == ‘error’ and error_state != ‘battery_restriction_due_to_ambient_temperature’ %}1{% else %}0{% endif %},
“sx”: 128,
“ix”: 128,
“pal”: 0,
“c1”: 128,
“c2”: 128,
“c3”: 16,
“sel”: true,
“rev”: false,
“mi”: false,
“o1”: false,
“o2”: false,
“o3”: false,
“si”: 0,
“m12”: 0
},
{
“id”: 1,
“start”: {{ stop_led + 2 }},
“stop”: 101,
“grp”: 1,
“spc”: 0,
“of”: 0,
“on”: {{ on }},
“frz”: false,
“bri”: 20,
“cct”: 127,
“set”: 0,
“col”: [{{ color }}, [0,0,0], [0,0,0]],
“fx”: 0,
“sx”: 128,
“ix”: 128,
“pal”: 0,
“c1”: 128,
“c2”: 128,
“c3”: 16,
“sel”: true,
“rev”: false,
“mi”: false,
“o1”: false,
“o2”: false,
“o3”: false,
“si”: 0,
“m12”: 0
}
]
}