curl is for command-line HTTP communication; the LIFX LAN API uses plain UDP packets. If you want to interact with it at a low level from the command line, netcat is probably your best bet (or /dev/udp/ if your shell supports it, see here.)
thanks for the reply. followed all the links you sent and still havnt been able to get light to respond.
tried this cmd
/bin/echo -e “$(cat /etc/lifx/alloff.echo)” | socat - udp-datagram:255.255.255.255:56700,broadcast
which makes sense to me but still nothing…