Posts: 300
Joined: Apr 2004
Reputation:
5
I use Irule for a remote control. After switching to Leia, my remote no longer worked. Saw this post and changed method from GET to POST. Still doesn't work. Is there something else I need to do?
Posts: 167
Joined: Jan 2016
Reputation:
9
Were you able to get this working? If not, can you post some example code?
Posts: 300
Joined: Apr 2004
Reputation:
5
I haven't really tried yet. I don't really know anything about JSON or what a complete command should look like. Plus it would be a huge pain to manually create every command in irule, which is no longer being updated on their end. So I'll probably just stick with Krypton for the forseeable future or just throw in the towel and use Yatse (which I don't want to do because it takes me out of my remote which lets me control receiver/tv volume, power for everything, etc).
Posts: 167
Joined: Jan 2016
Reputation:
9
The JSON is the same, you'd just be changing the request from GET to POST. Can you post a snippet of code? Just a single action. That'll give me an idea of how much effort it would take.
I tried the Irule app, but I guess I need a device for it to work.I got as far as configuring the gateway for POST instead of GET. That's probably where you should start.
Posts: 300
Joined: Apr 2004
Reputation:
5
Sorry for the late response. My second post in this thread includes a complete code I use in Irule with Krypton to launch a script. I tried keeping it the same and just changing the method from GET to POST but it still didn't work in Leia.
Posts: 167
Joined: Jan 2016
Reputation:
9
I don't have an Irule so I can't really use the app to figure it out. Screenshots of the config would help.
Posts: 17
Joined: Dec 2012
Reputation:
0
Here is a show osd example from mine. It isn't working for me with the gateway change to post instead of get either.
jsonrpc?request=%7B%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22Input.ShowOSD%22%2C%22id%22%3A1%7D