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] NFC : lecteur d'UID NFC/RFID

Pour échanger sur les plugins classés en catégorie "Objets connectés"
spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] NFC : lecteur d'UID NFC/RFID

Message par spark » 04 juil. 2016, 17:45

Bonsoir, je me permet de faire un petit Up pour ma question afin de savoir si quelqu'un a une idée pour résoudre mon problème.

Merci

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] NFC : lecteur d'UID NFC/RFID

Message par spark » 11 juil. 2016, 20:11

@lunarok

Help please. Si quelqu'un a une idée je suis preneur je suis bloqué depuis longtemps...

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] NFC : lecteur d'UID NFC/RFID

Message par spark » 06 sept. 2016, 08:31

Après énormément d'essais j'en arrive à la conclusion que soit mon lecteur de carte est hs (dommage il n'a que 2 mois) soit le plugin n'est pas stable.

Les cartes sont reconnus puis d'un coup quelques jours plus tard plus rien les dépendances ne remonte pas d'informations OU d'autres fois ne trouve pas le lecteur sur le hub.

J'ai essayé avec un autre RPI, un deuxième hub usb (les 2 conseillé par rosty) Changer l'alimentation du rpi (pour une deuxième à 3A)... J'en oublie sûrement. Mais j'ai toujours la même chose.

Bonne journée

Envoyé de mon A0001 en utilisant Tapatalk

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

Re: [Sujet officiel] NFC : lecteur d'UID NFC/RFID

Message par lunarok » 06 sept. 2016, 08:54

Ben ecoute depuis la publication du plugin je m'en sers avec le modèle annonce et pas de soucis.
J'ai même pu ajouter nos cartes de la ville qui regroupent abonnements&co mais donc qu'on a toujours avec nous car en passant a la mairie j'ai vu que c'était le même lecteur utilisé

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

spark
Actif
Messages : 514
Inscription : 10 févr. 2016, 22:30

Re: [Sujet officiel] NFC : lecteur d'UID NFC/RFID

Message par spark » 06 sept. 2016, 08:56

Je n'en doute pas. Je remonte simplement mes problèmes pour essayer de les solutionner.

Envoyé de mon A0001 en utilisant Tapatalk

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 17 juin 2017, 09:02

Bonjour,

Je viens d'installer le plugin avec le lecteur recommandé.

Les dépendances se lancent, le démon est OK.
Je suis sur la dernière version de jeedom
Impossible d'inclure un Tag

Avant toute chose le plugin est-il toujours fonctionnel ?

Merci

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 29 juin 2017, 16:21

s'il vous plait est-il possible d'obtenir une réponse..

Merci

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

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Anonyme » 29 juin 2017, 16:24

Contenu supprimé à la demande de son auteur

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 29 juin 2017, 17:36

Je suis reparti sur un RPi2 de test en 2.4.6 tout neuf


Voici le log d'installation des dépendances


Début de l'installation
Version actuelle : v0.10.29
Reading package lists...
Building dependency tree...
Reading state information...
libnfc-dev is already the newest version.
libusb-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libnfc5:armhf (1.7.1-2) ...
Configuration file '/etc/modprobe.d/blacklist-libnfc.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** blacklist-libnfc.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package libnfc5:armhf (--configure):
EOF on stdin at conffile prompt
dpkg: dependency problems prevent configuration of libnfc-dev:armhf:
libnfc-dev:armhf depends on libnfc5 (= 1.7.1-2); however:
Package libnfc5:armhf is not configured yet.
dpkg: error processing package libnfc-dev:armhf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libnfc5:armhf
libnfc-dev:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
pn533 déjà en blacklist
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 17 not upgraded.
2 not fully installed or removed.
After this operation, 6431 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 ... 39363 files and directories currently installed.)
Removing nodejs (0.10.29~dfsg-2) ...
Removing libc-ares2:armhf (1.10.0-2+deb8u1) ...
Purging configuration files for libc-ares2:armhf (1.10.0-2+deb8u1) ...
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+deb8u10) ...
Setting up libnfc5:armhf (1.7.1-2) ...
Configuration file '/etc/modprobe.d/blacklist-libnfc.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** blacklist-libnfc.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package libnfc5:armhf (--configure):
EOF on stdin at conffile prompt
dpkg: dependency problems prevent configuration of libnfc-dev:armhf:
libnfc-dev:armhf depends on libnfc5 (= 1.7.1-2); however:
Package libnfc5:armhf is not configured yet.
dpkg: error processing package libnfc-dev:armhf (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libnfc5:armhf
libnfc-dev:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
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://archive.raspberrypi.org jessie InRelease
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://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
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/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://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main 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://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
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
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/ui 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
Fetched 5646 B in 13s (433 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 17 not upgraded.
2 not fully installed or removed.
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 (873 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 ... 39255 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 libnfc5:armhf (1.7.1-2) ...
Configuration file '/etc/modprobe.d/blacklist-libnfc.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** blacklist-libnfc.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package libnfc5:armhf (--configure):
EOF on stdin at conffile prompt
dpkg: dependency problems prevent configuration of libnfc-dev:armhf:
libnfc-dev:armhf depends on libnfc5 (= 1.7.1-2); however:
Package libnfc5:armhf is not configured yet.
dpkg: error processing package libnfc-dev:armhf (--configure):
dependency problems - leaving unconfigured
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) ...
Errors were encountered while processing:
libnfc5:armhf
libnfc-dev:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Version actuelle : v5.12.0
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> nfc@0.3.3 install /var/www/html/plugins/nfc/node/node_modules/nfc
> node-gyp clean configure rebuild
make: Entering directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
CXX(target) Release/obj.target/nfc/src/nfc.o
SOLINK_MODULE(target) Release/obj.target/nfc.node
COPY Release/nfc.node
make: Leaving directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
/var/www/html/plugins/nfc/node
`-- nfc@0.3.3 (git+https://github.com/athombv/node-nfc.git ... 528bd9dab5)
+-- bindings@1.2.1
+-- nan@2.3.5
+-- ndef@0.1.2
`-- node-gyp@3.0.3
+-- fstream@1.0.11
| `-- inherits@2.0.3
+-- glob@4.5.3
| +-- inflight@1.0.6
| | `-- wrappy@1.0.2
| +-- minimatch@2.0.10
| | `-- brace-expansion@1.1.8
| | +-- balanced-match@1.0.0
| | `-- concat-map@0.0.1
| `-- once@1.4.0
+-- graceful-fs@4.1.11
+-- minimatch@1.0.0
| +-- lru-cache@2.7.3
| `-- sigmund@1.0.1
+-- mkdirp@0.5.1
| `-- minimist@0.0.8
+-- nopt@3.0.6
| `-- abbrev@1.1.0
+-- npmlog@1.2.1
| +-- ansi@0.3.1
| +-- are-we-there-yet@1.0.6
| | +-- delegates@1.0.0
| | `-- readable-stream@2.3.3
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@1.0.7
| | +-- string_decoder@1.0.3
| | `-- util-deprecate@1.0.2
| `-- gauge@1.2.7
| +-- has-unicode@2.0.1
| +-- lodash.pad@4.5.1
| +-- lodash.padend@4.6.1
| `-- lodash.padstart@4.6.1
+-- osenv@0.1.4
| +-- os-homedir@1.0.2
| `-- os-tmpdir@1.0.2
+-- path-array@1.0.1
| `-- array-index@1.0.0
| +-- debug@2.6.8
| | `-- ms@2.0.0
| `-- es6-symbol@3.1.1
| +-- d@1.0.0
| `-- es5-ext@0.10.23
| `-- es6-iterator@2.0.1
+-- request@2.81.0
| +-- aws-sign2@0.6.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.1.4
| | `-- asynckit@0.4.0
| +-- har-validator@4.2.1
| | +-- ajv@4.11.8
| | | +-- co@4.6.0
| | | `-- json-stable-stringify@1.0.1
| | | `-- jsonify@0.0.0
| | `-- har-schema@1.0.5
| +-- 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.4.0
| | | +-- assert-plus@1.0.0
| | | +-- extsprintf@1.0.2
| | | +-- json-schema@0.2.3
| | | `-- verror@1.3.6
| | `-- sshpk@1.13.1
| | +-- asn1@0.2.3
| | +-- assert-plus@1.0.0
| | +-- bcrypt-pbkdf@1.0.1
| | +-- dashdash@1.14.1
| | | `-- assert-plus@1.0.0
| | +-- ecc-jsbn@0.1.1
| | +-- getpass@0.1.7
| | | `-- assert-plus@1.0.0
| | +-- 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.15
| | `-- mime-db@1.27.0
| +-- oauth-sign@0.8.2
| +-- performance-now@0.2.0
| +-- qs@6.4.0
| +-- safe-buffer@5.1.1
| +-- stringstream@0.0.5
| +-- tough-cookie@2.3.2
| | `-- punycode@1.4.1
| +-- tunnel-agent@0.6.0
| `-- uuid@3.1.0
+-- rimraf@2.6.1
| `-- glob@7.1.2
| +-- fs.realpath@1.0.0
| +-- minimatch@3.0.4
| `-- path-is-absolute@1.0.1
+-- semver@5.3.0
+-- tar@1.0.3
| `-- block-stream@0.0.9
`-- which@1.2.14
`-- isexe@2.0.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/nfc/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.
> nfc@0.3.3 install /var/www/html/plugins/nfc/node/node_modules/nfc
> node-gyp clean configure rebuild
make: Entering directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
CXX(target) Release/obj.target/nfc/src/nfc.o
SOLINK_MODULE(target) Release/obj.target/nfc.node
COPY Release/nfc.node
make: Leaving directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
/var/www/html/plugins/nfc/node
+-- nfc@0.3.3 (git+https://github.com/athombv/node-nfc.git ... 528bd9dab5)
`-- request@2.81.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/nfc/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.
Fin de l'installation
Les dépendances affichent OK
Le démon est OK

Le log du plugin me dit que les tag sont lus
Thu Jun 29 2017 17:29:01 GMT+0200 (CEST) : Tag 33:86:de:de
null
Thu Jun 29 2017 17:31:46 GMT+0200 (CEST) : Tag ce:f5:42:fa
null
Si je passe en mode inclusion, aucun équipement n'est crée...

Merci de votre aide

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

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par lunarok » 29 juin 2017, 17:49

Ta conf reseau

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

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 29 juin 2017, 18:13

En DHCP avec une reserved adresse sur le routeur...

le plugin indique
Adresse à utiliser : http://192.168.0.151:80/core/api/jeeApi.php?api=AAAAAAAAAAAAAAAAAAAAA (avec en complément &name=$nomlecteur&uid=$uid)

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 05 juil. 2017, 07:22

Bonjour,

J'ai tenté une installation du plugin en V3, toute neuve sur un Rpi2, toujours un problème.
Démon OK
Dépendances, me dit OK
Toujours impossible de créer un équipement.

Lunarok, si tu as une solution. Merci

Mon Log


Début de l'installation
/var/www/html/plugins/nfc/resources/nodejs.sh: ligne 14: nodejs : commande introuvable
Version actuelle :
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
libnfc-dev est déjà la plus récente version disponible.
libusb-dev est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
modprobe: FATAL: Module pn533 not found.
pn533 déjà en blacklist
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Le paquet « npm » n'est pas installé, et ne peut donc être supprimé
Le paquet « nodejs » n'est pas installé, et ne peut donc être supprimé
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Utilisation du dépot officiel
## Installing the NodeSource Node.js v5.x repo...
## Populating apt-get cache...
+ apt-get update
Atteint http://archive.raspberrypi.org jessie InRelease
Atteint http://mirrordirector.raspbian.org jessie InRelease
Atteint https://deb.nodesource.com jessie InRelease
Atteint http://mirrordirector.raspbian.org jessie/main armhf Packages
Réception de : 1 https://deb.nodesource.com jessie/main Sources [764 B]
Atteint http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Atteint http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Atteint http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Atteint http://archive.raspberrypi.org jessie/main armhf Packages
Atteint http://archive.raspberrypi.org jessie/ui armhf Packages
Réception de : 2 https://deb.nodesource.com jessie/main armhf Packages [968 B]
Réception de : 3 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 4 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 6 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 7 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 8 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 9 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 10 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 12 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 13 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 14 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 15 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr_FR
Réception de : 16 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr
Réception de : 17 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/main Translation-fr
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/ui Translation-fr
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-fr
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/main Translation-fr
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-fr
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-fr
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
1 732 o réceptionnés en 13s (126 o/s)
Lecture des listes de paquets…
## 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
Atteint http://mirrordirector.raspbian.org jessie InRelease
Atteint http://archive.raspberrypi.org jessie InRelease
Atteint https://deb.nodesource.com jessie InRelease
Atteint http://mirrordirector.raspbian.org jessie/main armhf Packages
Atteint http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Atteint http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Atteint http://archive.raspberrypi.org jessie/main armhf Packages
Atteint http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Atteint http://archive.raspberrypi.org jessie/ui armhf Packages
Atteint https://deb.nodesource.com jessie/main Sources
Atteint https://deb.nodesource.com jessie/main armhf Packages
Réception de : 1 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign http://archive.raspberrypi.org jessie/main Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/main Translation-fr
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-fr
Réception de : 2 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-fr_FR
Réception de : 3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://mirrordirector.raspbian.org jessie/main Translation-fr
Ign http://archive.raspberrypi.org jessie/ui Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Réception de : 4 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/ui Translation-fr
Réception de : 5 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-fr
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Réception de : 6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-fr
Réception de : 7 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Réception de : 8 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 10 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Réception de : 11 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Réception de : 12 https://deb.nodesource.com jessie/main Translation-en [162 B]
Réception de : 13 https://deb.nodesource.com jessie/main Translation-fr_FR [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr_FR
Réception de : 14 https://deb.nodesource.com jessie/main Translation-fr [162 B]
Ign https://deb.nodesource.com jessie/main Translation-fr
Réception de : 15 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Lecture des listes de paquets…
================================================================================
================================================================================
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
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
Les paquets supplémentaires suivants seront installés :
rlwrap
Les NOUVEAUX paquets suivants seront installés :
nodejs rlwrap
0 mis à jour, 2 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 8 129 ko dans les archives.
Après cette opération, 38,7 Mo d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://mirrordirector.raspbian.org/raspbian/ jessie/main rlwrap armhf 0.41-1 [70,3 kB]
Réception de : 2 https://deb.nodesource.com/node_5.x/ jessie/main nodejs armhf 5.12.0-1nodesource1~jessie1 [8 058 kB]
debconf: Impossible d'initialiser l'interface : Dialog
debconf: (L'interface dialog ne fonctionnera pas avec un terminal rustique (« dumb »), un tampon shell d'Emacs ou sans terminal de contrôle.)
debconf: Utilisation de l'interface Readline en remplacement
debconf: Impossible d'initialiser l'interface : Readline
debconf: (Cette interface a besoin d'un terminal de contrôle.)
debconf: Utilisation de l'interface Teletype en remplacement
dpkg-preconfigure: impossible de réouvrir stdin :
8 129 ko réceptionnés en 9s (870 ko/s)
Sélection du paquet rlwrap précédemment désélectionné.
(Lecture de la base de données...
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 43836 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../rlwrap_0.41-1_armhf.deb ...
Dépaquetage de rlwrap (0.41-1) ...
Sélection du paquet nodejs précédemment désélectionné.
Préparation du dépaquetage de .../nodejs_5.12.0-1nodesource1~jessie1_armhf.deb ...
Dépaquetage de nodejs (5.12.0-1nodesource1~jessie1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...
Paramétrage de rlwrap (0.41-1) ...
update-alternatives: utilisation de « /usr/bin/rlwrap » pour fournir « /usr/bin/readline-editor » (readline-editor) en mode automatique
Paramétrage de nodejs (5.12.0-1nodesource1~jessie1) ...
Version actuelle : v5.12.0
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> nfc@0.3.3 install /var/www/html/plugins/nfc/node/node_modules/nfc
> node-gyp clean configure rebuild
make: Entering directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
CXX(target) Release/obj.target/nfc/src/nfc.o
SOLINK_MODULE(target) Release/obj.target/nfc.node
COPY Release/nfc.node
make: Leaving directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
/var/www/html/plugins/nfc/node
└─┬ nfc@0.3.3 (git+https://github.com/athombv/node-nfc.git ... 528bd9dab5)
├── bindings@1.2.1
├── nan@2.3.5
├── ndef@0.1.2
└─┬ node-gyp@3.0.3
├─┬ fstream@1.0.11
│ └── inherits@2.0.3
├─┬ glob@4.5.3
│ ├─┬ inflight@1.0.6
│ │ └── wrappy@1.0.2
│ ├─┬ minimatch@2.0.10
│ │ └─┬ brace-expansion@1.1.8
│ │ ├── balanced-match@1.0.0
│ │ └── concat-map@0.0.1
│ └── once@1.4.0
├── graceful-fs@4.1.11
├─┬ minimatch@1.0.0
│ ├── lru-cache@2.7.3
│ └── sigmund@1.0.1
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ nopt@3.0.6
│ └── abbrev@1.1.0
├─┬ npmlog@1.2.1
│ ├── ansi@0.3.1
│ ├─┬ are-we-there-yet@1.0.6
│ │ ├── delegates@1.0.0
│ │ └─┬ readable-stream@2.3.3
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.7
│ │ ├── string_decoder@1.0.3
│ │ └── util-deprecate@1.0.2
│ └─┬ gauge@1.2.7
│ ├── has-unicode@2.0.1
│ ├── lodash.pad@4.5.1
│ ├── lodash.padend@4.6.1
│ └── lodash.padstart@4.6.1
├─┬ osenv@0.1.4
│ ├── os-homedir@1.0.2
│ └── os-tmpdir@1.0.2
├─┬ path-array@1.0.1
│ └─┬ array-index@1.0.0
│ ├─┬ debug@2.6.8
│ │ └── ms@2.0.0
│ └─┬ es6-symbol@3.1.1
│ ├── d@1.0.0
│ └─┬ es5-ext@0.10.23
│ └── es6-iterator@2.0.1
├─┬ request@2.81.0
│ ├── aws-sign2@0.6.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.1.4
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@4.2.1
│ │ ├─┬ ajv@4.11.8
│ │ │ ├── co@4.6.0
│ │ │ └─┬ json-stable-stringify@1.0.1
│ │ │ └── jsonify@0.0.0
│ │ └── har-schema@1.0.5
│ ├─┬ 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.4.0
│ │ │ ├── assert-plus@1.0.0
│ │ │ ├── extsprintf@1.0.2
│ │ │ ├── json-schema@0.2.3
│ │ │ └── verror@1.3.6
│ │ └─┬ sshpk@1.13.1
│ │ ├── asn1@0.2.3
│ │ ├── assert-plus@1.0.0
│ │ ├── bcrypt-pbkdf@1.0.1
│ │ ├─┬ dashdash@1.14.1
│ │ │ └── assert-plus@1.0.0
│ │ ├── ecc-jsbn@0.1.1
│ │ ├─┬ getpass@0.1.7
│ │ │ └── assert-plus@1.0.0
│ │ ├── 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.15
│ │ └── mime-db@1.27.0
│ ├── oauth-sign@0.8.2
│ ├── performance-now@0.2.0
│ ├── qs@6.4.0
│ ├── safe-buffer@5.1.1
│ ├── stringstream@0.0.5
│ ├─┬ tough-cookie@2.3.2
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.6.0
│ └── uuid@3.1.0
├─┬ rimraf@2.6.1
│ └─┬ glob@7.1.2
│ ├── fs.realpath@1.0.0
│ ├── minimatch@3.0.4
│ └── path-is-absolute@1.0.1
├── semver@5.3.0
├─┬ tar@1.0.3
│ └── block-stream@0.0.9
└─┬ which@1.2.14
└── isexe@2.0.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/nfc/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.
> nfc@0.3.3 install /var/www/html/plugins/nfc/node/node_modules/nfc
> node-gyp clean configure rebuild
make: Entering directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
CXX(target) Release/obj.target/nfc/src/nfc.o
SOLINK_MODULE(target) Release/obj.target/nfc.node
COPY Release/nfc.node
make: Leaving directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
/var/www/html/plugins/nfc/node
├── nfc@0.3.3 (git+https://github.com/athombv/node-nfc.git ... 528bd9dab5)
└── request@2.81.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/nfc/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.
Fin de l'installation

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 19 juil. 2017, 09:03

Bonjour,

up

Est-il possible d'obtenir des infos sur ce plugin (Payant) de la part de son propriétaire.
Merci

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

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par lunarok » 19 juil. 2017, 09:48

Vu que mes réponses servent à rien, bof
Toujours pas de nouveautés dans le log depuis la première fois ? Donc toujours la même question.

PS : la pique sur le (payant) si tu savais à quel point elle fait effet inverse et que c'est désagréable, si 2€ ca te fais mal ou que tu t'attends à un service de mise en place sans manip à faire, faut regarder le prix d'un café et le prix du SMIC, tu placeras ensuite le plugin dans la bonne case
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

jean88
Timide
Messages : 16
Inscription : 19 nov. 2017, 00:12

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par jean88 » 19 nov. 2017, 00:19

Bonjour,

J'ai le même problème que Fil.
Le plugin s'est bien installé, je vois les tags nfc dans les logs mais ils ne se créent pas en mode inclusion ...
Une idée ?

Version de Jeedom : 3.1.7 sur RPi3
Version du plugin NFC : 2017-09-28 01:03:06
Matériel : le lecteur ACR122U

D'avance merci
Cordialement,
Jean

jean88
Timide
Messages : 16
Inscription : 19 nov. 2017, 00:12

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par jean88 » 25 nov. 2017, 17:49

Bonjour,

UP, personne n'a d'idée pour mon problème ?

Y a-t-il une solution pour créer les tags manuellement dans le plugin ?
J'ai l'impression que c'est l'inclusion qui ne fonctionne pas.

Merci

jean88
Timide
Messages : 16
Inscription : 19 nov. 2017, 00:12

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par jean88 » 28 nov. 2017, 13:48

Plus personne n'utilise ce plugin ?

Voici le log d'installation des dépendances :

Code : Tout sélectionner

Début de l'installation
Version actuelle : v0.10.29
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libnfc5
The following NEW packages will be installed:
libnfc-dev libnfc5 libusb-dev
0 upgraded, 3 newly installed, 0 to remove and 15 not upgraded.
Need to get 174 kB of archives.
After this operation, 586 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnfc5 armhf 1.7.1-2 [63.3 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libusb-dev armhf 2:0.1.12-25 [34.4 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libnfc-dev armhf 1.7.1-2 [76.4 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 174 kB in 0s (179 kB/s)
Selecting previously unselected package libnfc5: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 ... 123532 files and directories currently installed.)
Preparing to unpack .../libnfc5_1.7.1-2_armhf.deb ...
Unpacking libnfc5:armhf (1.7.1-2) ...
Selecting previously unselected package libusb-dev.
Preparing to unpack .../libusb-dev_2%3a0.1.12-25_armhf.deb ...
Unpacking libusb-dev (2:0.1.12-25) ...
Selecting previously unselected package libnfc-dev:armhf.
Preparing to unpack .../libnfc-dev_1.7.1-2_armhf.deb ...
Unpacking libnfc-dev:armhf (1.7.1-2) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Setting up libnfc5:armhf (1.7.1-2) ...
Setting up libusb-dev (2:0.1.12-25) ...
Setting up libnfc-dev:armhf (1.7.1-2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
modprobe: FATAL: Module pn533 not found.
pn533 déjà en blacklist
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* nodejs-legacy* nodered*
0 upgraded, 0 newly installed, 5 to remove and 15 not upgraded.
After this operation, 6571 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 ... 123610 files and directories currently installed.)
Removing nodered (0.15.3) ...
Removing nodejs-legacy (0.10.29~dfsg-2) ...
Removing nodejs (0.10.29~dfsg-2) ...
Removing libc-ares2:armhf (1.10.0-2+deb8u2) ...
Purging configuration files for libc-ares2:armhf (1.10.0-2+deb8u2) ...
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 gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for gnome-icon-theme (3.12.0-1) ...
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Utilisation du dépot officiel
## Installing the NodeSource Node.js v5.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
Get:3 http://mirrordirector.raspbian.org jessie/main armhf Packages [9536 kB]
Get:4 http://archive.raspberrypi.org jessie/main armhf Packages [169 kB]
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
Get:5 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
Get:6 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB]
Get:7 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1356 B]
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
Fetched 9872 kB in 57s (171 kB/s)
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://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:1 https://deb.nodesource.com jessie InRelease [3914 B]
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
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
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Fetched 5646 B in 7s (802 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 22 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 22s (368 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 ... 115669 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.5-1~bpo8+1) ...
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
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> nfc@0.3.3 install /var/www/html/plugins/nfc/node/node_modules/nfc
> node-gyp clean configure rebuild
make: Entering directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
CXX(target) Release/obj.target/nfc/src/nfc.o
SOLINK_MODULE(target) Release/obj.target/nfc.node
COPY Release/nfc.node
make: Leaving directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
/var/www/html/plugins/nfc/node
`-- nfc@0.3.3  (git+https://github.com/athombv/node-nfc.git#189006a1458ca64eaaaa41ebe83aafa6105ccede)
+-- bindings@1.2.1
+-- nan@2.3.5
+-- ndef@0.1.2
`-- node-gyp@3.0.3
+-- fstream@1.0.11
| `-- inherits@2.0.3
+-- glob@4.5.3
| +-- inflight@1.0.6
| | `-- wrappy@1.0.2
| +-- minimatch@2.0.10
| | `-- brace-expansion@1.1.8
| |   +-- balanced-match@1.0.0
| |   `-- concat-map@0.0.1
| `-- once@1.4.0
+-- graceful-fs@4.1.11
+-- minimatch@1.0.0
| +-- lru-cache@2.7.3
| `-- sigmund@1.0.1
+-- mkdirp@0.5.1
| `-- minimist@0.0.8
+-- nopt@3.0.6
| `-- abbrev@1.1.1
+-- npmlog@1.2.1
| +-- ansi@0.3.1
| +-- are-we-there-yet@1.0.6
| | +-- delegates@1.0.0
| | `-- readable-stream@2.3.3
| |   +-- core-util-is@1.0.2
| |   +-- isarray@1.0.0
| |   +-- process-nextick-args@1.0.7
| |   +-- string_decoder@1.0.3
| |   `-- util-deprecate@1.0.2
| `-- gauge@1.2.7
|   +-- has-unicode@2.0.1
|   +-- lodash.pad@4.5.1
|   +-- lodash.padend@4.6.1
|   `-- lodash.padstart@4.6.1
+-- osenv@0.1.4
| +-- os-homedir@1.0.2
| `-- os-tmpdir@1.0.2
+-- path-array@1.0.1
| `-- array-index@1.0.0
|   +-- debug@2.6.9
|   | `-- ms@2.0.0
|   `-- es6-symbol@3.1.1
|     +-- d@1.0.0
|     `-- es5-ext@0.10.35
|       `-- es6-iterator@2.0.3
+-- 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.3.0
| | | +-- 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
| | `-- 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
+-- rimraf@2.6.2
| `-- glob@7.1.2
|   +-- fs.realpath@1.0.0
|   +-- minimatch@3.0.4
|   `-- path-is-absolute@1.0.1
+-- semver@5.4.1
+-- tar@1.0.3
| `-- block-stream@0.0.9
`-- which@1.3.0
`-- isexe@2.0.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/nfc/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.
> nfc@0.3.3 install /var/www/html/plugins/nfc/node/node_modules/nfc
> node-gyp clean configure rebuild
make: Entering directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
CXX(target) Release/obj.target/nfc/src/nfc.o
SOLINK_MODULE(target) Release/obj.target/nfc.node
COPY Release/nfc.node
make: Leaving directory '/var/www/html/plugins/nfc/node/node_modules/nfc/build'
/var/www/html/plugins/nfc/node
+-- nfc@0.3.3  (git+https://github.com/athombv/node-nfc.git#189006a1458ca64eaaaa41ebe83aafa6105ccede)
`-- request@2.83.0
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/nfc/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.
Fin de l'installation
Le log du plugin :

Code : Tout sélectionner

[2017-11-28 13:40:07][INFO] : Lancement du démon nfc
[2017-11-28 13:40:07][DEBUG] : nodejs /var/www/html/plugins/nfc/node/nfc.js "http://127.0.0.1:80/plugins/nfc/core/api/nfc.php?apikey=XXXXXXXXXXXXXXXXXXXXXXX" "master"
[2017-11-28 13:40:07][INFO] : Démon nfc lancé
Et le log du node :

Code : Tout sélectionner

Tue Nov 28 2017 12:43:02 GMT+0000 (UTC) : Tag AA:AA:AA:AA
null
Tue Nov 28 2017 12:43:03 GMT+0000 (UTC) : Tag BB:BB:BB:BB
null
Du coup mes tags sont bien détectés. Le problème c'est quand je lance le mode inclusion. Ils ne se créent pas ...

En espérant qu'il y ai une solution ...
Merci

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 28 nov. 2017, 15:18

Salut jean88.

J'ai déjà fait part de mon soucis, exactement le même que toi.
Une réponse serait la bienvenue mais elle n'arrive pas...

jean88
Timide
Messages : 16
Inscription : 19 nov. 2017, 00:12

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par jean88 » 28 nov. 2017, 17:12

Salut Fil,

Je pensais que tu avais réussi à résoudre le problème ...
En espérant que le dev du plugin passe par là !

Lunarok si tu nous lis, un petit coup pouce stp ?
Merci à toi

Fil
Timide
Messages : 113
Inscription : 18 nov. 2014, 08:46

Re: [Plugin Tiers][Sujet Principal] NFC : lecteur d'UID NFC/RFID

Message par Fil » 01 déc. 2017, 09:08

Non malheureusement,

J'en ai un que je veux intégrer mais j'en suis au même point que toi.

Dans l'attente...

Répondre

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

Qui est en ligne ?

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