Replies: 1 comment 1 reply
-
@npentell Your command is correct. It seems there is a problem with the rpc service. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been searching everywhere for info on how to use the json features and found very little info. I've also made several posts in the forum with no responses so I thought I might try here.
I am attempting to set something up where my LED lights turn on and off with the TV. I have set up a curl script but am getting an error. I'm running Windows 10. The curl is this
curl -X POST -i "http://192.168.1.247:8090/json-rpc" -d '{"command":"componentstate","componentstate":{"component":"ALL","state":false}}'
I'm getting an error that says
[hyperiond HTTPJSONRPC] (ERROR) Failed to parse json data from JsonRpc@::ffff:192.168.1.64: Error: illegal value at Line: 0, Column: 1
it's pretty vague to me since everything in on line 0. Especially, since i'm not very familiar with json and curl to begin with.
any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions