Sometimes my Harmony hub also did not response to Harmony-API request.
If Harmony Hub lost connection, connection will be repaired.
But at that time there is no connection lost event of Hub.
I experienced below situation like you.
AP(WiFi) router is rebooted(Power off->on)
Harmony Hub will be reconnected to WiFi.
My temporally repair way is below.
Turn off(plug out) Harmony Hub and Turn on Harmony Hub
Harmony Hub lost connection with Harmony-API and re-discovered.
A quick update since my post three days ago relating my reliability problems. Later that day I made three changes:
Moved my Pi box so I could connect to my internal network with Ethernet instead of WiFi
Added a setting so that Docker loads automatically if the Pi restarts (that may have been set already, however - not sure)
Added a command to the “docker run” command that starts the harmony api to have it restart ("–restart always") if it gets stopped
So, since those changes, I have had no reliability issues whatsoever. It has worked without fail for around 72 hours now. I am not sure which, if any, of the above did the trick, but am relieved to have it stabilized.
Are the commands coming from Harmony or they are basic universal commands for TV type? I am looking for a specific command, which is on my AVR remote and listed as a command in the Harmony API but doesn’t populate in webCoRE.
Please try to use ‘TV’ Device Type in the ‘KuKu Harmony’, because there are five Custom commands.
Just mapping your specific command to Custom1~5 and call Custom1~5 command at WebCoRE.
So, I just setup my Qnap server to host all my multimedia, gonna install this as well to get my device control in affect, is there a walk through of how to do this with a qnap server?
also, I have some custom IR commands that I use to control electric fireplaces and currently an old erod curtain system, will I be able to control these with this device controller?
I am on a Pi3. I had to restart my Pi today but I am not sure what I need to do to restart the Harmony API Server…
Do I just open a command prompt and type:
start docker harmony-api
Or do I open a command prompt and type:
docker run -ti --net=host --name harmony-api turlvo/harmony-api:latest /home/harmony-api/harmony-api/script/server
Please let me know typed docker command when you run a harmony-api.
There is a container name of ‘harmony-api’ in parameter
ex) --name test
please just run docker start [name].
ex) docker start test
or another docker’s container name checking way is like below.
docker ps -a
Thanks again
I fixed error but still have problem with discovering hub.
The hub is discovered only after switch off and switch on harmony hub.
but it lost hub in few seconds
Hub discovered: Harmony Hub at 192.168.1.10.
Updating activities for harmony-hub.
Updating state for harmony-hub.
Updating devices for harmony-hub.
Updating state for harmony-hub.
Hub discovered: Harmony Hub at 192.168.1.10.
Updating activities for harmony-hub.
Updating state for harmony-hub.
Updating devices for harmony-hub.
Hub lost: Harmony Hub at 192.168.1.10.
Hub lost: Harmony Hub at 192.168.1.10.