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] upnp

Pour échanger sur les plugins classés en catégorie "Protocoles domotiques"
lolisteph
Timide
Messages : 72
Inscription : 06 mai 2017, 15:15

Re: [Plugin Tiers][Sujet Principal] upnp

Message par lolisteph » 18 août 2018, 11:53

@DavZero : j'ai besoin de ton aide. manifestement ton plugin ne fonctionne pas sur un Jeedom Smart.
Ce matin, en réactivant le plugin, l'installation des dépendances donne :

Code : Tout sélectionner

: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease  Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 60.4 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
nodejs
E: There are problems and -y was used without --force-yes
/var/www/html/plugins/upnp/resources/nodejs.sh: line 47: nodejs: command not found
Version actuelle :
/var/www/html/plugins/upnp/resources/nodejs.sh: line 54: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
Fin de l'installation

DavZero
Actif
Messages : 521
Inscription : 19 déc. 2015, 14:31

Re: [Plugin Tiers][Sujet Principal] upnp

Message par DavZero » 19 août 2018, 22:28

Salut @lolisteph,
peux tu stp mettre en pj le log d'installation complet.
En complément, quel est ta version de Jeedom stp?

Merci
A+

lolisteph
Timide
Messages : 72
Inscription : 06 mai 2017, 15:15

Re: [Plugin Tiers][Sujet Principal] upnp

Message par lolisteph » 21 août 2018, 07:53

Mon jeedom est uptodate (3.2.11)
Depuis mon dernier essai, pour corriger la log ": Failed to fetch http://security.debian.org/dists/jessie ... /InRelease Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)", j'ai juste commenté dans le fichier de conf la source security.debian.org. Mais rien a voir avec le probleme nodejs je pense.

le fichier de log upnp_dep en pièce jointe et ici :

Code : Tout sélectionner

Début de l'installation
Nodejs non installé
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
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded.
Utilisation du dépot officiel

## Installing the NodeSource Node.js 8.x LTS Carbon repo...


## Populating apt-get cache...

+ apt-get update
Ign http://repo.jeedom.com ./ InRelease
Ign http://ftp.debian.org jessie InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Hit https://deb.nodesource.com jessie InRelease
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://ftp.debian.org jessie-updates/non-free Sources
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [11.8 kB]
Hit https://deb.nodesource.com jessie/main Sources
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://repo.jeedom.com ./ Packages
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Ign http://repo.jeedom.com ./ Translation-en_US
Ign http://repo.jeedom.com ./ Translation-en
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:5 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:6 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Hit https://deb.nodesource.com jessie/main arm64 Packages
Get:7 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:8 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [26.0 kB]
Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:11 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:12 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [23.9 kB]
Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:14 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:15 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8,530 B]
Get:16 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:17 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,960 B]
Get:18 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:19 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Get:21 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:22 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7,762 B]
Get:23 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_US
Get:24 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [18.0 kB]
Get:25 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:26 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Get:27 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4,948 B]
Get:28 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [8,254 B]
Get:29 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:30 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8,392 B]
Get:31 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:32 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [18.0 kB]
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net all InRelease
Hit http://oph.mdrjr.net jessie InRelease
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Hit http://oph.mdrjr.net all/main arm64 Packages
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:33 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:34 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:35 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:36 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:37 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:38 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:39 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:40 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:41 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:44 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:45 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:46 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:47 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:48 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:49 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:50 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:51 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:52 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:53 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:54 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:55 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:56 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:57 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:58 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:59 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:60 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:61 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:62 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:63 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:64 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:65 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:66 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:67 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:68 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:69 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:70 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:71 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:72 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:73 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Get:74 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:75 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Ign http://oph.mdrjr.net all/main Translation-en_US
Get:76 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:77 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Ign http://oph.mdrjr.net all/testing Translation-en_US
Get:78 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:79 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Get:80 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:81 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Get:82 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 363 kB in 24s (14.5 kB/s)
Reading package lists...

## You seem to be using Devuan version jessie.
## This maps to Debian "jessie"... Adjusting for you...

## Confirming "jessie" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.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 8.x LTS Carbon repo...

