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"
Alderaan
Timide
Messages : 45
Inscription : 25 avr. 2016, 22:23

Re: [Sujet officiel] Dash Button Amazon

Message par Alderaan » 29 août 2016, 16:24

@DanoneKiD.
Je suis preneur pour 2 Dash Button :)

Avatar de l’utilisateur
DanoneKiD
Timide
Messages : 356
Inscription : 21 janv. 2015, 16:37

Re: [Sujet officiel] Dash Button Amazon

Message par DanoneKiD » 30 août 2016, 14:47

Bonjour,

J'ai créé un post pour une éventuelle commande groupée ICI
Application JeedomApp pour Windows 10 (non officielle)

znation
Actif
Messages : 1951
Inscription : 12 nov. 2014, 15:48

Re: [Sujet officiel] Dash Button Amazon

Message par znation » 30 août 2016, 17:01

Je suis preneur mais en lisant le post je ne vois pas vraiment si quelqu'un a réussi à les faire fonctionner (j'en commanderai un dizaine mais je voudrais être sûr). Et c'est quoi comme pile la dedans niveau autonomie, réactivité ... Merci

Envoyé de mon XT1562 en utilisant Tapatalk
JEEDOM v3.3.31 - NUC Z83 II

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

Re: [Sujet officiel] Dash Button Amazon

Message par lunarok » 30 août 2016, 17:01

Y a un post dédié on a dit pour la commande
Si mon plugin marchait pas j'en recommanderait pas je pense ...

Envoyé de mon A0001 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

Avatar de l’utilisateur
domoggvad
Actif
Messages : 1880
Inscription : 29 avr. 2015, 16:02
Localisation : Seine-Saint-Denis (Villepinte)

Re: [Sujet officiel] Dash Button Amazon

Message par domoggvad » 30 août 2016, 17:52

Bonjour @lunarok,
Je suis dans la même configuration que @Gorgluk, sur deux box, RPI2 et Odroid, tous sous Jeedom 2.3.18
merci pour ton aide

