FHEM - Hausautomations-Systeme > Home Connect

Gelöst: HomeConnectConnection cannot noad module

(1/4) > >>

maddinthebrain:
Hallo,

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

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

Viele Grüße
Martin

CoolTux:
Schau mal bitte ins FHEM Log. Da sollte stehen was ihm fehlt.

maddinthebrain:
Dort findet sich das:

--- Code: ---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.

--- Ende Code ---

Sagt mir allerdings nichts.

Grüße Martin

CoolTux:

--- Code: ---apt-get install libswitch-perl
--- Ende Code ---

Aber kann mir nicht vorstellen das dies nicht in der Anleitung steht.

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

Viele Grüße

Martin

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln