naofireblade / homebridge-neato

A Neato vacuum robot plugin for homebridge.
MIT License
69 stars 18 forks source link

Issue with config.json file #29

Closed sjaugmented closed 5 years ago

sjaugmented commented 5 years ago

I followed the instructions and I keep getting "There was a problem reading your config.json file."

My Neato portion of the config looks like this (some surrounding sections included for formatting):

"ringing": { "event": "single", "motion": false, "contact": false } }, { "platform": "NeatoVacuumRobot", "email": "myemail", "password": "mypassword" } { "platform": "Nest",

I don't know if this makes a difference but I had to use "sudo npm install -g --unsafe-perm homebridge-neato" when installing the plug in. I did the same thing to install Homebridge and the two other working platforms I have. This is the only way I can get homebridge and its platforms installed for some reason. Could that be the problem? I don't understand what I'm doing wrong, why it says there was a problem with my config.

DJay-X commented 5 years ago

Have you checked your entire config.json on jsonlint.com to be sure it's working properly? With a quick look just on your posted lines there could be something wrong, missing a comma.

{
"platform": "NeatoVacuumRobot",
"email": "myemail",
"password": "mypassword"
},
sjaugmented commented 5 years ago

That did it. Thank you very much!