Closed nusmiaf closed 3 years ago
oui j'ai bien arréter le plugins sur le pc , et j'ai réussis a crée la tache de demarage au demarage du nas mais le(s) Google home restent muet
je t'ai envoyer une courte vidéo du résultat obtenu sur => notifications@github.com
je clic sur mon soft qui envoie le push , le plugins le reçois bien , et le GH fait "Gling" et dit rien
Donc il reçoit bien, mais tu as juste un "bip" sur le Google Home… ça veut dire qu'il y a un problème avec le fichier audio…
Essaie peut-être d'utiliser une autre voix : https://aymkdn.github.io/assistant-plugins/?plugin=notifier#param-tre-voice-optionnel- – pour voir si le problème pourrait venir de là ?
(notifications@github.com est l'adresse de Github et pas la mienne. Cela dit, tu peux attacher des fichiers à une issue)
pas grave pour le fichier vidéo , c'est juste pour visualiser le " bip" et rien d'autre pas de message... pour info ça a fonctionner déjà aujourd’hui avec la " voix " d'origine j'ai du toucher un truc qu'il faillait pas comme a ma facheuse habitude
j'ai éditer le fichier conf.json et ça donne pas de bon résultat
Tu as oublié la virgule après "volume" : 45
Le formatage du fichier est important. Il faut le remplir attentivement.
je viens de corriger la virgule , ( et j'intègre pas les espace avant chaque ligne .. pour quoi c'est pas tout aligné)
j'y arrive pas putty me dit que ça va pas
Tu as encore un syntax error
donc quelque chose ne va pas dans ton fichier.
Format ton fichier (c'est à dire, mets des espaces pour aligner tes {
avec tes }
). À priori il t'en manque une fermante. Tu noteras d'ailleurs que ton éditeur de texte te colorise en rouge les accolades qui correspondent.
j'ai aligner les {} , effectivement il en manquait un ça a l'air beaucoup mieux , mais toujours le même résultat => "BIP" et pas de message
Je ne sais pas...
Essaie differentes choses comme :
Je ne sais pas...
Essaie differentes choses comme :
* redémarre tes Google Home / déja fait * envoie le message sans cible de Google Home / déja fait * change le message pour un truc plus court / en cours
un seul GH avec un seul mot pour message : résultat même pas de "bip" et pas de message non plus
pushbullet =
IFTTT=
tu voudrait pas prendre la main avec teamviewer ou autre pour voir si il y a pas un truc qui manque
[assistant] Assistant v2.0.13 : Chargement en cours...
[assistant] 2 plugins trouvés.
[assistant] Chargement du plugin 'ifttt' (v2.0.1)
[assistant-ifttt] Plugin chargé et prêt.
[assistant] Chargement du plugin 'notifier' (v2.1.11)
[assistant-notifier] Plugin chargé et prêt.
[assistant] Connexion au flux de PushBullet...
[assistant] (2021-01-24 21:17:17) Connecté ! Prêt à exécuter les ordres.
[assistant] (2021-01-24 21:17:26) Commande reçue: [
'notifier_{Bureau,Salon} Attention, ..! présence , allée, du garage'
]
[assistant] (2021-01-24 21:17:26) Appel du plugin 'notifier'
[assistant-notifier] (Bureau,Salon) Lecture du message : Attention, ..! présence , allée, du garage
(node:23073) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "options.port" property must be one of type number or string. Received func tion callback
at lookupAndConnect (net.js:997:13)
at TLSSocket.Socket.connect (net.js:976:5)
at Object.connect (_tls_wrap.js:1588:13)
at Client.connect (/volume1/homes/admin/assistant-plugins/node_modules/castv 2/lib/client.js:35:21)
at PlatformSender.connect (/volume1/homes/admin/assistant-plugins/node_modul es/castv2-client/lib/senders/platform.js:27:15)
at /volume1/homes/admin/assistant-plugins/node_modules/assistant-notifier/no tifier.js:36:13
at new Promise (--unhandl ed-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejecti ons_mode). (rejection id: 3)
(node:23073) [DEP0018] DeprecationWarning: Unhandled promise rejections are depr ecated. In the future, promise rejections that are not handled will terminate th e Node.js process with a non-zero exit code.
(node:23073) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "options.port" property must be one of type number or string. Received func tion callback
at lookupAndConnect (net.js:997:13)
at TLSSocket.Socket.connect (net.js:976:5)
at Object.connect (_tls_wrap.js:1588:13)
at Client.connect (/volume1/homes/admin/assistant-plugins/node_modules/castv 2/lib/client.js:35:21)
at PlatformSender.connect (/volume1/homes/admin/assistant-plugins/node_modul es/castv2-client/lib/senders/platform.js:27:15)
at /volume1/homes/admin/assistant-plugins/node_modules/assistant-notifier/no tifier.js:36:13
at new Promise (--unhandl ed-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejecti ons_mode). (rejection id: 4)
[assistant] (2021-01-24 21:17:26) Appel du plugin 'notifier'
[assistant-notifier] (Bureau,Salon) Lecture du message : Attention, ..! présence , allée, du garage
(node:23073) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "options.port" property must be one of type number or string. Received func tion callback
at lookupAndConnect (net.js:997:13)
at TLSSocket.Socket.connect (net.js:976:5)
at Object.connect (_tls_wrap.js:1588:13)
at Client.connect (/volume1/homes/admin/assistant-plugins/node_modules/castv 2/lib/client.js:35:21)
at PlatformSender.connect (/volume1/homes/admin/assistant-plugins/node_modul es/castv2-client/lib/senders/platform.js:27:15)
at /volume1/homes/admin/assistant-plugins/node_modules/assistant-notifier/no tifier.js:36:13
at new Promise (--unhandl ed-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejecti ons_mode). (rejection id: 3)
(node:23073) [DEP0018] DeprecationWarning: Unhandled promise rejections are depr ecated. In the future, promise rejections that are not handled will terminate th e Node.js process with a non-zero exit code.
(node:23073) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "options.port" property must be one of type number or string. Received func tion callback
at lookupAndConnect (net.js:997:13)
at TLSSocket.Socket.connect (net.js:976:5)
at Object.connect (_tls_wrap.js:1588:13)
at Client.connect (/volume1/homes/admin/assistant-plugins/node_modules/castv 2/lib/client.js:35:21)
at PlatformSender.connect (/volume1/homes/admin/assistant-plugins/node_modul es/castv2-client/lib/senders/platform.js:27:15)
at /volume1/homes/admin/assistant-plugins/node_modules/assistant-notifier/no tifier.js:36:13
at new Promise (--unhandl ed-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejecti ons_mode). (rejection id: 4)
Ton NAS est bien sur le même réseau que les Google Home (c'est-à-dire qu'il a une IP 192.168.1.x) ?
Non je ne veux pas me connecter avec TeamViewer. Là je regarde un film.
Une autre personne a eu la même erreur, à savoir The "options.port" property must be one of type number or string
mais il a arrêté de répondre à mes messages donc on n'a jamais pu aller au bout de la résolution...
oui tout est sous le même réseau évidement tu fait ta vie pas de souci mais si a un moment ou ça ne te dérange pas, je pense que on gagnera du temps plutôt que je fasse des bêtise par ignorance et que je t’inonde de message a chaque faut pas ....
j'ai remis tout comme au départ , donc plus d'erreur mais toujours au point ou ça bip et c'est tout
Quelle est la différence entre avant The "options.port" property must be one of type number or string
et maintenant (plus d'erreur qui s'affiche) ? Tu as modifié quoi ?
Pour TeamViewer, éventuellement demain matin... Mais pas sûr que je puisse faire quelque chose....
j'ai mis le config.json sans changer la voix : { "main": { "pushbullet_token": "o.cF6jm38o59VWw1PqEZfhTYeJehSnX" }, "plugins": { "ifttt": { "key": "bUgWXi2EwC4IMenDPW" }, "notifier": { "host": { "Bureau":"192.168.1.230", "Salon":"192.168.1.220", "Garage":"192.168.1.221", "Max":"192.168.1.223", "volume": 30 } } } }
mais te casse pas la tête on est samedi je suis dessus depuis hier pour le pc et ce matin pour le Nas j'en ai pleins les bottes
quand tu est dispo ... ça peu attendre même lundi même un autre jour.. passe une bonne soiée regarde ton film tranquillement
et pour la 50eme fois MERCI
Envoie moi un mail sur aymeric@kodono.info et demain matin je te mail vers 10h si je peux
ok je te remerci
Bonjour Aymeric , donc après que le Nas ai fini ça vérification des disques , tout fonctionne ! le plugins et l'auto start au démarrage du Nas je te remercierais jamais asser pour ton aide et ta patience avec moi bonne continuation pour tes développements informatique
bye
Ah je pensais justement à toi à l'instant ! OK cool que ça fonctionne :-)
Bonjour, j'ai une mauvaise nouvelle... ca ne fonctionne plus... faut avoir un compte pro sur pushbulet 😭
bonjour Aymkdn, je reviens après plusieurs année , je n'ai plus de freebox ( c'est sfr dans ma nouvelle ville ) ma question est :+1: est ce que " notifier " peux fonctionner tout seul , j'ai uniquement besoins de push vers google home
merci