Probleme bei der Einrichtung eines "Weather"-Devices

Begonnen von WW, 27 Januar 2024, 20:23:43

Vorheriges Thema - Nächstes Thema

WW

Hallo, ich habe versucht mit

define myOpenWeather Weather API=OpenWeatherMapAPI, cachemaxage:600 apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx interval=3600 lang=de
unter Benutzung der OpenWeatherMapAPI ein Device zu erstellen und erhalte dabei die Fehlermeldung

Cannot load module Weather
und im Log-File

2024.01.27 20:18:19.014 1: reload: Error:Modul 59_Weather deactivated:
 Attempt to reload FHEM/Core/Weather.pm aborted.
Compilation failed in require at ./FHEM/59_Weather.pm line 35.

2024.01.27 20:18:19.014 0: Attempt to reload FHEM/Core/Weather.pm aborted.
Compilation failed in require at ./FHEM/59_Weather.pm line 35.

die entsprechende CodeZeile:
35 require FHEM::Core::Weather;
Irgenwelche Ideen, was ich falsch mache?

MfG
Willi
FHEM 6.0 im Docker-Container (OMV4 auf ASRock J3455-ITX), FHEM 6.0 auf Raspi, Fritzbox 7490, CUL433, CUL868, Jeelink868, SIGNALduino, LaCrosseGateway, SonoffZbBridge, Shelly, Sonoff, ESP8266, ESP32, ESP32-Cam, LaCrosse, Revolt, OneWire, Zigbee (Sonoff, Blitzwolf, IKEA, Lidl)

betateilchen

Ist Dein FHEM auf dem aktuellsten Stand? Falls nicht, mach mal ein update, starte FHEM danach neu und probiere nochmal.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

WW

Zitat von: betateilchen am 27 Januar 2024, 22:14:55Ist Dein FHEM auf dem aktuellsten Stand? Falls nicht, mach mal ein update, starte FHEM danach neu und probiere nochmal.

FHEM ist aktuell, habe gerade noch ein "update all" gemacht. Fhem läuft im Docker-Container, allerdings noch unter Buster.

