Homematic Interface Layer für Hue Lampen und alles andere

diverse Zusatzsoftware

Moderator: Co-Administratoren

Borland
Beiträge: 415
Registriert: 28.10.2015, 21:12
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von Borland » 06.03.2018, 07:01

Danke für Deine Rückmeldung.
Bevor ich mich jetzt blödsuche, dieser Thread ist la riesig ;)
Welche Log Datei meinst Du und wo finde ich die?

Grüße

B.

Benutzeravatar
thkl
Beiträge: 2765
Registriert: 15.07.2013, 13:32
Wohnort: dickes B
Danksagung erhalten: 5 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von thkl » 06.03.2018, 07:02

Service Mode / Log anzeigen ...

Borland
Beiträge: 415
Registriert: 28.10.2015, 21:12
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von Borland » 06.03.2018, 07:21

Ok, dass war eine blöde Frage von mir. Dachte ich muss mich per SSH einloggen und irgendwo suchen ;)

Ich habe HVL gerade noch mal runtergeschmissen und wieder installiert.
(Wobei ich glaube, dass es nicht wirklich deinstalliert würde da meine RaspianMatic IP noch vorhanden ist....)


So sieht’s im Log aus:
F0DD489F-E02B-4E54-8848-5873931C3785.png
DA513581-FD1C-48FE-ABBB-79DC5B0A010A.png

VG
B.

Benutzeravatar
thkl
Beiträge: 2765
Registriert: 15.07.2013, 13:32
Wohnort: dickes B
Danksagung erhalten: 5 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von thkl » 06.03.2018, 07:24

Naja steht ja schon mal da das iCal und Raumfeld nicht aktiv sind. Also gefunden werden sie aber aktiviert sind sie nicht. Klick mal auf Bearbeiten auf der ersten Seite und dann auf aktivieren.
Wenn die nicht aktiv gehen schau noch mal ins Log. (Btw man kann den Text da kopieren und muss keine Screenshots mache :) )

prospero
Beiträge: 3
Registriert: 07.01.2018, 10:58

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von prospero » 06.03.2018, 07:31

Guten Morgen,

nachdem ich nun auch fast die ganze Nacht mit dem Lesen der >250 Seiten dieses Threads und dem dennoch vergeblichen Versuch, Tradfri auf einer RaspberryMatic zum Laufen zu bekommen, verbracht habe, muss ich mich einfach zu Wort melden.

Vorwort: Bin noch relativ neu in der Homematic-Welt , habe die letzten Wochen schon viel hier gelesen, sollte ich aber dennoch Unfug verzapfen, bitte ich um entsprechendes Feedback.

Verwendete Hardware: Raspberry Pi3 mit RaspberryMatic 2.31.25.20180120

