Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers][Sujet Principal] Dash Button Amazon

Pour échanger sur les plugins classés en catégorie "Objets connectés"
Micramaniac
Timide
Messages : 216
Inscription : 17 oct. 2017, 11:22

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Micramaniac » 17 nov. 2017, 08:04

Merci pour votre aide :D
la commande

sudo apt-get install npm

a bien fonctionné.

les dependances et le démon sont OK!!
Le dash button fonctionne

j'aime bien comprendre ce que je fais, vous pouvez m'expliquer ce que c'est que ce paquet npm et à quoi il sert?
Merci


Micramaniac
Timide
Messages : 216
Inscription : 17 oct. 2017, 11:22

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Micramaniac » 17 nov. 2017, 13:03

Merci

PHDB
Timide
Messages : 298
Inscription : 01 mars 2016, 13:42

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par PHDB » 19 nov. 2017, 16:32

Bonjour,

Ayant déménagé et changé de Wifi, j'ai reconfiguré mes Dash dans l'appli Amazon pour qu'ils se connectent correctement, addresse IP fixée dans le routeur.
Par contre mon demon Dash est en NOK et pas moyen de le relancer. J'ai désactivé puis réactivé le plugin et j'ai dans "Dashbutton_node" l'erreur suivante.

Code : Tout sélectionner

module.js:341
throw err;
^
Error: Cannot find module 'node-dash-button'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/www/html/plugins/dashbutton/node/dashbutton.js:1:81)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
module.js:341
throw err;
^
Error: Cannot find module 'node-dash-button'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/www/html/plugins/dashbutton/node/dashbutton.js:1:81)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
module.js:341
throw err;
^
Error: Cannot find module 'node-dash-button'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/www/html/plugins/dashbutton/node/dashbutton.js:1:81)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
Lisant ce thread j'ai voulu faire sudo apt-get install npm mais ca me donne des erreurs bizarres, comme s'il manquait d'autres packages.
En ajoutant nodejs (deja installé) puis node-abbrev, j'ai toujours la meme erreur avec npm. Cela vaut-il la peine de continuer a essayer d'installer la liste des packages?

Code : Tout sélectionner

debian@linux:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs but it is not going to be installed
       Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
       Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
       Depends: node-ansi-color-table but it is not going to be installed
       Depends: node-archy but it is not going to be installed
       Depends: node-block-stream but it is not going to be installed
       Depends: node-fstream (>= 0.1.22) but it is not going to be installed
       Depends: node-fstream-ignore but it is not going to be installed
       Depends: node-github-url-from-git but it is not going to be installed
       Depends: node-glob (>= 3.1.21) but it is not going to be installed
       Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
       Depends: node-inherits but it is not going to be installed
       Depends: node-ini (>= 1.1.0) but it is not going to be installed
       Depends: node-lockfile but it is not going to be installed
       Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
       Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
       Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
       Depends: node-gyp (>= 0.10.9) but it is not going to be installed
       Depends: node-nopt (>= 3.0.1) but it is not going to be installed
       Depends: node-npmlog but it is not going to be installed
       Depends: node-once but it is not going to be installed
       Depends: node-osenv but it is not going to be installed
       Depends: node-read but it is not going to be installed
       Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
       Depends: node-request (>= 2.25.0) but it is not going to be installed
       Depends: node-retry but it is not going to be installed
       Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
       Depends: node-semver (>= 2.1.0) but it is not going to be installed
       Depends: node-sha but it is not going to be installed
       Depends: node-slide but it is not going to be installed
       Depends: node-tar (>= 0.1.18) but it is not going to be installed
       Depends: node-underscore but it is not going to be installed
       Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
