i don't think so because when i look at the last item in the sample then it does not have one. But i tried it and got the following:
Starting HomeBridge server...
undefined:20
]
^
SyntaxError: Unexpected token ]
Maybe it does not like something it found in my /rest/nodes xml... They don't all have a "property" data item.
{
"description": "This is an example configuration file with all supported devices. You can use this as a template for creating your own configuration file containing devices you actually own.",
"platforms": [
{
"platform" : "Nest",
"name" : "Nest",
"username" : "me@somewhere.com",
"password" : "11111111"
},
{
"platform": "ISY",
"name": "ISY",
"host": "10.10.10.121",
"port": "80",
"username": "user",
"password": "secret"
}
]
And if i delete the ISY part and leave Nest in the it will start.
Thank you
I get the following error on startup for the ISY (when i edit ISY out of the config then i have a Nest that initializes ok and will work.
[iSY] Fetching ISY Devices.
events.js:85
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property '0' of undefined
at /lib/homebridge/platforms/ISY.js:70:45
at Array.forEach (native)
at /lib/homebridge/platforms/ISY.js:57:35
at Parser.<anonymous> (/lib/homebridge/node_modules/xml2js/lib/xml2js.js:459:18)
at Parser.emit (events.js:107:17)
at Object.onclosetag (/lib/homebridge/node_modules/xml2js/lib/xml2js.js:420:26)
at emit (/lib/homebridge/node_modules/xml2js/node_modules/sax/lib/sax.js:615:33)
at emitNode (/lib/homebridge/node_modules/xml2js/node_modules/sax/lib/sax.js:620:3)
at closeTag (/lib/homebridge/node_modules/xml2js/node_modules/sax/lib/sax.js:861:5)
at Object.write (/lib/homebridge/node_modules/xml2js/node_modules/sax/lib/sax.js:1294:29)
Any ideas?