homebridge-amazondash
homebridge-amazondash copied to clipboard
config.json error - Expecting ',', ']', got 'EOF' - when adding config parameters
Here's my existing config. Which passes the jsonlint.com test.
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" },
"platforms": [{
"platform": "SmartThings",
"name": "SmartThings",
"app_url": "https://graph-na02-useast1.api.smartthings.com:443/api/smartapps/installations/",
"app_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"access_token": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
{
"platform": "Hue",
"users": {
"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"lights": true
},
{
"platform": "HarmonyHub",
"name": "Harmony Hub"
},
{
"platform": "TplinkLightbulb"
}
]
}
And here is my best attempt at incorporating the amazondash config into my file. But I keep getting error's from jsonlint.com
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" },
"platforms": [{
"platform": "SmartThings",
"name": "SmartThings",
"app_url": "https://graph-na02-useast1.api.smartthings.com:443/api/smartapps/installations/",
"app_id": "c01b355b-f290-4034-9962-8f5648b86c5a",
"access_token": "bdd22628-5394-4558-9183-c27edac8eaa2"
},
{
"platform": "Hue",
"users": {
"001788FFFExxxxxx": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"001788FFFEyyyyyy": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
},
"lights": true
},
{
"platform": "HarmonyHub",
"name": "Harmony Hub"
},
{
"platform": "TplinkLightbulb"
},
{
"platform": "AmazonDash",
"buttons": [{
"name": "Dash Blue",
"mac": "74:c2:46:0a:f9:3f"
},
{
"name": "Dash Orange",
"mac": "10:ae:60:4d:6a:0b"
}
]
}
I am specifically getting this error (Expecting ',', ']', got 'EOF') on the last line. I just can't seem to figure out how to correct this issue. Any help you can offer would be most appreciated.