Is there a way I can send (and ideally receive too) a command to the Hubitat hub via Linux CLI?
Hi, I am new to Hubitat, and have installed a hub and my first Z-wave dimmer switch, and I think I am going to like this.
I already have a bunch of home automation using the X10 protocol, controlled by Heyu running on Linux, with about 40 output and input devices, not to mention a whole lot of scripts I have created. The X10 is somewhat unreliable, and I want to move forward with Z-wave or Zigbee or both.
My particular Linux flavor is Ubuntu server. it is CLI only, no graphics desktop.
It would be ideal to use netcat TCP protocol to send commands to Hubitat but I am open to suggestions.
Not sure about more obscure methods (to me at least) for connecting, but certainly HTTP calls are possible. If HTTP is an option you are interested in, I would suggest installing the Built-In App Maker API from the Apps screen of your HE hub. This allows for retrieving variable details about devices as well as calling commands that the devices make available, displayed at the top of the Devices page for a device. After you install and then open the Maker API App page on the HE hub you will see various URL's that can be adjusted and then used to do what I describe above, retrieve device information (attributes mainly) and call commands.
It’s possible to use built-in apps to send or receive HTTP calls, and some apps establish telnet connections between the hub and a LAN-connected device. Community devs write their own Groovy apps that can do the same.
But there’s no terminal access to the hub’s underlying OS, SSH connections for a command line interface, etc.
It can. Do you see three dots at the bottom of your posts? When clicked/tapped, that expands into a sub-menu that includes a checkmark to mark as solved.
If you don’t see it, it could be a forum permissions thing. Joining the hub owners group should give you the ability to do that and other things like post images and links.
Welcome.
Cure your headache before it starts! Build your mesh from the hub center first, then outward by adding repeating devices first around the hub and expand outward. Once you have your repeaters in place, then start adding end devices-most end devices are battery powered devices.
Read the hubitat docs - how to build a solid mesh