Just thought I’d share my experience. I had installed @pdlove 's HomeKit SmartApps. It worked well, but there were some limitations (for example I have both zigbee light bulbs and Z-wave switches controlling dumb lights. Using Siri I had to say Turn Off All Lights, and also Turn Off All Switches because @pdlove’s implementation didn’t allow me to specify that the switches were also lights.
(I also used @ajvwhite’s Homebridge Routine Triggers)
So I thought I’d try @tonesto7’s implementation.
I deleted the old SmartApps from my phone, and tried to add the new json text. I also installed the code on my raspberry pi for the new devices.
npm i -g homebridge-smartthings-tonesto7
However I was unable to get homebridge to run.
After some troubleshooting I realized that I had to remove the old code from my raspberry Pi:
npm remove -g homebridge-smartthings-routine-triggers
and
npm remove -g homebridge-smartthings
I also had to remove the Accessories that routine-triggers had me put into the json file.
My json file now looks like this (XXXX are obviously my specific code):
It seems to be running great. I hope this helps someone get theirs setup.
{
“bridge”: {
“name”: “Homebridge”,
“username”: “XX:XX:XX:XX:XX:XX”,
“port”: XXXXX,
“pin”: “XXX-XX-XXX”
},
“description”: “JSON API”
,
“accessories”: “”
,
“platforms”: [
{
“platform”: “SmartThings”,
“name”: “SmartThings”,
“app_url”: “https://graph.api.smartthings.com:443/api/smartapps/installations/”,
“access_token”: “XXXXXXXXXXX”,
“app_id”: “XXXXXXXXXXXX”
}
]
}