What would the equivalent command for curl? I’m trying to make Lannouncer work.
Typically the curl example would be like this: curl “192.168.1.20:1035/?SPEAK=@|ALARM=CHIME&@DONE@”
This works if sent it via curl but no avail on smart things.
I tried doing this but it didn’t work
def q = new physicalgraph.device.HubAction("""GET /$pathorparams HTTP/1.1\r\nHOST: $ip\r\n\r\n""", physicalgraph.device.Protocol.LAN, (device.deviceNetworkId)) sendHubCommand(q)