Début de l'installation
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libpcap0.8 libpcap0.8-dev
The following NEW packages will be installed:
libpcap-dev libpcap0.8 libpcap0.8-dev tcpdump
0 upgraded, 4 newly installed, 0 to remove and 106 not upgraded.
Need to get 708 kB of archives.
After this operation, 1762 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpcap0.8 armhf 1.6.2-2 [121 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpcap0.8-dev armhf 1.6.2-2 [213 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpcap-dev all 1.6.2-2 [23.6 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main tcpdump armhf 4.6.2-5+deb8u1 [351 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 708 kB in 1s (435 kB/s)
Selecting previously unselected package libpcap0.8:armhf.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 39587 files and directories currently installed.)
Preparing to unpack .../libpcap0.8_1.6.2-2_armhf.deb ...
Unpacking libpcap0.8:armhf (1.6.2-2) ...
Selecting previously unselected package libpcap0.8-dev.
Preparing to unpack .../libpcap0.8-dev_1.6.2-2_armhf.deb ...
Unpacking libpcap0.8-dev (1.6.2-2) ...
Selecting previously unselected package libpcap-dev.
Preparing to unpack .../libpcap-dev_1.6.2-2_all.deb ...
Unpacking libpcap-dev (1.6.2-2) ...
Selecting previously unselected package tcpdump.
Preparing to unpack .../tcpdump_4.6.2-5+deb8u1_armhf.deb ...
Unpacking tcpdump (4.6.2-5+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libpcap0.8:armhf (1.6.2-2) ...
Setting up libpcap0.8-dev (1.6.2-2) ...
Setting up libpcap-dev (1.6.2-2) ...
Setting up tcpdump (4.6.2-5+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u3) ...
/var/www/html/plugins/dashbutton/resources/nodejs.sh: line 17: nodejs: command not found
Version actuelle :
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
Utilisation du dépot officiel
## Installing the NodeSource Node.js v5.x repo...
## Populating apt-get cache...
+ apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## Installing packages required for setup: apt-transport-https...
+ apt-get install -y apt-transport-https > /dev/null 2>&1
## Confirming "jessie" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_5.x/dis ... ie/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js v5.x repo...
+ echo 'deb https://deb.nodesource.com/node_5.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_5.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Get:1 https://deb.nodesource.com jessie InRelease [3914 B]
Get:2 https://deb.nodesource.com jessie/main Sources [764 B]
Get:3 https://deb.nodesource.com jessie/main armhf Packages [968 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Fetched 5646 B in 13s (423 B/s)
Reading package lists...
================================================================================
================================================================================
DEPRECATION WARNING
Node.js v5.x is no longer actively supported!
You will not receive security or critical stability updates for this version.
You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.
* https://deb.nodesource.com/setup_4.x — Node.js v4 LTS "Argon" (recommended)
* https://deb.nodesource.com/setup_6.x — Node.js v6 Current
Please see https://github.com/nodejs/LTS/ for details about which version
may be appropriate for you.
The NodeSource Node.js Linux distributions GitHub repository contains
information about which versions of Node.js and which Linux distributions
are supported and how to use the install scripts.
https://github.com/nodesource/distributions
================================================================================
================================================================================
Continuing in 10 seconds ...
## Run `apt-get install nodejs` (as root) to install Node.js v5.x and npm
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
rlwrap
The following NEW packages will be installed:
nodejs rlwrap
0 upgraded, 2 newly installed, 0 to remove and 105 not upgraded.
Need to get 8129 kB of archives.
After this operation, 38.7 MB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70.3 kB]
Get:2 https://deb.nodesource.com/node_5.x/ jessie/main nodejs armhf 5.12.0-1nodesource1~jessie1 [8058 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 8129 kB in 9s (830 kB/s)
Selecting previously unselected package rlwrap.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 39714 files and directories currently installed.)
Preparing to unpack .../rlwrap_0.41-1_armhf.deb ...
Unpacking rlwrap (0.41-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_5.12.0-1nodesource1~jessie1_armhf.deb ...
Unpacking nodejs (5.12.0-1nodesource1~jessie1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up rlwrap (0.41-1) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up nodejs (5.12.0-1nodesource1~jessie1) ...
Version actuelle : v5.12.0
/var/www/html/plugins/dashbutton/node
`-- request@2.74.0
+-- aws-sign2@0.6.0
+-- aws4@1.4.1
+-- bl@1.1.2
| `-- readable-stream@2.0.6
| +-- core-util-is@1.0.2
| +-- inherits@2.0.1
| +-- isarray@1.0.0
| +-- process-nextick-args@1.0.7
| +-- string_decoder@0.10.31
| `-- util-deprecate@1.0.2
+-- caseless@0.11.0
+-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- extend@3.0.0
+-- forever-agent@0.6.1
+-- form-data@1.0.1
| `-- async@2.0.1
| `-- lodash@4.15.0
+-- har-validator@2.0.6
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- escape-string-regexp@1.0.5
| | +-- has-ansi@2.0.0
| | | `-- ansi-regex@2.0.0
| | +-- strip-ansi@3.0.1
| | `-- supports-color@2.0.0
| +-- commander@2.9.0
| | `-- graceful-readlink@1.0.1
| +-- is-my-json-valid@2.13.1
| | +-- generate-function@2.0.0
| | +-- generate-object-property@1.2.0
| | | `-- is-property@1.0.2
| | +-- jsonpointer@2.0.0
| | `-- xtend@4.0.1
| `-- pinkie-promise@2.0.1
| `-- pinkie@2.0.4
+-- hawk@3.1.3
| +-- boom@2.10.1
| +-- cryptiles@2.0.5
| +-- hoek@2.16.3
| `-- sntp@1.0.9
+-- http-signature@1.1.1
| +-- assert-plus@0.2.0
| +-- jsprim@1.3.0
| | +-- extsprintf@1.0.2
| | +-- json-schema@0.2.2
| | `-- verror@1.3.6
| `-- sshpk@1.10.0
| +-- asn1@0.2.3
| +-- assert-plus@1.0.0
| +-- bcrypt-pbkdf@1.0.0
| | `-- tweetnacl@0.14.3
| +-- dashdash@1.14.0
| | `-- assert-plus@1.0.0
| +-- ecc-jsbn@0.1.1
| +-- getpass@0.1.6
| | `-- assert-plus@1.0.0
| +-- jodid25519@1.0.2
| +-- jsbn@0.1.0
| `-- tweetnacl@0.13.3
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.11
| `-- mime-db@1.23.0
+-- node-uuid@1.4.7
+-- oauth-sign@0.8.2
+-- qs@6.2.1
+-- stringstream@0.0.5
+-- tough-cookie@2.3.1
`-- tunnel-agent@0.4.3
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.5.5
| +-- pcap@2.0.0 (git+https://github.com/mranney/node_pcap.gi ... b263cdb70f)
| | +-- nan@2.4.0
| | `-- socketwatcher@0.3.0
| `-- underscore@1.8.3
`-- request@2.74.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.
Pièces jointes
dash.png
dash.png (10.5 Kio) Consulté 1357 fois
3 Odroid C2 (Prod - secours - test) Z83 tests: rfxcom + Z-wave- Clims DAIKIN - espeasy - thekey - Xiaomi - Telinfo - broadlink... widget V3 :viewtopic.php?f=29&t=44183&p=717810#p717810

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

Re: [Sujet officiel] Dash Button Amazon

Message par lunarok » 30 août 2016, 18:15

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

Gorgluk
Timide
Messages : 292
Inscription : 09 déc. 2014, 00:33
Localisation : paca

Re: [Sujet officiel] Dash Button Amazon

Message par Gorgluk » 30 août 2016, 18:17

Bonjour,

petit up
Je n'arrive pas à avoir la configuration OK
Je ne vois pas d’où ça vient.
Le log est-il Ok pour vous ?
Merci pour votre aide


****************log**************
Début de l'installation
Reading package lists...
Building dependency tree...
Reading state information...
tcpdump is already the newest version.
libpcap-dev 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.74.0
+-- aws-sign2@0.6.0
+-- aws4@1.4.1
+-- bl@1.1.2
| `-- readable-stream@2.0.6
| +-- core-util-is@1.0.2
| +-- inherits@2.0.1
| +-- isarray@1.0.0
| +-- process-nextick-args@1.0.7
| +-- string_decoder@0.10.31
| `-- util-deprecate@1.0.2
+-- caseless@0.11.0
+-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- extend@3.0.0
+-- forever-agent@0.6.1
+-- form-data@1.0.1
| `-- async@2.0.1
| `-- lodash@4.15.0
+-- har-validator@2.0.6
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- escape-string-regexp@1.0.5
| | +-- has-ansi@2.0.0
| | | `-- ansi-regex@2.0.0
| | +-- strip-ansi@3.0.1
| | `-- supports-color@2.0.0
| +-- commander@2.9.0
| | `-- graceful-readlink@1.0.1
| +-- is-my-json-valid@2.13.1
| | +-- generate-function@2.0.0
| | +-- generate-object-property@1.2.0
| | | `-- is-property@1.0.2
| | +-- jsonpointer@2.0.0
| | `-- xtend@4.0.1
| `-- pinkie-promise@2.0.1
| `-- pinkie@2.0.4
+-- hawk@3.1.3
| +-- boom@2.10.1
| +-- cryptiles@2.0.5
| +-- hoek@2.16.3
| `-- sntp@1.0.9
+-- http-signature@1.1.1
| +-- assert-plus@0.2.0
| +-- jsprim@1.3.0
| | +-- extsprintf@1.0.2
| | +-- json-schema@0.2.2
| | `-- verror@1.3.6
| `-- sshpk@1.10.0
| +-- asn1@0.2.3
| +-- assert-plus@1.0.0
| +-- bcrypt-pbkdf@1.0.0
| | `-- tweetnacl@0.14.3
| +-- dashdash@1.14.0
| | `-- assert-plus@1.0.0
| +-- ecc-jsbn@0.1.1
| +-- getpass@0.1.6
| | `-- assert-plus@1.0.0
| +-- jodid25519@1.0.2
| +-- jsbn@0.1.0
| `-- tweetnacl@0.13.3
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.11
| `-- mime-db@1.23.0
+-- node-uuid@1.4.7
+-- oauth-sign@0.8.2
+-- qs@6.2.1
+-- stringstream@0.0.5
+-- tough-cookie@2.3.1
`-- tunnel-agent@0.4.3
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
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
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.5.5
| +-- pcap@2.0.0 (git+https://github.com/mranney/node_pcap.gi ... b263cdb70f)
| | +-- nan@2.4.0
| | `-- socketwatcher@0.3.0
| `-- underscore@1.8.3
`-- request@2.74.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.
DIY nuc | Jeedom sur Proxmox | Zwave Aeon Gen5, RFXtrx433E, X10 CM15, BT 4.0, Xiaomi

Gorgluk
Timide
Messages : 292
Inscription : 09 déc. 2014, 00:33
Localisation : paca

Re: [Sujet officiel] Dash Button Amazon

Message par Gorgluk » 30 août 2016, 18:21

@lunarok,

J'ai vu ta réponse après avoir envoyé mon message.

Je suis bigleux, je ne vois pas la réponse dans ton lien.
DIY nuc | Jeedom sur Proxmox | Zwave Aeon Gen5, RFXtrx433E, X10 CM15, BT 4.0, Xiaomi

Avatar de l’utilisateur
domoggvad
Actif
Messages : 1880
Inscription : 29 avr. 2015, 16:02
Localisation : Seine-Saint-Denis (Villepinte)

Re: [Sujet officiel] Dash Button Amazon

Message par domoggvad » 30 août 2016, 18:26

lunarok a écrit :Configuration nok -> https://www.jeedom.com/doc/documentatio ... _du_plugin
Bonjour,
Comme tu devine, je l'ai lu, et regarder tout le forum avant de poster, Je ne vois aucune référence dans la doc pour la configuration NOK
sauf s'il faut créer un équipement, en mettant une adresse MAC bidon, "je suis dans liste pour commander les Dash"

2.1. Configuration du plugin
Le plugin ne comporte pas de configuration générale.
IL faut créer ensuite un équipement par Dash et y saisir l’adresse MAC

Merci
3 Odroid C2 (Prod - secours - test) Z83 tests: rfxcom + Z-wave- Clims DAIKIN - espeasy - thekey - Xiaomi - Telinfo - broadlink... widget V3 :viewtopic.php?f=29&t=44183&p=717810#p717810

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

Re: [Sujet officiel] Dash Button Amazon

Message par lunarok » 30 août 2016, 18:31

Il faut créer un équipement c'est ce qui est marqué
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

Gorgluk
Timide
Messages : 292
Inscription : 09 déc. 2014, 00:33
Localisation : paca

Re: [Sujet officiel] Dash Button Amazon

Message par Gorgluk » 30 août 2016, 18:34

M'enfin...

IL faut créer ensuite un équipement par Dash et y saisir l’adresse MAC...............ahahahahah

Bravo @lunarok et merci pour ce plugin
DIY nuc | Jeedom sur Proxmox | Zwave Aeon Gen5, RFXtrx433E, X10 CM15, BT 4.0, Xiaomi

Avatar de l’utilisateur
domoggvad
Actif
Messages : 1880
Inscription : 29 avr. 2015, 16:02
Localisation : Seine-Saint-Denis (Villepinte)

Re: [Sujet officiel] Dash Button Amazon

Message par domoggvad » 30 août 2016, 18:40

Merci pour la précession, je viens d'en créer un, avec une adresse MAC bidon trouvé sur le net d'un DASH Bouton, le statut est en NOK et configuration en OK.
je pense que tout sera OK quand j'aurais un vrai bouton pour qu'il puisse capter les commandes ??
3 Odroid C2 (Prod - secours - test) Z83 tests: rfxcom + Z-wave- Clims DAIKIN - espeasy - thekey - Xiaomi - Telinfo - broadlink... widget V3 :viewtopic.php?f=29&t=44183&p=717810#p717810

Avatar de l’utilisateur
domoggvad
Actif
Messages : 1880
Inscription : 29 avr. 2015, 16:02
Localisation : Seine-Saint-Denis (Villepinte)

Re: [Sujet officiel] Dash Button Amazon

Message par domoggvad » 30 août 2016, 19:04

Tout est passé en Ok au bout de 5 minutes

Merci encore pour cette nouveauté made in lunarok, et exclusivité Jeedom
3 Odroid C2 (Prod - secours - test) Z83 tests: rfxcom + Z-wave- Clims DAIKIN - espeasy - thekey - Xiaomi - Telinfo - broadlink... widget V3 :viewtopic.php?f=29&t=44183&p=717810#p717810

stef
Actif
Messages : 861
Inscription : 28 oct. 2014, 16:34
Localisation : Lyon - Est

Re: [Sujet officiel] Dash Button Amazon

Message par stef » 30 août 2016, 19:36

c'est clair ça Rulez ça ;) vivement les Dash :)
MERCI A TOUTE L'EQUIPE POUR LE TAF

znation
Actif
Messages : 1951
Inscription : 12 nov. 2014, 15:48

Re: [Sujet officiel] Dash Button Amazon

Message par znation » 31 août 2016, 13:22

lunarok a écrit :Y a un post dédié on a dit pour la commande
Si mon plugin marchait pas j'en recommanderait pas je pense ...

Envoyé de mon A0001 en utilisant Tapatalk
Ok donc c'est bien validé ... mais quand tu appuies c'est rapide l'interception de la trame ? Quelle pile est dedans et est elle remplacable ? Autonomie (j'ai lu 1000 click c'est peu quand meme) ? Le bouton est il toujours connecté ou simplement à la demande (car en wifi ca doit vite vider les piles sinon)

A priori j'ai pu lire que depuis juin/juillet ils ont lancé une nouvelle rev2 (JK29LP) qui consomme moins, batterie qui tient dans un cache plastique et apparotion du bluetooth, j'espère que rien ne change dans son comportement pour l'utiliser dans jeedom

Merci
JEEDOM v3.3.31 - NUC Z83 II

Avatar de l’utilisateur
sela
Actif
Messages : 526
Inscription : 21 janv. 2016, 09:37
Localisation : Région parisienne

Re: [Sujet officiel] Dash Button Amazon

Message par sela » 01 sept. 2016, 09:17

Bonjour,

J'ai le même problème que @Gorgluk. La config. du deamon est NOK. La log est :

Quelle solution appliquer SVP ?

Merci d'avance

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 1 not upgraded.
Version actuelle : v0.10.29
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
libc-ares2* libv8-3.14.5* nodejs*
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
After this operation, 6,427 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 44457 files and directories currently installed.)
Removing nodejs (0.10.29~dfsg-2) ...
Removing libc-ares2:armhf (1.10.0-2) ...
Purging configuration files for libc-ares2:armhf (1.10.0-2) ...
Removing libv8-3.14.5 (3.14.5.8-8.1+rpi1) ...
Purging configuration files for libv8-3.14.5 (3.14.5.8-8.1+rpi1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Utilisation du dépot officiel
## Installing the NodeSource Node.js v5.x repo...
## Populating apt-get cache...
+ apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## Confirming "jessie" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_5.x/dists/jessie/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js v5.x repo...
+ echo 'deb https://deb.nodesource.com/node_5.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_5.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Get:1 https://deb.nodesource.com jessie InRelease [3,914 B]
Get:2 https://deb.nodesource.com jessie/main Sources [764 B]
Get:3 https://deb.nodesource.com jessie/main armhf Packages [968 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB
Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Fetched 5,646 B in 1min 12s (77 B/s)
Reading package lists...
================================================================================
================================================================================
DEPRECATION WARNING
Node.js v5.x is no longer actively supported!
You will not receive security or critical stability updates for this version.
You should migrate to a supported version of Node.js as soon as possible.
Use the installation script that corresponds to the version of Node.js you
wish to install. e.g.
* https://deb.nodesource.com/setup_4.x — Node.js v4 LTS "Argon" (recommended)
* https://deb.nodesource.com/setup_6.x — Node.js v6 Current
Please see https://github.com/nodejs/LTS/ for details about which version
may be appropriate for you.
The NodeSource Node.js Linux distributions GitHub repository contains
information about which versions of Node.js and which Linux distributions
are supported and how to use the install scripts.
https://github.com/nodesource/distributions
================================================================================
================================================================================
Continuing in 10 seconds ...
## Run `apt-get install nodejs` (as root) to install Node.js v5.x and npm
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
rlwrap
The following NEW packages will be installed:
nodejs rlwrap
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 8,129 kB of archives.
After this operation, 38.7 MB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70.3 kB]
Get:2 https://deb.nodesource.com/node_5.x/ jessie/main nodejs armhf 5.12.0-1nodesource1~jessie1 [8,058 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 8,129 kB in 23s (348 kB/s)
Selecting previously unselected package rlwrap.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 44349 files and directories currently installed.)
Preparing to unpack .../rlwrap_0.41-1_armhf.deb ...
Unpacking rlwrap (0.41-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_5.12.0-1nodesource1~jessie1_armhf.deb ...
Unpacking nodejs (5.12.0-1nodesource1~jessie1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up rlwrap (0.41-1) ...
update-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode
Setting up nodejs (5.12.0-1nodesource1~jessie1) ...
Version actuelle : v5.12.0
/var/www/html/plugins/dashbutton/node
└─┬ request@2.74.0
├── aws-sign2@0.6.0
├── aws4@1.4.1
├─┬ bl@1.1.2
│ └─┬ readable-stream@2.0.6
│   ├── core-util-is@1.0.2
│   ├── inherits@2.0.1
│   ├── isarray@1.0.0
│   ├── process-nextick-args@1.0.7
│   ├── string_decoder@0.10.31
│   └── util-deprecate@1.0.2
├── caseless@0.11.0
├─┬ combined-stream@1.0.5
│ └── delayed-stream@1.0.0
├── extend@3.0.0
├── forever-agent@0.6.1
├─┬ form-data@1.0.1
│ └─┬ async@2.0.1
│   └── lodash@4.15.0
├─┬ har-validator@2.0.6
│ ├─┬ chalk@1.1.3
│ │ ├── ansi-styles@2.2.1
│ │ ├── escape-string-regexp@1.0.5
│ │ ├─┬ has-ansi@2.0.0
│ │ │ └── ansi-regex@2.0.0
│ │ ├── strip-ansi@3.0.1
│ │ └── supports-color@2.0.0
│ ├─┬ commander@2.9.0
│ │ └── graceful-readlink@1.0.1
│ ├─┬ is-my-json-valid@2.13.1
│ │ ├── generate-function@2.0.0
│ │ ├─┬ generate-object-property@1.2.0
│ │ │ └── is-property@1.0.2
│ │ ├── jsonpointer@2.0.0
│ │ └── xtend@4.0.1
│ └─┬ pinkie-promise@2.0.1
│   └── pinkie@2.0.4
├─┬ hawk@3.1.3
│ ├── boom@2.10.1
│ ├── cryptiles@2.0.5
│ ├── hoek@2.16.3
│ └── sntp@1.0.9
├─┬ http-signature@1.1.1
│ ├── assert-plus@0.2.0
│ ├─┬ jsprim@1.3.0
│ │ ├── extsprintf@1.0.2
│ │ ├── json-schema@0.2.2
│ │ └── verror@1.3.6
│ └─┬ sshpk@1.10.0
│   ├── asn1@0.2.3
│   ├── assert-plus@1.0.0
│   ├─┬ bcrypt-pbkdf@1.0.0
│   │ └── tweetnacl@0.14.3
│   ├─┬ dashdash@1.14.0
│   │ └── assert-plus@1.0.0
│   ├── ecc-jsbn@0.1.1
│   ├─┬ getpass@0.1.6
│   │ └── assert-plus@1.0.0
│   ├── jodid25519@1.0.2
│   ├── jsbn@0.1.0
│   └── tweetnacl@0.13.3
├── is-typedarray@1.0.0
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├─┬ mime-types@2.1.11
│ └── mime-db@1.23.0
├── node-uuid@1.4.7
├── oauth-sign@0.8.2
├── qs@6.2.1
├── stringstream@0.0.5
├── tough-cookie@2.3.1
└── tunnel-agent@0.4.3
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.5.5
│ ├─┬ pcap@2.0.0  (git+https://github.com/mranney/node_pcap.git#d920204745c8b00ef4b7a3fe27d902b263cdb70f)
│ │ ├── nan@2.4.0
│ │ └── socketwatcher@0.3.0
│ └── underscore@1.8.3
└── request@2.74.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.
Jeedom V3.3 (RPI3)
Stick Zwave Gen5 + RFXtrx433E + téléinfo USB
Zwave:FGBS-001 Universal Relay|FGSD-002 DaaF|FGFS-101 Flood Sensor|FGD-212 Dimmer 2 | PST02-C Zipato|Powernode|ZMNHJD1 Fil Pilote|Siren Gen5 (ZW080)

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

Re: [Sujet officiel] Dash Button Amazon

Message par lunarok » 01 sept. 2016, 09:49

C'est compliquer de lire les postes au dessus ?

Envoyé de mon A0001 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

Avatar de l’utilisateur
shinji99
Actif
Messages : 803
Inscription : 25 janv. 2016, 10:17

Re: [Sujet officiel] Dash Button Amazon

Message par shinji99 » 01 sept. 2016, 09:54

@lunarok quel sont les possibilité de ce bouton stp ?

merci par avance de ta reponce

Avatar de l’utilisateur
sela
Actif
Messages : 526
Inscription : 21 janv. 2016, 09:37
Localisation : Région parisienne

Re: [Sujet officiel] Dash Button Amazon

Message par sela » 01 sept. 2016, 09:55

Il y a une une différence entre lire... et comprendre...
... donc la conf. du daemon passera en OK lors de la création du 1er équipement... que je n'ai pas pour le moment...
Jeedom V3.3 (RPI3)
Stick Zwave Gen5 + RFXtrx433E + téléinfo USB
Zwave:FGBS-001 Universal Relay|FGSD-002 DaaF|FGFS-101 Flood Sensor|FGD-212 Dimmer 2 | PST02-C Zipato|Powernode|ZMNHJD1 Fil Pilote|Siren Gen5 (ZW080)

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

Re: [Sujet officiel] Dash Button Amazon

Message par Anonyme » 01 sept. 2016, 10:37

Contenu supprimé à la demande de son auteur

Répondre

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

Qui est en ligne ?

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