harmony-api
harmony-api copied to clipboard
Having some trouble running
So I followed the directions and seemed to hit a brick wall. I got everything setp. I don't want to use it with mqtt can I remove that info from my config? Also how do I actually send the commands via Http, I am confused as to how I enter them into terminal. Can I just use CURL to query but am I suppose to be query localhost or the actual ip address of the hub?
it tells you:
You don't have forever installed. You need to install it first.
Just install it with this command:
sudo npm install forever -g
Install it using that command. This is what is used on macOS to keep it running in the background.
Ok. I figured that out yesterday and updated my comment accordingly to an actual problem I was having that I don't think was specified.
On Apr 3, 2017, 6:43 AM -0700, Jon Maddox [email protected], wrote:
Closed #61 (https://github.com/maddox/harmony-api/issues/61).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/maddox/harmony-api/issues/61#event-1026494566), or mute the thread (https://github.com/notifications/unsubscribe-auth/APh0ou4xmKmTTxqDMPeRoF3JCPub3TFkks5rsPd3gaJpZM4Mw7xm).
Ha, sorry, I read the original issue via email and commented.
I don't want to use it with mqtt can I remove that info from my config?
yes
Also how do I actually send the commands via Http, I am confused as to how I enter them into terminal. Can I just use CURL to query but am I suppose to be query localhost or the actual ip address of the hub?
Curl is fine. You can use localhost
or the IP depending on the computer that is making requests on Harmony API.
Most people integrate this with their home automation hubs, and those things make there requests to control things.