sibartlett / homebridge-wink3

Homebridge plugin for wink.com
https://sibartlett.github.io/homebridge-wink3
ISC License
54 stars 20 forks source link

failed to refresh wink devices? #96

Open felkahlout opened 6 years ago

felkahlout commented 6 years ago

Hi i have been using this token since Dec 2017 w/o any issue until last week ,the error message when i start home bridge is: Failed to refresh devices. { Error: EACCES: permission denied, open '/home/pi/.homebridge/config.json' at Object.fs.openSync (fs.js:646:18) at Object.fs.writeFileSync (fs.js:1299:33) at WinkPlatform.updateConfig (/usr/lib/node_modules/homebridge-wink3/src/WinkPlatform.js:78:8) at WinkClient.updateConfig (/usr/lib/node_modules/homebridge-wink3/src/WinkPlatform.js:50:36) at then.response (/usr/lib/node_modules/homebridge-wink3/src/WinkClient.js:67:12) at at process._tickCallback (internal/process/next_tick.js:188:7) errno: -13, code: 'EACCES', syscall: 'open', path: '/home/pi/.homebridge/config.json' }

Any ideas??