cflurin / homebridge-punt

Homebridge Plugin
Apache License 2.0
21 stars 0 forks source link

Couldn't find a config-punt.json file #7

Closed cbonadonna closed 7 years ago

cbonadonna commented 7 years ago

I have just set up homebridge on my pi and created a config.json file in ~/.homebrige . I have placed my config code after the out put of when I attempt to run homebridge. Any assistance is greatly appreciated!

* WARNING * The program 'node' uses the Apple Bonjour compatibility layer of Avahi. * WARNING * Please fix your application to use the native API of Avahi! * WARNING * For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node * WARNING * The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. * WARNING * Please fix your application to use the native API of Avahi! * WARNING * For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister [Wed Sep 21 2016 03:50:10 GMT+0000 (UTC)] Loaded plugin: homebridge-homeassistant homebridge API version: 2 [Wed Sep 21 2016 03:50:10 GMT+0000 (UTC)] Registering platform 'homebridge-homeassistant.HomeAssistant' [Wed Sep 21 2016 03:50:10 GMT+0000 (UTC)] --- [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] Loaded plugin: homebridge-punt homebridge API version: 2 [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] Registering platform 'homebridge-punt.punt' [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] --- [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] Loaded config.json with 0 accessories and 1 platforms. [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] --- [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] Loading 1 platforms... [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] [HomeAssistant] Initializing HomeAssistant platform... Booting Platform [Wed Sep 21 2016 03:50:17 GMT+0000 (UTC)] [HomeAssistant] Fetching HomeAssistant devices. Load homebridge-punt.punt Couldn't find a config-punt.json file at /root/.homebridge/plugins/homebridge-punt.

my config.json file looks like this

{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" },

"platforms": [
    {
        "platform": "HomeAssistant",
        "name": "HomeAssistant",
        "host": "http://192.168.1.16:8123",
        "password": "yourapipassword",
        "supported_types": ["light", "switch", "media_player", "scene", "rollershutter"]
    }
]

}

I feel as if I am very close to getting this to work...