Gelöst: HomeConnectConnection cannot noad module

Begonnen von maddinthebrain, 10 Juni 2020, 09:27:31

Vorheriges Thema - Nächstes Thema

maddinthebrain

Hallo,

Ich habe nach der Wiki Anleitung meine Applikation im Entwickleraccount eingerichtet und das Homeconnect Modul installiert. Wenn ich nun nach dem Muster define hcconn HomeConnectConnection API-KEY REDIRECT-URL simulator CLIENT-SECRET in Fhem
einrichten will, kommt die Fehlermeldung "Cannot load module HomeConnectConnection"

Woran liegt das? Weiß jemand eine Lösung?

Viele Grüße
Martin
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren

CoolTux

Schau mal bitte ins FHEM Log. Da sollte stehen was ihm fehlt.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

maddinthebrain

Dort findet sich das:
reload: Error:Modul 48_HomeConnectConnection deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM ./FHEM/lib) at ./FHEM/48_HomeConnectConnection.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/48_HomeConnectConnection.pm line 26.

2020.06.10 09:19:20 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM ./FHEM/lib) at ./FHEM/48_HomeConnectConnection.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/48_HomeConnectConnection.pm line 26.

2020.06.10 09:21:53 3: set MQTT2_FHEM_Server publish /SmartHome/Wohnzimmer/Heizung/state 17.0°C (rf error) : Last parameter must be quiet
2020.06.10 09:21:53 3: ntfy_publish_mqtt return value: Last parameter must be quiet
2020.06.10 09:23:46 1: reload: Error:Modul 48_HomeConnectConnection deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM ./FHEM/lib) at ./FHEM/48_HomeConnectConnection.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/48_HomeConnectConnection.pm line 26.

2020.06.10 09:23:46 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM ./FHEM/lib) at ./FHEM/48_HomeConnectConnection.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/48_HomeConnectConnection.pm line 26.

2020.06.10 09:25:21 1: reload: Error:Modul 48_HomeConnectConnection deactivated:
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM ./FHEM/lib) at ./FHEM/48_HomeConnectConnection.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/48_HomeConnectConnection.pm line 26.

2020.06.10 09:25:21 0: Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM ./FHEM/lib) at ./FHEM/48_HomeConnectConnection.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/48_HomeConnectConnection.pm line 26.


Sagt mir allerdings nichts.

Grüße Martin
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren

CoolTux

apt-get install libswitch-perl

Aber kann mir nicht vorstellen das dies nicht in der Anleitung steht.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

maddinthebrain

#4
Danke es hat funktioniert, jedoch sagt das Device nun login necessary . Was wird denn hier erwartet bei set erwartet?

Viele Grüße

Martin
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

maddinthebrain

Hmm, da hast allerdings Recht...   :[ wer lesen kann...
Das Einloggen mit Email und "password", hier geht aber nicht das Passwort des eigentlichen Homeconnect Accounts, funktioniert,
Aber nach dem klicken auf Approve kommt folgende Fehlermeldung:
{"error":{"key":"SDK.Simulator.InternalError","description":"An internal error occured"}}
Ich habe schon alles gecheckt, Client ID, client Secret, Redirect Url. Ist alles korrekt.

Das Wiki oder commandref hilft auch nicht weiter...

Viele Grüße

Martin
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren

CoolTux

Dann muss sich das mal einer anschauen der das Modul verwendet.


Grüße
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

swhome

Zitat von: maddinthebrain am 11 Juni 2020, 22:08:49Aber nach dem klicken auf Approve kommt folgende Fehlermeldung:
{"error":{"key":"SDK.Simulator.InternalError","description":"An internal error occured"}}

Hi, hast Du keine echten Hausgeräte oder willst Du den Simulator vielleicht gar nicht benutzen? Dann bitte das Wörtchen aus der Definition entfernen. Lg! Stefan
Im Einsatz: FHEM auf Raspberry Pi mit 350 devices, hauptsächlich Homematic Wired und HM-Heizungsregler, dazu diverse Eigenbauten für Fussbodenheizung und LED Beleuchtung. Und jetzt mit Alexa!

maddinthebrain

#9
Doch natürlich möchte ich meinen Dunstabzug. Ich hatte es nur so verstanden, dass man das so machen soll.
OK, danke es funktioniert. Leider ist der Wiki Artikel an der Stelle unverständlich. Der Artikel ist insgesamt schwierig zu lesen. Ich werde das mal verbessern

Viele Grüße

Martin
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren

DJFS

Hallo,

was kann der Fehler "Cannot load module HomeConnectConnection" noch sein?

MadMax-FHEM

Zitat von: DJFS am 01 Mai 2021, 10:53:41
Hallo,

was kann der Fehler "Cannot load module HomeConnectConnection" noch sein?

Alles Mögliche... ;)

Nein, ernst: was steht denn im Log?
Da sollte doch stehen warum...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

DJFS

Wo finde ich den log?  Ich wollte auch schon schauen...

MadMax-FHEM

FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

DJFS

mmh, ok.
das habe ich früher vermutlich mal deaktiviert.