Nach Installation der hvl-raspb-0.0.7.tar.gz (von https://github.com/thkl/Homematic-Virtu ... _installer) unter "Systemsteuerung -> Zusatzsoftware" und anschließendem Reboot, habe ich unter "Systemsteuerung -> Zusatzsoftware" dann auch einen Eintrag "HVL" mit Version 0.0.7 und den Buttons "Deinstallieren" und "Einstellungen" (sinngemäß)
(während meiner weiteren krampfhaften Versuche im Laufe der Nacht hatte ich ab und an sogar noch den zweiten Eintrag "Homematic Interface Layer" mit Version 0.9 (?) und dem Button "Deinstallieren").
Irgendwann hatte ich dann sogar mal einen Button "Homematic Interface Layer" direkt unter "Systemsteuerung". Der Button führt aber zu einem leeren Browser, erst durch manuelles Anpassen der URL auf <IP-Adresse>:8300 bin ich auf die HLV-Konfiguration gekommen.
Hier konnte ich dann problemlos das HUE-Plugin installieren und aktivieren. Bei Tradfri passierte aber nach Anklicken von "Installieren" gar nichts.

Im Log findet sich immer wieder folgende Sequenz:

Code: Alles auswählen

[DEBUG] - request assets not handled by a plugin try mine Tue Mar 06 2018 04:20:23 GMT+0100 (CET)[Homematic Virtual Interface.Server] [ERROR] - Error: Command failed: cd /usr/local/addons/hvl;/usr/local/addons/hvl/node/bin/node /usr/local/addons/hvl/node/bin/npm install homematic-virtual-tradfridevice --production --prefix "/usr/local/addons/hvl"
npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11) node-pre-gyp ERR! Tried to download(404): https://github.com/AlCalzone/node-aead-crypto/releases/download/v1.0.5/node-v48-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-aead-crypto@1.0.5 and node@6.10.0 (node-v48 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (/usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:449:14)
gyp ERR! stack     at /usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:353:11
gyp ERR! stack     at F (/usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/which/which.js:69:16)
gyp ERR! stack     at E (/usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack     at /usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack     at /usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack     at /usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.9.77-v7
gyp ERR! command "/usr/local/addons/hvl/node/bin/node" "/usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/local/addons/hvl/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node" "--module_name=node_aead_crypto" "--module_path=/usr/local/addons/hvl/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm"
gyp ERR! cwd /usr/local/addons/hvl/node_modules/node-aead-crypto
gyp ERR! node -v v6.10.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/addons/hvl/node/bin/node /usr/local/addons/hvl/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/addons/hvl/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm/node_aead_crypto.node --module_name=node_aead_crypto --module_path=/usr/local/addons/hvl/node_modules/node-aead-crypto/build/Release/node-v48-linux-arm' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/addons/hvl/node_modules/node-aead-crypto/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Linux 4.9.77-v7 node-pre-gyp ERR! command "/usr/local/addons/hvl/node/bin/node" "/usr/local/addons/hvl/node_modules/node-aead-crypto/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/addons/hvl/node_modules/node-aead-crypto
node-pre-gyp ERR! node -v v6.10.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok 

npm ERR! Linux 4.9.77-v7
npm ERR! argv "/usr/local/addons/hvl/node/bin/node" "/usr/local/addons/hvl/node/bin/npm" "run" "install:default"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! node-aead-crypto@1.0.5 install:default: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! 
npm ERR! Failed at the node-aead-crypto@1.0.5 install:default script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-aead-crypto package, npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-aead-crypto
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-aead-crypto
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/addons/hvl/node_modules/node-aead-crypto/npm-debug.log
child_process.js:526
    throw err;
    ^

Error: Command failed: npm run install:default
    at checkExecSyncError (child_process.js:483:13)
    at execSync (child_process.js:523:13)
    at Object.<anonymous> (/usr/local/addons/hvl/node_modules/node-aead-crypto/lib/install.js:22:1)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:394:7)
npm WARN enoent ENOENT: no such file or directory, open '/usr/local/addons/hvl/package.json'
npm WARN hvl No description
npm WARN hvl No repository field.
npm WARN hvl No README data
npm WARN hvl No license field.
npm ERR! Linux 4.9.77-v7
npm ERR! argv "/usr/local/addons/hvl/node/bin/node" "/usr/local/addons/hvl/node/bin/npm" "install" "homematic-virtual-tradfridevice" "--production" "--prefix" "/usr/local/addons/hvl"
npm ERR! node v6.10.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! node-aead-crypto@1.0.5 install: `node lib/install.js` npm ERR! Exit status 1 npm ERR! 
npm ERR! Failed at the node-aead-crypto@1.0.5 install script 'node lib/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-aead-crypto package, npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node lib/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-aead-crypto
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-aead-crypto
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/addons/hvl/npm-debug.log
npm ERR! code 1

    at checkExecSyncError (child_process.js:483:13)
    at Object.execSync (child_process.js:523:13)
    at Server.installNPM (/usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:1373:27)
    at /usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:1061:10
    at Array.some (native)
    at /usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:1056:8
    at Server.buildPluginList (/usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:1125:4)
    at Server.fetchPluginList (/usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:1102:9)
    at Server.installPlugin (/usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:1054:8)
    at Server.handleConfigurationRequest (/usr/local/addons/hvl/node_modules/homematic-virtual-interface/lib/Server.js:576:10)
