maddox / harmony-api

🗼 A simple server allowing you to query/control multiple local Harmony Home Hubs over HTTP or MQTT
MIT License
393 stars 115 forks source link

list commands ok but 404 on GET #99

Open mcnahum opened 5 years ago

mcnahum commented 5 years ago

since few weeks my implementation of harmony-api stop working

I'm using http request to do all: http://192.168.1.1:8282/hubs/harmonyhub/devices/vivitek-projecteur/commands/ give me the correct commands but as soon as I post any command after it's not working and give me a 404 e.g. Cannot GET /hubs/harmonyhub/devices/vivitek-projecteur/commands/menu

that was perfectly working few weeks ago, the hamorny app still working correctly .... where did I missed something...?

edit: I also tried put it on a Pi (brand new) to test and it's the same...

code-in-progress commented 5 years ago

What node controller are you using for the harmony-api? If you are using PM2, try taking a look at the logs using "pm2 logs [name of app]". That should give you a bit more info to troubleshoot with.

mcnahum commented 5 years ago

the only information I see on logs is: '[2018-11-04T22:57:11.584Z] - ::ffff:192.168.1.240 - GET /hubs/harmonyhub/devices/vivitek-projecteur/commands/select 404 0.954 m s - 197b'

but before I have a: '[2018-11-04T22:57:02.550Z] - ::ffff:192.168.1.240 - GET /hubs/harmonyhub/devices/vivitek-projecteur/commands/ 200 1.305 ms - 592b'