Closed Cavas17 closed 8 years ago
You have to edit my index.js file and change this line (number 5):
eedomus_config = '/home/pi/.homebridge/config.json';
for this one:
eedomus_config = '/utilisateurs/Florent/.hombridge/config.json';
Try and let me know. I made this plugin and tested it only in Raspberry with Raspbian Jessie.
I'm a total n00b with js, so I don't know how can I do this automatically.
Thanks for answer,
I try to change the line 5 by
eedomus_config = '/utilisateurs/Florent/.hombridge/config.json';
But I think there is an error at the word hombridge so I correct it by
eedomus_config = '/utilisateurs/Florent/.homebridge/config.json';
But It didn't work
However I'm sure this is the correct path. When I do that :
Finder open this window :
What about permissions in config.json?
Your error log seems to be clear: "no such file or directory".
Could you try opening a Terminal in your Mac and typing: "ls -lrt /utilisateurs/Florent/.homebridge/config.json
"?
Have you add this part in your config.json?
"credentials": {
"ip" : "your_local_eedomus_ip",
"api_user" : "your_eedomus_api_user",
"api_secret" : "your_eedomus_api_secret"
},
Okay I finally understood what's wrong. That was a translation issue. I had to change "utilisateurs" by "users". So the correct path is
/users/Florent/.homebridge/config.json
Sorry and thanks a lot for help.
Hi,
I have an issue with this plugin.
I try to solve it in change '/home/pi/.homebridge/config.json' by the correct path : '/utilisateurs/Florent/.hombridge/config.json' because I work on Mac OS X but it didn't work...
Anyone have an idee please ? Thanks
PS : I'm a noob and sorry for my broken English, I'm a French user.