Here is an example of the format needed to convert Global Caché API syntax to the JSON format need for Zoom Room. The "command" field is a copy/paste of a GC format IR code with \r on the end to send a carriage return.
{
"adapters": [
{
"model": "GenericNetworkAdapter",
"ip": "tcp://10.40.129.100:4998",
"ports": [
{
"id": "Television",
"name": "TV",
"methods": [
{
"id": "power",
"name": "Power",
"command": "sendir,1:1,1,38109,1,1,10,70,10,30,10,30,10,30,10,30,10,30,10,70,10,70,10,30,10,70,10,30,10,30,10,30,10,70,10,30,10,1753,10,70,10,30,10,30,10,30,10,30,10,70,10,30,10,30,10,70,10,30,10,70,10,70,10,70,10,30,10,70,10,1673\r",
"params": [
{
"id": "Power_on",
"name": "On"
}
],
"type": "actions"
}
]
}
]
}
]
}
0 Comments