Netcat UDP not working anymore

Hi,
I’m using a shell script transmitting UDP packets via netcat to a self made hardware dimmer. This script was working well for several months now. Just today I upgraded HA 2025.1.0 and it stopped working.
I’ve installed Advanced SSH & Web Terminal to see whats going on but have no idea what is the problem. The shell command seems to have no effect:

echo -e led 0 50\r | nc -u -w 1 192.168.0.109 10000

I checked the HA changelog but did find any significant. Does anybody has a idea?

I got it fixed. It seems to be madatory to use quotation marks in latest HA release. Otherwise the escaping of the carrriage return \r does not work. So the fix is:

echo -e “led 0 50\r” | nc -u -w 1 192.168.0.109 10000

1 Like