Tue Mar 06 2018 04:19:41 GMT+0100 (CET)[Homematic Virtual Interface.Server] [INFO] - Installing homematic-virtual-tradfridevice to /usr/local/addons/hvl Tue Mar 06 2018 04:19:41 GMT+0100 (CET)
Auf Thomas' Github-Seite findet sich ja der Hinweis
If you want to use this on an Raspberrymatic CCU , please use this CCU Addon. The addon will fetch all necessary files from the web at the first launch. So please note: You will need internet access on your CCU.
Die CCU scheint Internetverbindung zu haben (zumindest wird die Uhrzeit via ntp geholt). Es ist auch so, dass der Link hinter "CCU Addon" auf die nicht mehr erhältliche Version 0.0.2 zeigt. Kann nur diese die restlichen Dateien nachladen? Muss ich da manuell noch etwas nachinstallieren?
Gibt es hier überhaupt jemanden, der das Tradfri-Plugin auf einer RaspberryMatic zu Laufen gebracht hat?

Für jeden sachdienlichen Hinweis wäre ich sehr dankbar!

Gruß,
Harald

Borland
Beiträge: 415
Registriert: 28.10.2015, 21:12
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von Borland » 06.03.2018, 07:32

Moin,
Also ich konnte nicht auf aktivieren, sondern nur auf installieren klicken.
Das habe ich bei ICal gemacht und nach nicht mal einer Minute stand ICal auf aktiviert.
Allerdings sieht jetzt alles wieder wie oben auf dem Screenshot aus, ich kann z.B. Keine Adresse für den Google Kalendereingeben.
Da ich am IPad sitze und jetzt los muss zur Arbeit hier trotzdem noch mal ein Screenshot.
Ich kann das heute Abend besser machen ;)

9021045A-702C-4834-9606-37B2BF0E9692.png
7F654131-0058-4F4A-90E1-277CB6E9B59B.png

Benutzeravatar
thkl
Beiträge: 2765
Registriert: 15.07.2013, 13:32
Wohnort: dickes B
Danksagung erhalten: 5 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von thkl » 06.03.2018, 07:39

@prospero HVL auf dem Raspberrymatic Gerät laufen zu lassen ist eher eine „könnte gehen“ Notlösung. Einig Sachen auf der RM sind nicht da wie bei einem Rasp mit einem Debian. TradFri benötigt zb. einen Coap Client zur Kommunikation der wird direkt aus dem Github geladen. Nur das git Command gibt es auf RM nicht.

prospero
Beiträge: 3
Registriert: 07.01.2018, 10:58

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von prospero » 06.03.2018, 09:54

Alles klar, dieses "könnte gehen" war mir nicht in dieser Deutlichkeit klar. Habe eigentlich bewusst auf RasperryMatic gesetzt, weil ich dachte, "alles" in einem zu bekommen.
Ist es dann sinnvoller, noch einen zweiten Raspberry Pi mit dedizierter IOBroker-Installation (Mittelfristig sollen eh Botvac und Alexa mitspielen) daneben zu gesellen, oder gibt es noch andere Möglichkeiten?

Borland
Beiträge: 415
Registriert: 28.10.2015, 21:12
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von Borland » 06.03.2018, 10:01

thkl hat geschrieben:@prospero HVL auf dem Raspberrymatic Gerät laufen zu lassen ist eher eine „könnte gehen“ Notlösung. Einig Sachen auf der RM sind nicht da wie bei einem Rasp mit einem Debian. TradFri benötigt zb. einen Coap Client zur Kommunikation der wird direkt aus dem Github geladen. Nur das git Command gibt es auf RM nicht.

OK, dann könnten meine Probleme auch daran liegen.
Dann deinstalliere ich HVL mal wieder und schau ob ich das anders mit dem Google Kalender hinbekomme.
Schade, hat sich eigentlich gut angehört.

VG

B.

Benutzeravatar
thkl
Beiträge: 2765
Registriert: 15.07.2013, 13:32
Wohnort: dickes B
Danksagung erhalten: 5 Mal

Re: Homematic Interface Layer für Hue Lampen und alles ander

Beitrag von thkl » 06.03.2018, 10:14

Der Kalender sollte aber funktionieren das sind nur http(s) calls

Antworten

Zurück zu „Sonstige Addons“