+ echo 'deb https://deb.nodesource.com/node_8.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_8.x jessie main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Ign http://ftp.debian.org jessie InRelease
Ign http://repo.jeedom.com ./ InRelease
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://ftp.debian.org jessie-updates InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://repo.jeedom.com ./ Release
Hit http://ftp.debian.org jessie-proposed-updates InRelease
Hit https://deb.nodesource.com jessie InRelease
Hit http://ftp.debian.org jessie Release.gpg
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://ftp.debian.org jessie-updates/non-free Sources
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [11.8 kB]
Hit https://deb.nodesource.com jessie/main Sources
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Hit https://deb.nodesource.com jessie/main arm64 Packages
Get:2 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://oph.mdrjr.net all InRelease
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:3 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,688 B]
Hit http://repo.jeedom.com ./ Packages
Hit http://oph.mdrjr.net jessie InRelease
Ign http://repo.jeedom.com ./ Translation-en_US
Get:4 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign http://repo.jeedom.com ./ Translation-en
Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Get:8 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:9 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:10 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [26.0 kB]
Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:12 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:13 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Hit http://oph.mdrjr.net all/main arm64 Packages
Get:14 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [23.9 kB]
Get:15 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:16 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8,530 B]
Get:17 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:18 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7,960 B]
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:19 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:20 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:21 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_US
Get:22 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:23 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [19.1 kB]
Get:24 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:25 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:26 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7,762 B]
Get:27 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [18.0 kB]
Get:28 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:29 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4,948 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Get:30 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [8,254 B]
Get:31 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:32 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8,392 B]
Get:33 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:34 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [18.0 kB]
Hit http://ftp.debian.org jessie/main Sources
Get:35 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Get:36 http://oph.mdrjr.net all/main Translation-en [323 B]
Hit http://ftp.debian.org jessie/main arm64 Packages
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Get:37 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Get:38 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:39 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:40 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:41 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:42 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:43 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:44 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:45 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:46 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:47 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:48 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:49 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:50 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:51 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:52 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:53 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:54 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:55 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:56 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:57 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:58 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:59 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:60 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:61 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:62 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:63 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Get:64 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:65 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Get:66 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:67 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Get:68 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:69 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Get:70 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:71 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Get:72 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:73 http://oph.mdrjr.net all/c2 Translation-en_US [324 B]
Ign http://oph.mdrjr.net all/c2 Translation-en_US
Get:74 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:75 http://oph.mdrjr.net all/main Translation-en_US [326 B]
Ign http://oph.mdrjr.net all/main Translation-en_US
Get:76 http://oph.mdrjr.net all/main Translation-en [323 B]
Ign http://oph.mdrjr.net all/main Translation-en
Get:77 http://oph.mdrjr.net all/testing Translation-en_US [329 B]
Ign http://oph.mdrjr.net all/testing Translation-en_US
Get:78 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Get:79 http://oph.mdrjr.net jessie/backports Translation-en_US [334 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en_US
Get:80 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:81 http://oph.mdrjr.net jessie/main Translation-en_US [329 B]
Ign http://oph.mdrjr.net jessie/main Translation-en_US
Get:82 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 363 kB in 9s (38.7 kB/s)
Reading package lists...

## Run `sudo apt-get install -y nodejs` to install Node.js 8.x LTS Carbon and npm
## You may also need development tools to build native addons:
     sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update && sudo apt-get install yarn


Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 60.4 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  nodejs
E: There are problems and -y was used without --force-yes
/var/www/html/plugins/upnp/resources/nodejs.sh: line 47: nodejs: command not found
Version actuelle : 
/var/www/html/plugins/upnp/resources/nodejs.sh: line 54: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
Fin de l'installation
Pièces jointes
upnp_dep (1).txt
(18.9 Kio) Téléchargé 33 fois

Gnou
Timide
Messages : 78
Inscription : 17 juin 2015, 10:57

Re: [Plugin Tiers][Sujet Principal] upnp

Message par Gnou » 02 sept. 2018, 17:34

Bonjour à tous !
J'ai une prise wemo que j'ai intégré sur upnp. 10 objets apparaissent relatifs à la prise apparaissent.
Je ne sais pas comment la commander après. Je voudrais créer un virtuel on/off mais je ne trouve pas la commande pour.
Merci d'avance !
Jeedom Mini + Ultimate
Fibaro Motion Sensor FGMS-001 / Zipato "Mini Keypad" RFID / Everspring SE812

