I didn't have the "Curl" in front of the http...... That's why HA didn't see it.
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
One step forward...one back
shell_command:
chairlampon: curl http://192.168.2.89/api/docommand?command=SetVariable|chairlamp~on
chairlampoff: curl http://192.168.2.89/api/docommand?command=SetVariable|chairlamp~off
I can call the chairlampon/off... but I get this in the HA log...I think the issue is with the | command, HA doesn't know how to process it properly. Looking in the docs it will also not know about ~.
Code:
2025-12-07 16:17:42.935 ERROR (MainThread) [homeassistant.components.shell_command] Error running command: `http://192.168.2.89/api/docommand?command=SetVariable|chairlamp~off`, return code: 127