One of the largest crowd-sourced, manufacturer-independent databases of infrared remote control codes on the web, and aspiring to become the most comprehensive and most accurate one
Other
848
stars
153
forks
source link
Is there encode api call ? - e.g http://irdb.tk/api/encode/ option ? #42
I’ve been having a go at the api and I was wondering is there a ‘encode’ option ?
Something that would allow me to send the ‘POWER’ function, along with the protocol, devicetype etc. and get back something I could then send out/use, e.g in its pronto format ?
Hello @nodecentral. There is no such API call, clients need to render the codes on the client side. Check out the excellent http://www.harctoolbox.org/ in particular.
Hi,
I’ve been having a go at the api and I was wondering is there a ‘encode’ option ?
Something that would allow me to send the ‘POWER’ function, along with the protocol, devicetype etc. and get back something I could then send out/use, e.g in its pronto format ?
{ "function": "2", "protocol": "NECx2", "subdevice": "7", "devicetype": "TV", "device": "7", "functionname": "POWER" },