DavZero
Actif
Messages : 521
Inscription : 19 déc. 2015, 14:31

Re: [Plugin Tiers][Sujet Principal] upnp

Message par DavZero » 02 sept. 2018, 18:04

Salut,

Pour la configuration d'un prise Wemo, il faut regarder ici tous est expliquer :
viewtopic.php?f=133&t=22754&p=411931&hi ... te#p411931

Tu peux passer par un virtuel mais ce n'est pas obligatoire.

A+

Gnou
Timide
Messages : 78
Inscription : 17 juin 2015, 10:57

Re: [Plugin Tiers][Sujet Principal] upnp

Message par Gnou » 02 sept. 2018, 18:35

Top merci @Davzero !
Je regarde ca !

A+
Jeedom Mini + Ultimate
Fibaro Motion Sensor FGMS-001 / Zipato "Mini Keypad" RFID / Everspring SE812

Gnou
Timide
Messages : 78
Inscription : 17 juin 2015, 10:57

Re: [Plugin Tiers][Sujet Principal] upnp

Message par Gnou » 02 sept. 2018, 18:47

@Davzero,
J'ai regardé, je crée un nouvelle commande mais je n'ai pas d'action avec SetBinaryState et d'info avec BinaryState.
J'ai essayé dans Belkin:device:insight:1 mais aussi sur les autres equipement crées et c'est pareil
Merci d'avance !
Jeedom Mini + Ultimate
Fibaro Motion Sensor FGMS-001 / Zipato "Mini Keypad" RFID / Everspring SE812

DavZero
Actif
Messages : 521
Inscription : 19 déc. 2015, 14:31

Re: [Plugin Tiers][Sujet Principal] upnp

Message par DavZero » 02 sept. 2018, 19:23

Tu peux me faire un screenshot de lanpage équipement du plugin que je vois tous les équipement créer stp. A+

Envoyé de mon A0001 en utilisant Tapatalk


Gnou
Timide
Messages : 78
Inscription : 17 juin 2015, 10:57

Re: [Plugin Tiers][Sujet Principal] upnp

Message par Gnou » 02 sept. 2018, 22:12

Voila le screenshot !
Merci de ton aide !
Image
Pièces jointes
screen.png
screen.png (814.34 Kio) Consulté 1306 fois
Jeedom Mini + Ultimate
Fibaro Motion Sensor FGMS-001 / Zipato "Mini Keypad" RFID / Everspring SE812

DavZero
Actif
Messages : 521
Inscription : 19 déc. 2015, 14:31

Re: [Plugin Tiers][Sujet Principal] upnp

Message par DavZero » 02 sept. 2018, 23:38

Salut, peux tu ouvrir l'équipement dont le nom contient basicevent et me faire un screenshot des commandes stp?

Envoyé de mon A0001 en utilisant Tapatalk


Gnou
Timide
Messages : 78
Inscription : 17 juin 2015, 10:57

Re: [Plugin Tiers][Sujet Principal] upnp

Message par Gnou » 03 sept. 2018, 08:35

@Davezero
Merci à toi, j'ai résolue mon problème. En fait, je me rend compte que si je charge plusieurs équipements et qu'ensuite je regarde les commandes c'est OK mais lorsque que j'en rajoute, les différentes possibilités dans le menu déroulants ne s'affichent pas ou sont celle de l'équipement précédent. En allant directement dans basicevent ca marche comme dans le lien que tu m'as donné.
Un grand merci !!
Jeedom Mini + Ultimate
Fibaro Motion Sensor FGMS-001 / Zipato "Mini Keypad" RFID / Everspring SE812

drs
Actif
Messages : 1534
Inscription : 04 nov. 2016, 10:44

Re: [Plugin Tiers][Sujet Principal] upnp

Message par drs » 04 sept. 2018, 11:29

Salut Davzero

Après avoir fait évoluer mon install, j'aurais besoin de récupérer la consommation en temps réel de ma prise insight. Le seul endroit où je la vois, c'est dans le basicevent, BinaryState, où on peut voir une suite de chiffres, séparés par le caractère "|" (entouré en rouge dans la capture ci-dessous):

