PeteLawrence/homebridge-people

Config.json not working?

Closed this issue · 2 comments

I am not sure why not my config.json file wont work. It sets all of my existing home bridge accessories to "No Response" when I add the homebridge-people code.

"platforms": [
        {
            "platform": "LifxLan",
            "name": "LiFx" 
        },
        
        {
            "platform": "People",
            "threshold" : 15,
            "anyoneSensor" : true,
            "nooneSensor" : false,
            "webhookPort": 51828,
            "cacheDirectory": "./.node-persist/storage",
            "pingInterval": 10000,
            "ignoreReEnterExitSeconds": 0,
            "people" : [
                {
                    "name" : "Pete",
                    "target" : "PetesiPhone",
                    "threshold" : 15,
                    "pingInterval": 10000,
                    "ignoreReEnterExitSeconds": 0
                },
                {
                    "name" : "Someone Else",
                    "target" : "192.168.1.68",
                    "threshold" : 15,
                    "pingInterval": 10000,
                    "ignoreReEnterExitSeconds": 0
                }
            ]
        }
    ]

I tried removing the line

"cacheDirectory": "./.node-persist/storage",

from issue #52

That seemed to fix it. Now to find out how to trigger this...