define fhemServerApt AptToDate localhost
attr fhemServerApt DbLogExclude .*
attr fhemServerApt alias System Update Status
attr fhemServerApt devStateIcon system.updates.available:security@red system.is.up.to.date:security@green:repoSync .*in.progress:system_fhem_reboot@orange errors:message_attention@red
attr fhemServerApt group Update
attr fhemServerApt icon debian
attr fhemServerApt room System->Server
#   .FhemMetaInternals 1
#   DEF        localhost
#   FUUID      5cf55578-f33f-8792-58a1-ce06b2960adbb9d5
#   FVERSION   42_AptToDate.pm:v1.4.5-s19639/2019-06-18
#   HOST       localhost
#   NAME       fhemServerApt
#   NOTIFYDEV  global,fhemServerApt
#   NR         50
#   NTFY_ORDER 50-fhemServerApt
#   STATE      system is up to date
#   TYPE       AptToDate
#   VERSION    v1.4.5
#   eventCount 89
#   .attraggr:
#   .attrminint:
#   .fhem:
#     aptget:
#       cmd        getUpdateList
#       debug      0
#       distupgrade 0
#       host       localhost
#       lang       en
#       packages:
#       updatedpackages:
#         bluez:
#           current    5.50-1.2~deb10u3
#           new        5.50-1.2~deb10u4
#         curl:
#           current    7.64.0-4+deb10u7
#           new        7.64.0-4+deb10u8
#         libcurl3-gnutls:amd64:
#           current    7.64.0-4+deb10u7
#           new        7.64.0-4+deb10u8
#         libcurl4:amd64:
#           current    7.64.0-4+deb10u7
#           new        7.64.0-4+deb10u8
#         libmariadb3:amd64:
#           current    1:10.3.39-0+deb10u1
#           new        1:10.3.39-0+deb10u2
#         linux-libc-dev:amd64:
#           current    4.19.289-2
#           new        4.19.304-1
#         mariadb-client:
#           current    1:10.3.39-0+deb10u1
#           new        1:10.3.39-0+deb10u2
#         mariadb-client-10.3:
#           current    1:10.3.39-0+deb10u1
#           new        1:10.3.39-0+deb10u2
#         mariadb-client-core-10.3:
#           current    1:10.3.39-0+deb10u1
#           new        1:10.3.39-0+deb10u2
#         mariadb-common:
#           current    1:10.3.39-0+deb10u1
#           new        1:10.3.39-0+deb10u2
#         openssh-client:
#           current    1:7.9p1-10+deb10u3
#           new        1:7.9p1-10+deb10u4
#         tzdata:
#           current    2021a-0+deb10u11
#           new        2021a-0+deb10u12
#   READINGS:
#     2024-01-27 20:34:52   .updatedList    {"packages":{"bluez":{"current":"5.50-1.2~deb10u3","new":"5.50-1.2~deb10u4"},"linux-libc-dev:amd64":{"current":"4.19.289-2","new":"4.19.304-1"},"mariadb-client":{"new":"1:10.3.39-0+deb10u2","current":"1:10.3.39-0+deb10u1"},"mariadb-common":{"current":"1:10.3.39-0+deb10u1","new":"1:10.3.39-0+deb10u2"},"tzdata":{"new":"2021a-0+deb10u12","current":"2021a-0+deb10u11"},"curl":{"new":"7.64.0-4+deb10u8","current":"7.64.0-4+deb10u7"},"libcurl3-gnutls:amd64":{"current":"7.64.0-4+deb10u7","new":"7.64.0-4+deb10u8"},"libcurl4:amd64":{"current":"7.64.0-4+deb10u7","new":"7.64.0-4+deb10u8"},"libmariadb3:amd64":{"current":"1:10.3.39-0+deb10u1","new":"1:10.3.39-0+deb10u2"},"mariadb-client-core-10.3":{"new":"1:10.3.39-0+deb10u2","current":"1:10.3.39-0+deb10u1"},"mariadb-client-10.3":{"current":"1:10.3.39-0+deb10u1","new":"1:10.3.39-0+deb10u2"},"openssh-client":{"new":"1:7.9p1-10+deb10u4","current":"1:7.9p1-10+deb10u3"}}}
#     2024-01-27 20:34:55   .upgradeList    {}
#     2022-02-05 20:50:53   os-release_BUG_REPORT_URL https://bugs.debian.org/
#     2022-02-05 20:50:53   os-release_HOME_URL https://www.debian.org/
#     2022-02-05 20:50:53   os-release_ID   debian
#     2022-02-05 20:50:53   os-release_NAME Debian GNU/Linux
#     2022-02-05 20:50:53   os-release_PRETTY_NAME Debian GNU/Linux 10 (buster)
#     2022-02-05 20:50:53   os-release_SUPPORT_URL https://www.debian.org/support
#     2022-02-05 20:50:53   os-release_VERSION 10 (buster)
#     2022-02-05 20:50:53   os-release_VERSION_CODENAME buster
#     2022-02-05 20:50:53   os-release_VERSION_ID 10
#     2022-02-05 20:50:53   os-release_language en
#     2024-01-27 01:24:54   repoSync        fetched done
#     2024-01-27 20:34:55   state           system is up to date
#     2024-01-27 20:34:52   toUpgrade       successful
#     2024-01-27 20:34:55   updatesAvailable 0
#   helper:
#     lastSync   2024-01-27
#
setstate fhemServerApt system is up to date
setstate fhemServerApt 2024-01-27 20:34:52 .updatedList {"packages":{"bluez":{"current":"5.50-1.2~deb10u3","new":"5.50-1.2~deb10u4"},"linux-libc-dev:amd64":{"current":"4.19.289-2","new":"4.19.304-1"},"mariadb-client":{"new":"1:10.3.39-0+deb10u2","current":"1:10.3.39-0+deb10u1"},"mariadb-common":{"current":"1:10.3.39-0+deb10u1","new":"1:10.3.39-0+deb10u2"},"tzdata":{"new":"2021a-0+deb10u12","current":"2021a-0+deb10u11"},"curl":{"new":"7.64.0-4+deb10u8","current":"7.64.0-4+deb10u7"},"libcurl3-gnutls:amd64":{"current":"7.64.0-4+deb10u7","new":"7.64.0-4+deb10u8"},"libcurl4:amd64":{"current":"7.64.0-4+deb10u7","new":"7.64.0-4+deb10u8"},"libmariadb3:amd64":{"current":"1:10.3.39-0+deb10u1","new":"1:10.3.39-0+deb10u2"},"mariadb-client-core-10.3":{"new":"1:10.3.39-0+deb10u2","current":"1:10.3.39-0+deb10u1"},"mariadb-client-10.3":{"current":"1:10.3.39-0+deb10u1","new":"1:10.3.39-0+deb10u2"},"openssh-client":{"new":"1:7.9p1-10+deb10u4","current":"1:7.9p1-10+deb10u3"}}}
setstate fhemServerApt 2024-01-27 20:34:55 .upgradeList {}
setstate fhemServerApt 2022-02-05 20:50:53 os-release_BUG_REPORT_URL https://bugs.debian.org/
setstate fhemServerApt 2022-02-05 20:50:53 os-release_HOME_URL https://www.debian.org/
setstate fhemServerApt 2022-02-05 20:50:53 os-release_ID debian
setstate fhemServerApt 2022-02-05 20:50:53 os-release_NAME Debian GNU/Linux
setstate fhemServerApt 2022-02-05 20:50:53 os-release_PRETTY_NAME Debian GNU/Linux 10 (buster)
setstate fhemServerApt 2022-02-05 20:50:53 os-release_SUPPORT_URL https://www.debian.org/support
setstate fhemServerApt 2022-02-05 20:50:53 os-release_VERSION 10 (buster)
setstate fhemServerApt 2022-02-05 20:50:53 os-release_VERSION_CODENAME buster
setstate fhemServerApt 2022-02-05 20:50:53 os-release_VERSION_ID 10
setstate fhemServerApt 2022-02-05 20:50:53 os-release_language en
setstate fhemServerApt 2024-01-27 01:24:54 repoSync fetched done
setstate fhemServerApt 2024-01-27 20:34:55 state system is up to date
setstate fhemServerApt 2024-01-27 20:34:52 toUpgrade successful
setstate fhemServerApt 2024-01-27 20:34:55 updatesAvailable 0

FHEM 6.0 im Docker-Container (OMV4 auf ASRock J3455-ITX), FHEM 6.0 auf Raspi, Fritzbox 7490, CUL433, CUL868, Jeelink868, SIGNALduino, LaCrosseGateway, SonoffZbBridge, Shelly, Sonoff, ESP8266, ESP32, ESP32-Cam, LaCrosse, Revolt, OneWire, Zigbee (Sonoff, Blitzwolf, IKEA, Lidl)