Image

Saurais-tu:
- soit comment le trouver autrement?
- soit comment extraire juste cette donnée de cette suite de chiffres?

Merci d'avance :)

DavZero
Actif
Messages : 521
Inscription : 19 déc. 2015, 14:31

Re: [Plugin Tiers][Sujet Principal] upnp

Message par DavZero » 04 sept. 2018, 21:34

Salut @drs,

tu dois avoir un autre équipement (le nom de l’équipement doit contenir Insight) pour ta prise dans lequel j'ai fait la conversion de ce texte en différent champ dont un qui doit être InstantPower.

Pour info le champ que tu as mis en rouge est le OnFor (depuis combien de temps la prise est On). La puissance c'est le 8ème champs soit 7000 (c'est en mW, ça fait donc 7 W)

A+

drs
Actif
Messages : 1534
Inscription : 04 nov. 2016, 10:44

Re: [Plugin Tiers][Sujet Principal] upnp

Message par drs » 05 sept. 2018, 09:57

Salut

Merci pour ta réponse. Voilà donc pourquoi je ne le trouve pas. Car contrairement aux autres prises wemo, la insight n'a qu'un seul équipement.
Il faut que je refasse un scan pour avoir les autres tu crois?

drs
Actif
Messages : 1534
Inscription : 04 nov. 2016, 10:44

Re: [Plugin Tiers][Sujet Principal] upnp

Message par drs » 06 sept. 2018, 09:31

Re

Voilà, j'ai trouvé, il est dans Insight1 et se nomme bien InstantPower.

Merci :)

lolisteph
Timide
Messages : 72
Inscription : 06 mai 2017, 15:15

Re: [Plugin Tiers][Sujet Principal] upnp

Message par lolisteph » 11 sept. 2018, 23:43

Bonjour,
Je cherchais a commander mon cube canalsat par jeedom/plugin upnp/google mini/iftt/interactions et j'y suis arrivé
(Merci a DavZero au passage pour avoir réglé mon problème de dépendances sur la Smart)
Etant un véritable zappeur, la seule commande qui m’intéresse est le changement de chaine.
Je serais ravi de vous détailler ceci mais il me reste un petit détail : J'arrive a commander les chaines 1,2,3,4,5,6,6,7,8,9 mais pas 10,11,..52...102
Les chaines 0 a 10 ont les codes clés 58112 à 58121
Exemple : la chaine 1

Code : Tout sélectionner

$cmd = cmd::byString('#[Maison][CANAL+ Zappeur HD Wifi:Remote-Control][SendKey]#');
$options = array (
  "uuid"=>"......",
  "key" => "58113"
 );
$cmd->execute($options);
Par contre, si on veut la chaine 11, il faut faire 2 appels, un appel pour le premier "1" et un autre pour le deuxième "1" :

Code : Tout sélectionner

$cmd = cmd::byString('#[Maison][CANAL+ Zappeur HD Wifi:Remote-Control][SendKey]#');
$options = array (
  "uuid"=>"......",
  "key" => "58113"
 );
$cmd->execute($options);
$options = array (
  "uuid"=>"......",
  "key" => "58113"
 );
$cmd->execute($options);
Ce qui veut dire que mon scénario appelé par mon interaction doit savoir décomposer n'importe quel nombre en liste de chiffres puis en clé canalsat : "11" => 1 1 => 58113 58113 et "131" => 1 3 1 => 58113 58115 58113
Je pense que c'est faisable avec un bloc code et un LOOP sur chaque caractère de la chaîne en entrée.
Simplement je ne suis pas un expert en développement : quelqu'un pourrait il m'aider ?

Merci ;-)

DavZero
Actif
Messages : 521
Inscription : 19 déc. 2015, 14:31

Re: [Plugin Tiers][Sujet Principal] upnp

Message par DavZero » 12 sept. 2018, 21:43

Salut,

regarde du coté de la commande setSelectedChannel. (il doit y avoir une commande GetChannels ou un truc du genre pour récupérer les infos a mettre dans SetSelectedChannel, avec nom des chaines associés)
Se sera plus simple que de gérer le "multi envoi" de touche.

Sinon il faut faire un boucle for genre :

