HomeBridge and API url

Hi Everyone, I installed the openremote homebridge and got it up and running.

However, i am running into issues finding the correct API call to configure in config.json.

I found the device is in controller.xml…or at least I think so:

For example this:

in the config.json

I have this:

{

“bridge”: {

“name”: “HomeBridge”,

“username”: “CC:22:3D:E3:CE:30”,

“port”: 51826,

“pin”: “031-45-154”

},

“description”: “My HomeBridge OpenRemote sample”,

“accessories”: [{

“accessory”: “openremote”,

“name”: “Eettafel Light”,

“switchHandling”: “realtime”,

“http_method”: “POST”,

“on_url”: “http://localhost:8688/controller/rest/control/59522/ON”,

“off_url”: “http://localhost:8688/controller/rest/control/59522/OFF”,

“status_url”: “http://localhost:8688/controller/rest/status/59522

}

]

}

I can see the switch but when I use it in homekit — nothing happens.

I must be doing something wrong.

someone got this running?

Thanks

Geert

Hi Geert

How did you get on?

Hi.
I am using too the homebridge and it working well. I think that your problem is indexing for both ON and OFF command the STATUS index (59522).

try to look in the controller.xml a unic command ID for the ON and OFF commands, and change the config.json accordingly.