Commanding Home Assistant from Linux
Hi Gang.
I have been successfully running Home Assistant for about two months, and I'd like to take a few things to the next level. Home Assistant is running on a computer on my server shelf, and I access it remotely using the web page. Everything is working hunky-dorily. (Well... There are a few pieces of kit I'd like to be able to control, but that's a post for another day. (Aqara M2 IR blaster, I'm looking at you.))
What I would like to do is activate certain scenes or devices from the command line on my Linux desktop, rather than via the web page. That way, I could create a "Lights_Out" icon on my desktop, or an "Accent Lights to Red" hot key on my keyboard. Something along the lines of ``curl --silent --output /dev/null http://192.168.1.20:8123?cmd=activate\ \"Lights_Out\"`` or something like that.
I have come across an addon called HA, but that seems more like a management tool than a control tool; performing backups, enabling networking and whatnot.
If someone would point me to an appropriate HOWTO, I would be grateful.