Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !
Publié : 26 juin 2019, 08:46
Parfait
Forum sur Jeedom
https://www.jeedom.com/forum/
Votre plateforme est sous la version Jessie (8) de Debian qui n'est plus supporté car de nombreux paquets ne sont plus disponibles.Mika77 a écrit : ↑22 sept. 2019, 17:07Bonsoir a tous, impossible d’utiliser le plugin, alors que sa fait plusieurs mois que je l’utilise sans probleme.
Je relance les dépendances et a chaque fois a la fin sa passe sur status nok.
Voici log.
Code : Tout sélectionner
Début de l'installation converted 'https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh' (UTF-8) --2019-09-22 15:00:55-- https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1491 (1.5K) [text/plain] Saving to: 'dependencies.sh' 0K . 100% 12.7M=0s 2019-09-22 15:00:56 (12.7 MB/s) - 'dependencies.sh' saved [1491/1491] dependencies.sh: 3: [: onkyo: unexpected operator Nodejs non installé 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 https://deb.nodesource.com jessie InRelease Hit http://archive.raspberrypi.org jessie/ui armhf Packages Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages Hit https://deb.nodesource.com jessie/main Sources Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Hit https://deb.nodesource.com jessie/main armhf Packages Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B] Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B] Ign http://archive.raspberrypi.org jessie/main Translation-en Ign http://archive.raspberrypi.org jessie/ui Translation-en Get:3 https://deb.nodesource.com jessie/main Translation-en [162 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] 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://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Reading package lists... Reading package lists... Building dependency tree... Reading state information... lsb-release is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded. 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 210 not upgraded. dependencies.sh: 37: [: armv7l: unexpected operator Utilisation du dépot officiel ## Installing the NodeSource Node.js 12.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 https://deb.nodesource.com jessie InRelease Hit http://archive.raspberrypi.org jessie/main armhf Packages Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages Hit https://deb.nodesource.com jessie/main Sources Hit http://archive.raspberrypi.org jessie/ui armhf Packages Hit https://deb.nodesource.com jessie/main armhf Packages Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B] Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B] Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:5 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://archive.raspberrypi.org jessie/ui Translation-en Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Reading package lists... ## 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_12.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 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x jessie main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.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 https://deb.nodesource.com jessie InRelease Hit http://mirrordirector.raspbian.org jessie/main armhf Packages Hit http://archive.raspberrypi.org jessie/ui armhf Packages Hit https://deb.nodesource.com jessie/main Sources Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages Hit https://deb.nodesource.com jessie/main armhf Packages Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B] Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B] Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B] Get:5 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://archive.raspberrypi.org jessie/ui Translation-en Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Reading package lists... ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x 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... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed E: Unable to correct problems, you have held broken packages. dependencies.sh: 1: dependencies.sh: nodejs: not found Version actuelle : dependencies.sh: 59: dependencies.sh: npm: not found chown: cannot access 'node_modules': No such file or directory Fin de l'installation
Pour savoir comment tester une commande il suffit de lire sa valeur.kristobal a écrit : ↑13 oct. 2019, 10:30Bonjour,
J'utilise le plugin depuis un moment et pour faire mes scénarios, je n'arrive pas à utiliser le nom de la commande native.
Par exemple la commande BDDVD commande native = SLI10 (ce qu'il faudrait utiliser pour le scénario).
si je met ça --> #[Salon][Ampli onkyo][Input Selector]# == "SLI10" mon scénario ne fonctionne pas !
et si je met ça --> #[Salon][Ampli onkyo][Input Selector]# matches "/10/" ça fonctionne !
Pouvez vous me dire ce que j'ai pas compris pour utiliser le retour de la commande de l'ampli
Merci
Code : Tout sélectionner
Début de l'installation
--2019-11-25 09:23:29-- https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K . 100% 4.49M=0s
2019-11-25 09:23:30 (4.49 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: onkyo: unexpected operator
Version actuelle : 12
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Fetched 185 kB in 11s (16.2 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Ok, version suffisante
JeedomOnkyo@1.0.1 /var/www/jeedom/plugins/onkyo/resources
+-- async@3.1.0
+-- events@3.0.0
+-- net@1.0.2
`-- request@2.88.0
+-- aws-sign2@0.7.0
+-- aws4@1.8.0
+-- caseless@0.12.0
+-- combined-stream@1.0.8
| `-- delayed-stream@1.0.0
+-- extend@3.0.2
+-- forever-agent@0.6.1
+-- form-data@2.3.3
| `-- asynckit@0.4.0
+-- har-validator@5.1.3
| +-- ajv@6.10.2
| | +-- fast-deep-equal@2.0.1
| | +-- fast-json-stable-stringify@2.0.0
| | +-- json-schema-traverse@0.4.1
| | `-- uri-js@4.2.2
| | `-- punycode@2.1.1
| `-- har-schema@2.0.0
+-- http-signature@1.2.0
| +-- assert-plus@1.0.0
| +-- jsprim@1.4.1
| | +-- extsprintf@1.3.0
| | +-- json-schema@0.2.3
| | `-- verror@1.10.0
| | `-- core-util-is@1.0.2
| `-- sshpk@1.16.1
| +-- asn1@0.2.4
| +-- bcrypt-pbkdf@1.0.2
| +-- dashdash@1.14.1
| +-- ecc-jsbn@0.1.2
| +-- getpass@0.1.7
| +-- jsbn@0.1.1
| +-- safer-buffer@2.1.2
| `-- tweetnacl@0.14.5
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.25
| `-- mime-db@1.42.0
+-- oauth-sign@0.9.0
+-- performance-now@2.1.0
+-- qs@6.5.2
+-- safe-buffer@5.2.0
+-- tough-cookie@2.4.3
| +-- psl@1.4.0
| `-- punycode@1.4.1
+-- tunnel-agent@0.6.0
`-- uuid@3.3.3
rm: cannot remove '/tmp/onkyo_dep': No such file or directory
Fin de l'installation
Code : Tout sélectionner
-rw-r--r-- 1 www-data www-data 3 nov. 25 09:25 /tmp/${2}_dep