debian@linux:~$ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
debian@linux:~$ sudo apt-get install node-abbrev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  node-abbrev
0 upgraded, 1 newly installed, 0 to remove and 55 not upgraded.
Need to get 3,540 B of archives.
After this operation, 37.9 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian/ jessie/main node-abbrev all 1.0.5-2 [3,540 B]
Fetched 3,540 B in 0s (10.9 kB/s)
Selecting previously unselected package node-abbrev.
(Reading database ... 57284 files and directories currently installed.)
Preparing to unpack .../node-abbrev_1.0.5-2_all.deb ...
Unpacking node-abbrev (1.0.5-2) ...
Setting up node-abbrev (1.0.5-2) ...
debian@linux:~$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 npm : Depends: nodejs but it is not going to be installed
       Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
       Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
       Depends: node-ansi-color-table but it is not going to be installed
       Depends: node-archy but it is not going to be installed
       Depends: node-block-stream but it is not going to be installed
       Depends: node-fstream (>= 0.1.22) but it is not going to be installed
       Depends: node-fstream-ignore but it is not going to be installed
       Depends: node-github-url-from-git but it is not going to be installed
       Depends: node-glob (>= 3.1.21) but it is not going to be installed
       Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
       Depends: node-inherits but it is not going to be installed
       Depends: node-ini (>= 1.1.0) but it is not going to be installed
       Depends: node-lockfile but it is not going to be installed
       Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
       Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
       Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
       Depends: node-gyp (>= 0.10.9) but it is not going to be installed
       Depends: node-nopt (>= 3.0.1) but it is not going to be installed
       Depends: node-npmlog but it is not going to be installed
       Depends: node-once but it is not going to be installed
       Depends: node-osenv but it is not going to be installed
       Depends: node-read but it is not going to be installed
       Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
       Depends: node-request (>= 2.25.0) but it is not going to be installed
       Depends: node-retry but it is not going to be installed
       Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
       Depends: node-semver (>= 2.1.0) but it is not going to be installed
       Depends: node-sha but it is not going to be installed
       Depends: node-slide but it is not going to be installed
       Depends: node-tar (>= 0.1.18) but it is not going to be installed
       Depends: node-underscore but it is not going to be installed
       Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

MaAamie
Timide
Messages : 266
Inscription : 21 mai 2017, 13:53
Localisation : Pas-de-Calais

[Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par MaAamie » 24 nov. 2017, 06:41

Petit info black friday, Dash Button a 1,99 —> https://www.amazon.fr/b/ref=as_li_ss_t ... 0909388031


Envoyé de mon iPhone en utilisant Tapatalk
Cordialement.

zumperio
Timide
Messages : 1
Inscription : 25 nov. 2017, 15:28

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par zumperio » 25 nov. 2017, 21:01

Bonsoir.
Tout d'abord, je m'excuse pour la langue, je suis espagnol et j'utilise le traducteur google pour écrire en français.
Mon tableau de bord ne fonctionne pas, l'enregistrement du plugin me dit ce qui suit:

Error: Module version mismatch. Expected 46, got 14.
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/var/www/html/plugins/dashbutton/node/node_modules/node-dash-button/node_modules/pcap/pcap.js:3:21)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)

Merci pour tout!
Salutations

vsir
Timide
Messages : 1
Inscription : 29 nov. 2017, 07:27

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par vsir » 29 nov. 2017, 07:37

Bonsoir,

Je viens de reçevoir un Dash Button Model FK29LP. Apres avoir pas mal cherché affin de trouver l'adr mac, j'ai trouve une astuce simple.
Apres avoir fait la procedure amazon pour le connecter au wifi.
Appuyer 6 sec sur le bouton, jusqu'au clignottement de la Led en bleu.
Dans vos reseaux wi-fi ce connecter au reseau Amazon ConfigureMe.
Dans un navigateur naviguer vers 192.168.0.1

et voila
Capture.JPG
Capture.JPG (24.14 Kio) Consulté 1277 fois

Joan
Timide
Messages : 2
Inscription : 02 déc. 2017, 21:47

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Joan » 02 déc. 2017, 22:06

Bonsoir,
Je viens de recevoir mon dash button. Mais le plugin ne détecte pas les appuis.
Installation du plugin Ok (Juste quelques warning).
Le démon est en OK
Mais le log DASbutton_node reste désespérément vide (même en mode debug).

