Pairing More than one Device with Homebridge

  1. Set up Homebridge with one iOS device - https://github.com/nfarina/homebridge
  2. Modify AccessoryInfo.MACADDRESS.json to remove the paired device (where MACADDRESS is some string) - File should be in ~/.homebridge/persist/
{  
   "displayName":"Homebridge",
   "category":2,
   "pincode":"your pw",
   "signSk":"a long string",
   "signPk":"a long string,
#### REMOVE BELOW THIS LINE
   "pairedClients":{  
      "a long string":"a long string"
   },
#### REMOVE ABOVE THIS LINE
   "configVersion":4,
   "configHash":"a long string",
   "setupID":"a short string",
   "relayEnabled":false,
   "relayState":2,
   "relayAccessoryID":"",
   "relayAdminID":"",
   "relayPairedControllers":{},
   "accessoryBagURL":""
}
  1. Pair the second iOS device
  2. Modify the Accessories JSON file to include both clients:
{  
   "displayName":"Homebridge",
   "category":2,
   "pincode":"your pw",
   "signSk":"a long string",
   "signPk":"a long string,
   "pairedClients":{  
      "a long string":"a long string"
      ,"a long string":"a long string"
   },
   "configVersion":4,
   "configHash":"a long string",
   "setupID":"a short string",
   "relayEnabled":false,
   "relayState":2,
   "relayAccessoryID":"",
   "relayAdminID":"",
   "relayPairedControllers":{},
   "accessoryBagURL":""
}