Closed frhx closed 6 years ago
Quand tu essaies d'ouvrir le lien http://hd1.freebox.fr/pub/remote_control?code=6255637&key=power dans ton navigateur, qu'as-tu comme message ?
Et est-ce que la Freebox s'allume / éteint ?
non elle s'eteint pas et j'ai ce message quand je colle l'url dans le navigateur You don't have permission to access this file on this server. Cheyenne/2.2.8 Server at localhost Port 80
Ce message apparait lorsque le code télécommande est incorrect.... Tu n'as qu'un Freebox Player chez toi ?
non j'en ai deux
mais j'ai bien attribué le nom du bon boitier
Ah ! Donc tu essaies sûrement le code télécommande la mauvaise box. Essaie de remplacer hd1
par hd2
dans la configuration et de garder le même code télécommande
j'ai essayé... ça ne fonctionne pas :-(
hd1 représente une box. hd2 représente l'autre box. Ensuite à toi de tester dans ton navigateur avec les différents codes télécommandes et avec hd1 ou hd2. Et de trouver la bonne combinaison.
ok je vais essayer mais je n'arrive plus a relancer l'install via node index.js
ntaxError: /Users/francoiscounil/Downloads/assistant-plugins/configuration.json: Unexpected token in JSON at position 154
at JSON.parse (
"main": { "pushbullet_token": "o.BRzzdEnx8Tt7aq8rALIzhxv1nJCxTEed" }, "plugins": { "freebox": { "code_telecommande": "6255637" , "search_path": "/Disque dur/Vidéos/", "use_Mon_Bouquet": false, "box_to_control": "hd2", "app_token": "DDxVAti2iVnAezvn4KPc1WKgn9+lnQTbRl8wQGGpfRZgAiBO3RLADDERL4yNsd6q" }, "ifttt": { "key": "xxx" }, "notifier": { "host": "192.168.0.11" } $
Pour le moment, teste dans ton navigateur les différentes URL pour trouver la bonne combinaison.
tu avais raison c'est la hd2
maintenant je vois pas ou est mon erreur de syntaxe
Il manque un }
à la fin du fichier
ou ça
Fichier configuration.json
{ "main": { "pushbullet_token": "o.BRzzdEnx8Tt7aq8rALIzhxv1nJCxTEed" }, "plugins": { "freebox": { "code_telecommande": "6255637" , "search_path": "/Disque dur/Vidéos/", "use_Mon_Bouquet": false, "box_to_control": "hd2", "app_token": "DDxVAti2iVnAezvn4KPc1WKgn9+lnQTbRl8wQGGpfRZgAiBO3RLADDERL4yNsd6q" }, "ifttt": { "key": "xxx" }, "notifier": { "host": "192.168.0.11" } } }
la c'est OK ?
toujours la meme erreur..
Une de trop cette fois... Ça doit être :
{
"main": {
"pushbullet_token": "o.BRzzdEnx8Tt7aq8rALIzhxv1nJCxTEed"
},
"plugins": {
"freebox": {
"code_telecommande": "6255637" ,
"search_path": "/Disque dur/Vidéos/",
"use_Mon_Bouquet": false,
"box_to_control": "hd2",
"app_token": "DDxVAti2iVnAezvn4KPc1WKgn9+lnQTbRl8wQGGpfRZgAiBO3RLADDERL4yNsd6q"
},
"ifttt": {
"key": "xxx"
},
"notifier": {
"host": "192.168.0.11"
}
}
je comprends pas
desolé d'etre lourd vca ne fonctionne toujours pas
SyntaxError: /Users/francoiscounil/Downloads/assistant-plugins/configuration.json: Unexpected end of JSON input
at JSON.parse (
Efface tout et recommence, ça sera plus simple :-)
je pense oui je rprends tout à zero
merci de ton aide
bon ça marche le probleme maintenant quand je lui dit zappe sur une chaine il eteint la freebox
As-tu activé le Air Media sur la box que tu souhaites piloter ? (https://aymkdn.github.io/assistant-plugins/?plugin=freebox)
<bonjour j,ai tout installé correctement mais la console me dit que mon code telecommande est erronné alors que j'ai verifié cent fois et c'est le bon [assistant-freebox] Commande « off » exécutée [assistant] Commande reçue: [ 'freebox_off' ] [assistant] Appelle du plugin 'freebox' [assistant-freebox] Url => http://hd1.freebox.fr/pub/remote_control?code=6255637&key=power [assistant-freebox] Erreur : le code télécommande fourni (6255637) est incorrect !