Code : Tout sélectionner

$cmd = cmd::byString('#[Maison][CANAL+ Zappeur HD Wifi:Remote-Control][SendKey]#');
for (int i = 0 ; i < len ($chaine) ; i++)
{
  $options = array (
  "uuid"=>"......",
  "key" => 58112+$chaine[i],
  "waitResponse" => 1
 );
 $cmd->execute($options);
}
A+
Dernière édition par DavZero le 12 sept. 2018, 23:48, édité 1 fois.

lolisteph
Timide
Messages : 72
Inscription : 06 mai 2017, 15:15

Re: [Plugin Tiers][Sujet Principal] upnp

Message par lolisteph » 12 sept. 2018, 21:58

Merci, je viens de voir aussi un $array = str_split(......); foreach ($array as $char) { }
Je n'ai pas utilisé le SetSelectedChannel car il faut le "locator" propre à chaque cube d'après ce que j'ai compris et je n'ai pas réussi à le déterminer.
le SendKey fonctionne nickel :-)
je vais surement aussi gérer le volume... et aussi l'enregistrement instantané.
Merci encore DavZero.

demoulins
Timide
Messages : 46
Inscription : 02 déc. 2017, 23:30

Re: [Plugin Tiers][Sujet Principal] upnp

Message par demoulins » 10 déc. 2018, 15:01

Bonjour,
Recemment sous Jeedom, j'ai installé le Plugin Upnp. L'installation s'est bien passée; dépendance et démon OK.
Le scan ne me propose aucun équipement. J'ai l'erreur JeeEven : Vous n'êtes pas autorisé à effectuer cette action 1, IP : 192.168.1.22
Cette adresse correspond à ma VM Debian.
Sur le réseau j'ai plusieurs equipements Upnp : Freebox player, Plex sur un NAS, Plex sur un NUC.
Dans la configuration, j'ai laissé le port à vide.

Voici le log du demon :
10-12-2018 14:13:34 | Error | Unable to read SCPDURL, url : http://192.168.1.47:8008/ssdp/notfound, err : null
10-12-2018 14:27:33 | Error | Unable to read SCPDURL, url : http://192.168.1.47:8008/ssdp/notfound, err : null
10-12-2018 14:28:31 | Error | Unable to read SCPDURL, url : http://192.168.1.2:1990/x_wfawlanconfig.xml, err : Error: socket hang up
10-12-2018 14:28:32 | Error | Unable to read SCPDURL, url : http://192.168.1.47:8008/ssdp/notfound, err : null

192.168.1.47 correspond à une chromecast
192.168.1.2 correspond à un Netgear R7000 en mode Bridge (le routeur étant une freebox)

Merci d'avance pour votre aide. Avez-vous besoin d'informations complémentaires.

demoulins
Timide
Messages : 46
Inscription : 02 déc. 2017, 23:30

Re: [Plugin Tiers][Sujet Principal] upnp

Message par demoulins » 10 déc. 2018, 15:58

Le log d'installation concernant le message précédent.

Début de l'installation
Version actuelle : 8
Ok, version suffisante
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
npm ERR! A complete log of this run can be found in:
npm ERR! /var/www/.npm/_logs/2018-12-10T14_53_14_756Z-debug.log
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-12-10T14_53_15_417Z-debug.log
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/node/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/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.
+ ip@1.1.5
added 1 package from 1 contributor and audited 1 package in 1.16s
found 0 vulnerabilities
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/node/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/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.
+ xml2js@0.4.19
added 3 packages from 48 contributors and audited 4 packages in 1.324s
found 0 vulnerabilities
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/node/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/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.
+ request@2.88.0
added 48 packages from 59 contributors and audited 69 packages in 3.099s
found 0 vulnerabilities
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/node/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/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.
+ portfinder@1.0.20
added 6 packages from 6 contributors and audited 200 packages in 2.186s
found 0 vulnerabilities
npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/node/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/plugins/upnp/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.
+ html-entities@1.2.1
added 1 package from 1 contributor and audited 208 packages in 1.966s
found 0 vulnerabilities
Fin de l'installation

Merci

Répondre

Revenir vers « [Catégorie] Protocoles domotiques »

Qui est en ligne ?

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