[Plugin Tiers][Sujet Principal] Dash Button Amazon
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
Par "appel", je faisais référence à des appels API
Dès que j'ai un peu de temps, je regarde s'ils n'ont pas publié quelque-chose, ou si quelqu'un a tenté de s'attaquer à ce problème. Mais c'est pas gagné...
Dès que j'ai un peu de temps, je regarde s'ils n'ont pas publié quelque-chose, ou si quelqu'un a tenté de s'attaquer à ce problème. Mais c'est pas gagné...
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
bonjour moi je peux toujours les configure en wifi sur app amazon et merci a flodus pour son tuto tout marche bien
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
Salut,
Dis moi tu es membre amazon prime?
Car moi je n'ai plus accès a la conf dashbouton
Développement script:
- ssh_commande.php
- ip_public.sh
- BackupSamba.sh
- ssh_commande.php
- ip_public.sh
- BackupSamba.sh
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
Bonjour,
je suis en train de migrer de Mini+ jessie vers RPI 3B+ avec SSD (stretch).
J’ai restaure ma sauvegarde et j’ai encore quelques plugins qui ne sont pas ok dont dashbutton
Mes dependances sont marquees ok mais en lisant le log ca n’a pas si ok que ca
Des idees?
Merci d'avance
je suis en train de migrer de Mini+ jessie vers RPI 3B+ avec SSD (stretch).
J’ai restaure ma sauvegarde et j’ai encore quelques plugins qui ne sont pas ok dont dashbutton
Mes dependances sont marquees ok mais en lisant le log ca n’a pas si ok que ca
Code : Tout sélectionner
Début de l'installation
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
libpcap-dev is already the newest version (1.8.1-3).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
--2019-10-25 10:30:09-- https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.84.133
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|151.101.84.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1491 (1,5K) [text/plain]
Sauvegarde en : « dependencies.sh »
0K . 100% 1,09M=0,001s
2019-10-25 10:30:09 (1,09 MB/s) — « dependencies.sh » sauvegardé [1491/1491]
dependencies.sh: 3: [: dashbutton: unexpected operator
Version actuelle : 12
Réception de:1 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB]
Atteint:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Atteint:3 https://deb.nodesource.com/node_12.x stretch InRelease
25,4 ko réceptionnés en 1s (16,3 ko/s)
Lecture des listes de paquets…
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
lsb-release is already the newest version (9.20161125+rpi1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Ok, version suffisante
> socketwatcher@0.3.0 install /var/www/html/plugins/dashbutton/resources/node_modules/socketwatcher
> node-gyp rebuild
make : on entre dans le répertoire « /var/www/html/plugins/dashbutton/resources/node_modules/socketwatcher/build »
CXX(target) Release/obj.target/socketwatcher/socket_watcher.o
../socket_watcher.cpp: In static member function ‘static void SocketWatcher::Initialize(v8::Local<v8::Object>)’:
../socket_watcher.cpp:29:36: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
constructor.Reset(t->GetFunction());
^
In file included from /var/www/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../socket_watcher.hpp:8,
from ../socket_watcher.cpp:5:
/var/www/.cache/node-gyp/12.13.0/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/var/www/.cache/node-gyp/12.13.0/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../socket_watcher.cpp:30:75: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
exports->Set(Nan::New("SocketWatcher").ToLocalChecked(), t->GetFunction());
^
In file included from /var/www/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../socket_watcher.hpp:8,
from ../socket_watcher.cpp:5:
/var/www/.cache/node-gyp/12.13.0/include/node/v8.h:5995:46: note: candidate: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
^~~~~~~~~~~
/var/www/.cache/node-gyp/12.13.0/include/node/v8.h:5995:46: note: candidate expects 1 argument, 0 provided
../socket_watcher.cpp: In static member function ‘static void SocketWatcher::Callback(uv_poll_t*, int, int)’:
../socket_watcher.cpp:77:60: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(watcher->handle(), callback, argc, argv);
^
In file included from ../socket_watcher.hpp:8:0,
from ../socket_watcher.cpp:5:
../../nan/nan.h:1024:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
../socket_watcher.cpp: In static member function ‘static void SocketWatcher::Set(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../socket_watcher.cpp:116:32: error: no matching function for call to ‘v8::Value::Int32Value()’
int fd = info[0]->Int32Value();
^
In file included from /var/www/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../socket_watcher.hpp:8,
from ../socket_watcher.cpp:5:
/var/www/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
^~~~~~~~~~
/var/www/.cache/node-gyp/12.13.0/include/node/v8.h:2613:40: note: candidate expects 1 argument, 0 provided
socketwatcher.target.mk:107 : la recette pour la cible « Release/obj.target/socketwatcher/socket_watcher.o » a échouée
make: *** [Release/obj.target/socketwatcher/socket_watcher.o] Erreur 1
make : on quitte le répertoire « /var/www/html/plugins/dashbutton/resources/node_modules/socketwatcher/build »
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/html/plugins/dashbutton/resources/node_modules/socketwatcher
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the socketwatcher@0.3.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /var/www/.npm/_logs/2019-10-25T08_30_43_118Z-debug.log
Fin de l'installation
Merci d'avance
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
PHDB a écrit : ↑25 oct. 2019, 10:41Code : Tout sélectionner
npm ERR! A complete log of this run can be found in: npm ERR! /var/www/.npm/_logs/2019-10-25T08_30_43_118Z-debug.log
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
voila le fichier en question
- Pièces jointes
-
- 2019-10-25T08_30_43_118Z-debug.log
- (98.44 Kio) Téléchargé 36 fois
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
De quels node_modules on parle dans ce lien?
En cherchant j'en ai quand meme un paquet
Note: mon log dashbutton_node est rempli de
En cherchant j'en ai quand meme un paquet
Code : Tout sélectionner
/usr/lib/node_modules
/usr/lib/node_modules/npm/node_modules
/usr/lib/node_modules/npm/node_modules/got/node_modules
/usr/lib/node_modules/npm/node_modules/flush-write-stream/node_modules
/usr/lib/node_modules/npm/node_modules/pacote/node_modules
/usr/lib/node_modules/npm/node_modules/string-width/node_modules
/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules
/usr/lib/node_modules/npm/node_modules/through2/node_modules
/usr/lib/node_modules/npm/node_modules/fs-minipass/node_modules
/usr/lib/node_modules/npm/node_modules/minipass/node_modules
/usr/lib/node_modules/npm/node_modules/is-ci/node_modules
/usr/lib/node_modules/npm/node_modules/sorted-union-stream/node_modules
/usr/lib/node_modules/npm/node_modules/run-queue/node_modules
/usr/lib/node_modules/npm/node_modules/cliui/node_modules
/usr/lib/node_modules/npm/node_modules/from2/node_modules
/usr/lib/node_modules/npm/node_modules/concat-stream/node_modules
/usr/lib/node_modules/npm/node_modules/move-concurrently/node_modules
/usr/lib/node_modules/npm/node_modules/cross-spawn/node_modules
/usr/lib/node_modules/npm/node_modules/libnpmconfig/node_modules
/usr/lib/node_modules/npm/node_modules/debug/node_modules
/usr/lib/node_modules/npm/node_modules/parallel-transform/node_modules
/usr/lib/node_modules/npm/node_modules/yargs/node_modules
/usr/lib/node_modules/npm/node_modules/wide-align/node_modules
/usr/lib/node_modules/npm/node_modules/pumpify/node_modules
/usr/lib/node_modules/npm/node_modules/are-we-there-yet/node_modules
/usr/lib/node_modules/npm/node_modules/normalize-package-data/node_modules
/usr/lib/node_modules/npm/node_modules/gentle-fs/node_modules
/usr/lib/node_modules/npm/node_modules/execa/node_modules
/usr/lib/node_modules/npm/node_modules/rc/node_modules
/usr/lib/node_modules/npm/node_modules/promise-retry/node_modules
/usr/lib/node_modules/npm/node_modules/gauge/node_modules
/usr/lib/node_modules/npm/node_modules/duplexify/node_modules
/usr/lib/node_modules/npm/node_modules/tar/node_modules
/usr/lib/node_modules/npm/node_modules/fs-write-stream-atomic/node_modules
/usr/lib/node_modules/npm/node_modules/copy-concurrently/node_modules
/usr/lib/node_modules/npm/node_modules/wrap-ansi/node_modules
/usr/lib/node_modules/npm/node_modules/stream-iterate/node_modules
/usr/lib/node_modules/npm/node_modules/socks-proxy-agent/node_modules
/var/www/html/plugins/dashbutton/node/node_modules
/var/www/html/plugins/dashbutton/node/node_modules/cryptiles/node_modules
/var/www/html/plugins/dashbutton/resources/node_modules
/var/www/html/plugins/dashbutton/resources/node_modules/tough-cookie/node_modules
Code : Tout sélectionner
Error: Cannot find module 'node-dash-button'
Require stack:
- /var/www/html/plugins/dashbutton/resources/dashbutton.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/var/www/html/plugins/dashbutton/resources/dashbutton.js:1:19)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/dashbutton/resources/dashbutton.js' ]
}
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
euh moi ça avait fonctionné, mais là impossible de reproduire les étapes, ça m'indique une erreur est survenue ....
du coup je vais sur le centre d'aide amazon et je tombe sur ça ! :
"À compter du 31 août 2019, vous n'êtes plus en mesure d'utiliser vos appareils Dash Button pour commander à nouveau des articles.
Votre bouton sera automatiquement désenregistré et réinitialisé le 31 décembre 2019. "
Ils réinitialisent à distance ???? ça va faire tomber notre connexion réseau ?
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
J'ai fait dans l'App :
- menu
- voir tous les programmes
- vos dash buttons
- menu
- paramètres
- "gérer les appareils" est vide et "configurer un nouveau bouton physique" indiqué une erreur tout de suite.
- menu
- voir tous les programmes
- vos dash buttons
- menu
- paramètres
- "gérer les appareils" est vide et "configurer un nouveau bouton physique" indiqué une erreur tout de suite.
Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon
Idem, ça ne fonctionne plus sur l'app Amazon..
Qui est en ligne ?
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 2 invités