Pour info j’ai la version 3.1.7 de Jeedom sur un raspberry pi 3 relié en RJ45 à ma box qui sert de routeur wifi.
(L'adresse IP de Jeedom est bien configurée et j'ai mis l'adresse MAC en majuscule comme conseillé en début de discution)
Le problème vient-il du fait que jeedom n’est pas directement connecté au WIFI ?
Une idée pour faire que ça fonctionne ?
Merci

Log d'installation

Code : Tout sélectionner

Début de l'installation
Reading package lists...
Building dependency tree...
Reading state information...
libpcap-dev is already the newest version.
tcpdump is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 160 not upgraded.
Version actuelle : v5.12.0
Ok, version suffisante
/var/www/html/plugins/dashbutton/node
`-- request@2.83.0
+-- aws-sign2@0.7.0
+-- aws4@1.6.0
+-- caseless@0.12.0
+-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- extend@3.0.1
+-- forever-agent@0.6.1
+-- form-data@2.3.1
| `-- asynckit@0.4.0
+-- har-validator@5.0.3
| +-- ajv@5.5.1
| | +-- co@4.6.0
| | +-- fast-deep-equal@1.0.0
| | +-- fast-json-stable-stringify@2.0.0
| | `-- json-schema-traverse@0.3.1
| `-- har-schema@2.0.0
+-- hawk@6.0.2
| +-- boom@4.3.1
| +-- cryptiles@3.1.2
| | `-- boom@5.2.0
| +-- hoek@4.2.0
| `-- sntp@2.1.0
+-- http-signature@1.2.0
| +-- assert-plus@1.0.0
| +-- jsprim@1.4.1
| | +-- extsprintf@1.3.0
| | +-- json-schema@0.2.3
| | `-- verror@1.10.0
| |   `-- core-util-is@1.0.2
| `-- sshpk@1.13.1
|   +-- asn1@0.2.3
|   +-- bcrypt-pbkdf@1.0.1
|   +-- dashdash@1.14.1
|   +-- ecc-jsbn@0.1.1
|   +-- getpass@0.1.7
|   +-- jsbn@0.1.1
|   `-- tweetnacl@0.14.5
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.17
| `-- mime-db@1.30.0
+-- oauth-sign@0.8.2
+-- performance-now@2.1.0
+-- qs@6.5.1
+-- safe-buffer@5.1.1
+-- stringstream@0.0.5
+-- tough-cookie@2.3.3
| `-- punycode@1.4.1
+-- tunnel-agent@0.6.0
`-- uuid@3.1.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/dashbutton/node/package.json'
npm WARN node No description
npm WARN node No repository field.
npm WARN node No README data
npm WARN node No license field.
> socketwatcher@0.3.0 install /var/www/html/plugins/dashbutton/node/node_modules/socketwatcher
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.12.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/html/plugins/dashbutton/node/node_modules/socketwatcher/.node-gyp"
make: Entering directory '/var/www/html/plugins/dashbutton/node/node_modules/socketwatcher/build'
CXX(target) Release/obj.target/socketwatcher/socket_watcher.o
SOLINK_MODULE(target) Release/obj.target/socketwatcher.node
COPY Release/socketwatcher.node
make: Leaving directory '/var/www/html/plugins/dashbutton/node/node_modules/socketwatcher/build'
> pcap@2.0.0 install /var/www/html/plugins/dashbutton/node/node_modules/pcap
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.12.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/html/plugins/dashbutton/node/node_modules/pcap/.node-gyp"
make: Entering directory '/var/www/html/plugins/dashbutton/node/node_modules/pcap/build'
CXX(target) Release/obj.target/pcap_binding/pcap_binding.o
CXX(target) Release/obj.target/pcap_binding/pcap_session.o
SOLINK_MODULE(target) Release/obj.target/pcap_binding.node
COPY Release/pcap_binding.node
make: Leaving directory '/var/www/html/plugins/dashbutton/node/node_modules/pcap/build'
/var/www/html/plugins/dashbutton/node
+-- node-dash-button@0.6.1
| +-- pcap@2.0.0  (git+https://github.com/mranney/node_pcap.git#b4eb828fbfb3ad9a253351aa38cb41c203589712)
| | +-- nan@2.8.0
| | `-- socketwatcher@0.3.0
| `-- underscore@1.8.3
`-- request@2.83.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/dashbutton/node/package.json'
npm WARN node No description
npm WARN node No repository field.
npm WARN node No README data
npm WARN node No license field.

Code : Tout sélectionner

[2017-12-02 19:12:10][INFO] : Arrêt du service dashbutton
[2017-12-02 19:12:12][INFO] : Arrêt du service dashbutton
[2017-12-02 19:12:12][INFO] : Lancement du démon dashbutton
[2017-12-02 19:12:12][DEBUG] : nodejs /var/www/html/plugins/dashbutton/node/dashbutton.js http://127.0.0.1:80/plugins/dashbutton/core/api/jeeDash.php?apikey=6PXBQHKKFLmZEcWBq92T3jP3IadNdEcg 24:DF:6A:33:7B:75 0
[2017-12-02 19:12:12][INFO] : Démon dashbutton lancé
[2017-12-02 19:12:40][INFO] : Arrêt du service dashbutton
[2017-12-02 19:12:53][INFO] : Arrêt du service dashbutton
[2017-12-02 19:12:53][INFO] : Lancement du démon dashbutton
[2017-12-02 19:12:53][DEBUG] : nodejs /var/www/html/plugins/dashbutton/node/dashbutton.js http://127.0.0.1:80/plugins/dashbutton/core/api/jeeDash.php?apikey=6PXBQHKKFLmZEcWBq92T3jP3IadNdEcg 24:DF:6A:33:7B:75 0
[2017-12-02 19:12:53][INFO] : Démon dashbutton lancé
[2017-12-02 19:13:11][INFO] : Installation des dépéndances nodejs

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Fabrice » 02 déc. 2017, 23:46

Bonsoir,

Cela ne vient pas de votre connexion wifi ou filaire, à partir du moment que votre WIFI est dans le même réseau.

Vous avez bien intégré votre bouton sur l'application Amazon ?
Le bouton est bien connecté à votre réseau wifi ?
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

Anonyme
Actif
Messages : 10082
Inscription : 09 août 2014, 12:15

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Anonyme » 02 déc. 2017, 23:51

Contenu supprimé à la demande de son auteur

Avatar de l’utilisateur
Jeandhom
Actif
Messages : 1386
Inscription : 20 oct. 2015, 17:32

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Jeandhom » 03 déc. 2017, 11:22

Cela ne résoudra, certainement, pas le problème, mais tu as 160 paquets non mis à jour.

Un

Code : Tout sélectionner

sudo apt-get update && apt-get upgrade
ne ferait pas de mal.

Joan
Timide
Messages : 2
Inscription : 02 déc. 2017, 21:47

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Joan » 03 déc. 2017, 22:47

Merci pour vos réponses.
Le bouton fonctionne j'ai pu récupérer son adresse Mac depuis ma box.
Et oui je l'ai bien ajouté au plugin.

Effectivement cela fait longtemps que je n'ai rien mis à jour autre que Jeedom.

Chrissy2
Timide
Messages : 18
Inscription : 14 avr. 2017, 00:15

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Chrissy2 » 16 déc. 2017, 01:01

Pour info: bien respecter le format de l'adresse MAC du Dash
J'ai un peu galéré pour faire fonctionner le plugin parce que j'avais mal saisi l'adresse MAC de mon bouton.
J'ai recopié directement l'adresse récupérée sur mon routeur Or elle était au format: xx-xx-xx-xx-xx-xx ... Alors que le format attendu est xx:xx:xx:xx:xx:xx
Matériel:
DIY RPI3, Z-Stick Aeon Labs Gen5, Broadlink RM-Pro, 10 modules Z-Wave Fibaro (switch, RGBW controller, roller shutter, wallplug, door sensor, smoke detector) & Kubino (pilot wire)

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Fabrice » 16 déc. 2017, 11:10

Suite à votre remarque, je viens de proposer un petit ajout dans la documentation de ce plugin. Le format attendue de l'adresse MAC sera maintenant présent dans la documentation.

Merci.
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

Avatar de l’utilisateur
Domoris
Timide
Messages : 5
Inscription : 28 août 2017, 09:02
Localisation : Gatineau
Contact :

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Domoris » 18 déc. 2017, 22:03

MaAamie a écrit :
24 nov. 2017, 06:41
Petit info black friday, Dash Button a 1,99 —> https://www.amazon.fr/b/ref=as_li_ss_t ... 0909388031


Envoyé de mon iPhone en utilisant Tapatalk
Concernant Dash Button, en général cette idée du bouton qui pense de vos besoins me seble intéressante, mais perso je ne l'utilisais jamais moi-même. Si quelqu'un d'ici l'utilise, est-ce que c'est vraiment pratique et vaut la peine? Merci de partager votre expérience.
Jeedom Smart (Zwave + EnOcean) | Xiaomi Gateway | HOME EASY- He851 | iRobot Roomba 980
HC: Philips Smart 55" + Eltax Monitor 91 HC + Onkyo TX-RZ810
Thermostat: Netatmo NTH01

Avatar de l’utilisateur
Jeandhom
Actif
Messages : 1386
Inscription : 20 oct. 2015, 17:32

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Jeandhom » 19 déc. 2017, 10:34

Je pense que personne, ici, utilise le Dash Button pour faire ses courses chez Amazon, mais plutôt comme une télécommande pour inter réagir avec Jeedom via ce plugin.
D'ailleurs, ce plugin, va au-delà de l'utilisation avec le Dash Button. Moi, je l'utilise avec un pèse-personne connecté pour déclencher des actions dans ma salle de bain.

Chrissy2
Timide
Messages : 18
Inscription : 14 avr. 2017, 00:15

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Chrissy2 » 29 déc. 2017, 11:46

Bonjour,

Y a-t-il moyen de faire revenir le Dash à son état initial plus rapidement?
A l'heure actuelle, lorsqu'on appuie sur le bouton, il passe à 1 pendant environ deux min, puis revient à 0. Du coup, pendant ce délai de 2 min tout nouvel appui sur le Dash ne sera pas pris en compte par Jeedom.

Merci!
Matériel:
DIY RPI3, Z-Stick Aeon Labs Gen5, Broadlink RM-Pro, 10 modules Z-Wave Fibaro (switch, RGBW controller, roller shutter, wallplug, door sensor, smoke detector) & Kubino (pilot wire)

Avatar de l’utilisateur
Fabrice
Modérateur
Messages : 3424
Inscription : 27 oct. 2016, 22:26
Localisation : Planète terre, IDF, 93

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Fabrice » 29 déc. 2017, 11:49

Bonjour,

C'est le bouton qui est comme cela. C'est pour des usages basique, du type "je sort, je rentre". Mais pas pour les actions rapide, j'allume, j'éteint.
Pour cela, préférez une vrais télécommande ou des actionneurs de type RFXCom.
Helper Officiel Jeedom
- Jeedom : 3.3.36
- Protocole : Z-Wave / RFXcom / BLEA
- Raspberry Pi : Pi 3 B+ / Pi 3 B / Pi Zero W

Yo_Fr
Timide
Messages : 3
Inscription : 05 janv. 2018, 12:24

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par Yo_Fr » 08 janv. 2018, 22:55

Bonjour,
Je n'arrive pas à détecté mon nouveau et unique Dash depuis le Jeedom

Voici les differents screens qui montrent l'installation:
dashbutton.PNG
dashbutton.PNG (38.53 Kio) Consulté 1014 fois


DashButton_dependance:

Code : Tout sélectionner

Début de l'installation
Reading package lists...
Building dependency tree...
Reading state information...
libpcap-dev is already the newest version.
tcpdump is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Version actuelle : v5.12.0
Ok, version suffisante
/var/www/html/plugins/dashbutton/node
`-- request@2.83.0
+-- aws-sign2@0.7.0
+-- aws4@1.6.0
+-- caseless@0.12.0
+-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- extend@3.0.1
+-- forever-agent@0.6.1
+-- form-data@2.3.1
| `-- asynckit@0.4.0
+-- har-validator@5.0.3
| +-- ajv@5.5.2
| | +-- co@4.6.0
| | +-- fast-deep-equal@1.0.0
| | +-- fast-json-stable-stringify@2.0.0
| | `-- json-schema-traverse@0.3.1
| `-- har-schema@2.0.0
+-- hawk@6.0.2
| +-- boom@4.3.1
| +-- cryptiles@3.1.2
| | `-- boom@5.2.0
| +-- hoek@4.2.0
| `-- sntp@2.1.0
+-- http-signature@1.2.0
| +-- assert-plus@1.0.0
| +-- jsprim@1.4.1
| | +-- extsprintf@1.3.0
| | +-- json-schema@0.2.3
| | `-- verror@1.10.0
| |   `-- core-util-is@1.0.2
| `-- sshpk@1.13.1
|   +-- asn1@0.2.3
|   +-- bcrypt-pbkdf@1.0.1
|   +-- dashdash@1.14.1
|   +-- ecc-jsbn@0.1.1
|   +-- getpass@0.1.7
|   +-- jsbn@0.1.1
|   `-- tweetnacl@0.14.5
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.17
| `-- mime-db@1.30.0
+-- oauth-sign@0.8.2
+-- performance-now@2.1.0
+-- qs@6.5.1
+-- safe-buffer@5.1.1
+-- stringstream@0.0.5
+-- tough-cookie@2.3.3
| `-- punycode@1.4.1
+-- tunnel-agent@0.6.0
`-- uuid@3.1.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/dashbutton/node/package.json'
npm WARN node No description
npm WARN node No repository field.
npm WARN node No README data
npm WARN node No license field.
> socketwatcher@0.3.0 install /var/www/html/plugins/dashbutton/node/node_modules/socketwatcher
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.12.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/html/plugins/dashbutton/node/node_modules/socketwatcher/.node-gyp"
make: Entering directory '/var/www/html/plugins/dashbutton/node/node_modules/socketwatcher/build'
CXX(target) Release/obj.target/socketwatcher/socket_watcher.o
SOLINK_MODULE(target) Release/obj.target/socketwatcher.node
COPY Release/socketwatcher.node
make: Leaving directory '/var/www/html/plugins/dashbutton/node/node_modules/socketwatcher/build'
> pcap@2.0.0 install /var/www/html/plugins/dashbutton/node/node_modules/pcap
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.12.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/www/html/plugins/dashbutton/node/node_modules/pcap/.node-gyp"
make: Entering directory '/var/www/html/plugins/dashbutton/node/node_modules/pcap/build'
CXX(target) Release/obj.target/pcap_binding/pcap_binding.o
CXX(target) Release/obj.target/pcap_binding/pcap_session.o
SOLINK_MODULE(target) Release/obj.target/pcap_binding.node
COPY Release/pcap_binding.node
make: Leaving directory '/var/www/html/plugins/dashbutton/node/node_modules/pcap/build'
/var/www/html/plugins/dashbutton/node
+-- node-dash-button@0.6.1
| +-- pcap@2.0.0  (git+https://github.com/mranney/node_pcap.git#b4eb828fbfb3ad9a253351aa38cb41c203589712)
| | +-- nan@2.8.0
| | `-- socketwatcher@0.3.0
| `-- underscore@1.8.3
`-- request@2.83.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/dashbutton/node/package.json'
npm WARN node No description
npm WARN node No repository field.
npm WARN node No README data
npm WARN node No license field.
Configuration du plugin:
confPlugin.PNG
confPlugin.PNG (39.2 Kio) Consulté 1014 fois
Configuration de l'équipement:
equipementDash.PNG
equipementDash.PNG (76.62 Kio) Consulté 1014 fois
Tout semble comme j'ai pu voir sur le Forum, mais ça ne fonctionne pas. le log au niveau du dashbutton_log reste vide
J'ai bien un Ip interne et Externe.

J'ai une Distrib Debian Stretch avec Jeedom 3.1.7 installé sous Docker. Ma clé Zwave et module WallPlug fonctionne
Avez-vous une idée?
Merci d'avance

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: [Plugin Tiers][Sujet Principal] Dash Button Amazon

Message par lunarok » 08 janv. 2018, 22:56

Docker ...

Envoyé de mon ONEPLUS A3010 en utilisant Tapatalk

Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

Répondre

Revenir vers « [Catégorie] Objets connectés »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 14 invités