Probleme nach räumlicher Veränderung

Begonnen von mfeske, 31 März 2016, 17:59:44

Vorheriges Thema - Nächstes Thema

mfeske

Hallo zusammen,

ich habe heute eine räumliche Veränderung der Heimautomatisierung vorgenommen und habe seit dem zwei kleine Probleme.

1) FHEM startet normal und ist über die Weboberfläche erreichbar, irgendwann kommt dann allerdings:
"Diese Website ist nicht erreichbar
192.168.115.73 hat die Verbindung abgelehnt.
ERR_CONNECTION_REFUSED"

Ich kann dann am Raspian sudo /etc/init.d/fhem stop ausführen was mit einem Stopping fhem... quittiert wird. Bei einem sudo /etc/init.d/fhem start erhallte ich ein Starting fhem... Daemon with PID 2796 started! Can't bind socket: Address already in use und fhem ist nach einer kurzen zeit wieder erreichbar. Ist das Can't bind socket: Address already in use vielleicht die Ursache für diese Problematik ? Ich hatte am Raspian aber keine Änderungen vorgenommen.

2) Ich dachte mit einem fhem Update das Problem lösen zu können. Bekomme jetzt allerdings nach dem Update Fehlermeldungen im Bezug auf das Wettermodul: "2016.03.31 16:58:57 2: Messages collected while initializing FHEM: configfile: Cannot load module Weather Cannot load module Weather". Ich hatte im Forum einen Beitrag gefunden, das ein apt-get install libdatetime-format-strptime-perl Abhilfe schaffen soll, allerdings erhalte ich die Meldung: libdatetime-format-strptime-perl ist schon die neueste Version.

Hier noch der Auszug aus der Logdatei nach einem Start:
2016.03.31 16:56:51 0: Server shutdown
2016.03.31 16:57:32 2: MAX MaxScan: UtilsMaxScan_Initialize.71 MaxScan is starting
2016.03.31 16:57:32 1: Including fhem.cfg
2016.03.31 16:57:32 3: telnetPort: port 7072 opened
2016.03.31 16:57:35 3: WEB: port 8083 opened
2016.03.31 16:57:35 3: WEBphone: port 8084 opened
2016.03.31 16:57:35 3: WEBtablet: port 8085 opened
2016.03.31 16:57:39 2: eventTypes: loaded 5622 events from ./log/eventTypes.txt
2016.03.31 16:57:40 3: Opening CUL868 device /dev/serial/by-id/usb-busware.de_CUL868-if00
2016.03.31 16:57:40 3: Setting CUL868 serial parameters to 9600,8,N,1
2016.03.31 16:57:40 3: CUL868 device opened
2016.03.31 16:57:40 3: CUL868: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2016.03.31 16:57:40 2: Switched CUL868 rfmode to MAX
2016.03.31 16:57:40 3: CUL_MAX_Check: Detected firmware version 161 of the CUL-compatible IODev
2016.03.31 16:57:41 3: Opening CUL433 device /dev/serial/by-id/usb-busware.de_CUL433-if00
2016.03.31 16:57:41 3: Setting CUL433 serial parameters to 9600,8,N,1
2016.03.31 16:57:41 3: CUL433 device opened
2016.03.31 16:57:41 3: CUL433: Possible commands: BbCFiAZEkGMKUYRTVWXefmltux
2016.03.31 16:57:42 1: reload: Error:Modul 59_Weather deactivated:
Can't locate JSON.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at FHEM/YahooWeatherAPI.pm line 31, <$fh> line 128.
BEGIN failed--compilation aborted at FHEM/YahooWeatherAPI.pm line 31, <$fh> line 128.
Compilation failed in require at ./FHEM/59_Weather.pm line 33, <$fh> line 128.
BEGIN failed--compilation aborted at ./FHEM/59_Weather.pm line 33, <$fh> line 128.

2016.03.31 16:57:42 0: Can't locate JSON.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at FHEM/YahooWeatherAPI.pm line 31, <$fh> line 128.
BEGIN failed--compilation aborted at FHEM/YahooWeatherAPI.pm line 31, <$fh> line 128.
Compilation failed in require at ./FHEM/59_Weather.pm line 33, <$fh> line 128.
BEGIN failed--compilation aborted at ./FHEM/59_Weather.pm line 33, <$fh> line 128.

2016.03.31 16:57:42 1: reload: Error:Modul 59_Weather deactivated:
Attempt to reload YahooWeatherAPI.pm aborted.
Compilation failed in require at ./FHEM/59_Weather.pm line 33, <$fh> line 131.
BEGIN failed--compilation aborted at ./FHEM/59_Weather.pm line 33, <$fh> line 131.

2016.03.31 16:57:42 0: Attempt to reload YahooWeatherAPI.pm aborted.
Compilation failed in require at ./FHEM/59_Weather.pm line 33, <$fh> line 131.
BEGIN failed--compilation aborted at ./FHEM/59_Weather.pm line 33, <$fh> line 131.

2016.03.31 16:58:12 0: MSGMail: SSL is available, provided by Net::SMTP::SSL
2016.03.31 16:58:13 3: [Daemmerung] got no weather info from yahoo. Error code: http://weather.yahooapis.com/forecastrss?w=20065724&u=c: Can't connect(1) to http://weather.yahooapis.com:80: IO::Socket::INET: Bad hostname 'weather.yahooapis.com:80'
2016.03.31 16:58:18 1: HMLAN_Parse: hmusb new condition disconnected
2016.03.31 16:58:18 3: Opening hmusb device 127.0.0.1:1234
2016.03.31 16:58:18 3: hmusb device opened
2016.03.31 16:58:18 1: HMLAN_Parse: hmusb new condition init
2016.03.31 16:58:28 3: WEBhook: port 8088 opened
2016.03.31 16:58:28 2: Registering GEOFANCY geofancy for URL /geo...
2016.03.31 16:58:35 1: Including ./log/fhem.save
2016.03.31 16:58:40 1: configfile: Cannot load module Weather
Cannot load module Weather

2016.03.31 16:58:41 3: Device Heizung_Arbeitszimmer added to ActionDetector with 000:10 time
2016.03.31 16:58:41 3: Device Heizung_Bad added to ActionDetector with 000:10 time
2016.03.31 16:58:41 3: Device Heizung_Bad_klein added to ActionDetector with 000:10 time
2016.03.31 16:58:42 3: Device Heizung_Flur added to ActionDetector with 000:10 time
2016.03.31 16:58:42 3: Device Heizung_Kueche added to ActionDetector with 000:10 time
2016.03.31 16:58:42 3: Device Heizung_Schlafzimmer added to ActionDetector with 000:10 time
2016.03.31 16:58:42 3: Device Rauchmelder01 added to ActionDetector with 099:00 time
2016.03.31 16:58:48 1: usb create starting
2016.03.31 16:58:50 3: Probing CUL device /dev/ttyAMA0
2016.03.31 16:58:50 3: Probing TCM_ESP3 device /dev/ttyAMA0
2016.03.31 16:58:51 3: Probing FRM device /dev/ttyAMA0
2016.03.31 16:58:56 1: usb create end
2016.03.31 16:58:57 2: Messages collected while initializing FHEM: configfile: Cannot load module Weather Cannot load module Weather
2016.03.31 16:58:57 0: Featurelevel: 5.7
2016.03.31 16:58:57 0: Server started with 439 defined entities (fhem.pl:11144/2016-03-29 perl:5.014002 os:linux user:fhem pid:2340)
2016.03.31 16:58:58 3: telnetForBlockingFn_1459436338: port 59305 opened
2016.03.31 16:58:59 3: CUL_HM set Rauchmelder01 statusRequest
2016.03.31 16:59:00 1: HMLAN_Parse: hmusb new condition ok
2016.03.31 16:59:06 3: SchulferienBerlin.notify return value: SCALAR(0x2383f30)
2016.03.31 16:59:06 3: SchulferienBerlin.notify return value: SCALAR(0x2300c60)
2016.03.31 16:59:07 3: SchulferienBerlin.notify return value: SCALAR(0x2323a98)
2016.03.31 16:59:07 3: SchulferienBerlin.notify return value: SCALAR(0x258fb60)
2016.03.31 16:59:07 3: SchulferienBerlin.notify return value: SCALAR(0x2315760)
2016.03.31 16:59:07 3: SchulferienBerlin.notify return value: SCALAR(0x12b13d8)
2016.03.31 16:59:07 3: SchulferienBerlin.notify return value: SCALAR(0x22f2040)
2016.03.31 16:59:07 3: SchulferienBerlin.notify return value: SCALAR(0x2373528)
2016.03.31 16:59:08 3: SchulferienBerlin.notify return value: SCALAR(0x25904a8)
2016.03.31 16:59:08 1: PERL WARNING: Use of uninitialized value $ics in split at ./FHEM/57_Calendar.pm line 2113.
2016.03.31 16:59:08 1: Calendar Kalender_Vetera: data not in ICal format
2016.03.31 16:59:51 2: CUL_TCM97001 Unknown device CUL_TCM97001_246, please define it
2016.03.31 16:59:52 2: CUL_TCM97001 Unknown device CUL_TCM97001_246, please define it
2016.03.31 16:59:53 2: autocreate: define ABS700_246 CUL_TCM97001 CUL_TCM97001_246
2016.03.31 17:00:00 3: CUL_HM set gong_MP3 press long
2016.03.31 17:15:20 0: Server shutdown
2016.03.31 17:48:57 2: MAX MaxScan: UtilsMaxScan_Initialize.71 MaxScan is starting
2016.03.31 17:48:57 1: Including fhem.cfg
2016.03.31 17:48:57 3: telnetPort: port 7072 opened
2016.03.31 17:48:58 3: WEB: port 8083 opened
2016.03.31 17:48:58 3: WEBphone: port 8084 opened
2016.03.31 17:48:58 3: WEBtablet: port 8085 opened
2016.03.31 17:49:01 2: eventTypes: loaded 5622 events from ./log/eventTypes.txt
2016.03.31 17:49:01 3: Opening CUL868 device /dev/serial/by-id/usb-busware.de_CUL868-if00
2016.03.31 17:49:01 3: Setting CUL868 serial parameters to 9600,8,N,1
2016.03.31 17:49:01 3: CUL868 device opened
2016.03.31 17:49:02 3: CUL868: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2016.03.31 17:49:02 2: Switched CUL868 rfmode to MAX
2016.03.31 17:49:02 3: CUL_MAX_Check: Detected firmware version 161 of the CUL-compatible IODev
2016.03.31 17:49:03 3: Opening CUL433 device /dev/serial/by-id/usb-busware.de_CUL433-if00
2016.03.31 17:49:03 3: Setting CUL433 serial parameters to 9600,8,N,1
2016.03.31 17:49:03 3: CUL433 device opened
2016.03.31 17:49:03 3: CUL433: Possible commands: BbCFiAZEkGMKUYRTVWXefmltux
2016.03.31 17:49:07 0: MSGMail: SSL is available, provided by Net::SMTP::SSL
Use of uninitialized value $current in numeric ge (>=) at ./FHEM/59_Twilight.pm line 463, <$fh> line 308.
Use of uninitialized value $current in numeric le (<=) at ./FHEM/59_Twilight.pm line 463, <$fh> line 308.
Use of uninitialized value $current in array element at ./FHEM/59_Twilight.pm line 464, <$fh> line 308.
2016.03.31 17:49:12 1: HMLAN_Parse: hmusb new condition disconnected
2016.03.31 17:49:12 3: Opening hmusb device 127.0.0.1:1234
2016.03.31 17:49:12 3: hmusb device opened
2016.03.31 17:49:12 1: HMLAN_Parse: hmusb new condition init
2016.03.31 17:49:21 3: WEBhook: port 8088 opened
2016.03.31 17:49:21 2: Registering GEOFANCY geofancy for URL /geo...
2016.03.31 17:49:28 1: Including ./log/fhem.save
2016.03.31 17:49:33 3: Device Heizung_Arbeitszimmer added to ActionDetector with 000:10 time
2016.03.31 17:49:33 3: Device Heizung_Bad added to ActionDetector with 000:10 time
2016.03.31 17:49:34 3: Device Heizung_Bad_klein added to ActionDetector with 000:10 time
2016.03.31 17:49:34 3: Device Heizung_Flur added to ActionDetector with 000:10 time
2016.03.31 17:49:34 3: Device Heizung_Kueche added to ActionDetector with 000:10 time
2016.03.31 17:49:34 3: Device Heizung_Schlafzimmer added to ActionDetector with 000:10 time
2016.03.31 17:49:35 3: Device Rauchmelder01 added to ActionDetector with 099:00 time
2016.03.31 17:49:41 1: usb create starting
2016.03.31 17:49:43 3: Probing CUL device /dev/ttyAMA0
2016.03.31 17:49:43 3: Probing TCM_ESP3 device /dev/ttyAMA0
2016.03.31 17:49:43 3: Probing FRM device /dev/ttyAMA0
2016.03.31 17:49:48 1: usb create end
2016.03.31 17:49:49 0: Featurelevel: 5.7
2016.03.31 17:49:49 0: Server started with 440 defined entities (fhem.pl:11144/2016-03-29 perl:5.014002 os:linux user:fhem pid:2798)
2016.03.31 17:49:50 3: telnetForBlockingFn_1459439390: port 36339 opened
2016.03.31 17:49:51 3: CUL_HM set Rauchmelder01 statusRequest
2016.03.31 17:50:01 1: HMLAN_Parse: hmusb new condition ok
2016.03.31 17:50:02 1: Calendar Kalender_Vetera: retrieval failed with error message <hidden>: Can't connect(2) to https://www.google.com:443: SSL connect attempt failed because of handshake problems error:00000000:lib(0):func(0):reason(0) SSL connect attempt failed because of handshake problems error:00000000:lib(0):func(0):reason(0)
2016.03.31 17:50:02 1: Calendar Kalender_Vetera: retrieved no or empty data
2016.03.31 17:50:05 3: SchulferienBerlin.notify return value: SCALAR(0x2f41dd0)
2016.03.31 17:50:06 3: SchulferienBerlin.notify return value: SCALAR(0x2f29f68)
2016.03.31 17:50:06 3: SchulferienBerlin.notify return value: SCALAR(0x2f33498)
2016.03.31 17:50:06 3: SchulferienBerlin.notify return value: SCALAR(0x2f21550)
2016.03.31 17:50:06 3: SchulferienBerlin.notify return value: SCALAR(0x2f32210)
2016.03.31 17:50:06 3: SchulferienBerlin.notify return value: SCALAR(0x1e1a888)
2016.03.31 17:50:06 3: SchulferienBerlin.notify return value: SCALAR(0x2f2e8a8)
2016.03.31 17:50:07 3: SchulferienBerlin.notify return value: SCALAR(0x2f34bd8)
2016.03.31 17:50:07 3: SchulferienBerlin.notify return value: SCALAR(0x2f3b588)
2016.03.31 17:50:20 2: ROOMMATE set rr_location_dana location underway


Gruß
Micha
Hardware:
1 x Raspberry Pi Mod. B 512 MB
eq-3 2 x MAX! eTRV Heizungssteller, 1 x MAX! Fensterkontakt, 1 x MAX! Cube - LAN Gateway (ausser Betrieb)
Intertechno 1x ITZ-500, 3x ITT-1500, 9x ITR-1500, 3 x ITDL-1000, 2 x ITL-500
1 x CC1101-USB-Lite 433MHz (CUL433)  V3 1 x CC1101-USB-Lite 868MHz (CUL868)

frank

FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

mfeske

Heisst was für mich?

Gesendet von meinem HTC One_M8 mit Tapatalk

Hardware:
1 x Raspberry Pi Mod. B 512 MB
eq-3 2 x MAX! eTRV Heizungssteller, 1 x MAX! Fensterkontakt, 1 x MAX! Cube - LAN Gateway (ausser Betrieb)
Intertechno 1x ITZ-500, 3x ITT-1500, 9x ITR-1500, 3 x ITDL-1000, 2 x ITL-500
1 x CC1101-USB-Lite 433MHz (CUL433)  V3 1 x CC1101-USB-Lite 868MHz (CUL868)

Wolle02

Schau mal ganz oben auf der Forumseite, was da in Blau unter dem Punkt "Neuigkeiten" steht ;-)

Gruß
Wolle

Elektrolurch

Zitat:
2016.03.31 16:57:42 1: reload: Error:Modul 59_Weather deactivated:
 Can't locate JSON.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at FHEM/YahooWeatherAPI.pm line 31, <$fh> line 128.

Außerdem hat sich das Wetter-Modul geändert (siehe Command-Ref).
Da muss die libjson-perl nachinstalliert werden.

Elektrolurch
configDB und Windows befreite Zone!

mfeske

Ich bin mir sicher oben vorhin einen anderen Link gesehen zu haben, habe aber keine Zeit gehabt diesen zu lesen, jetzt steht bei mir aber:

FHEM 5.7 ist am 15.11.2015 erschienen.
Bitte lesen bei Fragen nach dem Update:

der Link ist doch schon alt.

Gruß
Micha
Hardware:
1 x Raspberry Pi Mod. B 512 MB
eq-3 2 x MAX! eTRV Heizungssteller, 1 x MAX! Fensterkontakt, 1 x MAX! Cube - LAN Gateway (ausser Betrieb)
Intertechno 1x ITZ-500, 3x ITT-1500, 9x ITR-1500, 3 x ITDL-1000, 2 x ITL-500
1 x CC1101-USB-Lite 433MHz (CUL433)  V3 1 x CC1101-USB-Lite 868MHz (CUL868)

krikan

Bitte diesem Link folgen und ggfs das Modul nachinstallieren: https://forum.fhem.de/index.php/topic,51461.msg431103.html#msg431103
Diese Information findet sich -wie bereits erwähnt- auch in der commandref: http://fhem.de/commandref#Weather

Hoffe, das löst Dein Problem.

Gruß, Christian

mfeske

Hallo Christian,

vielen Dank für die Info. Auch nach einem apt-get install libjson-perl leider keine Besserung. Weiterhin die Meldung: got no weather info from yahoo. Error code: http://weather.yahooapis.com/forecastrss?w=20065724&u=c: Can't connect(1) to http://weather.yahooapis.com:80: IO::Socket::INET: Bad hostname 'weather.yahooapis.com:80' oder muss ich jetzt die Wetter Orte neu definieren?

Gruß
Micha
Hardware:
1 x Raspberry Pi Mod. B 512 MB
eq-3 2 x MAX! eTRV Heizungssteller, 1 x MAX! Fensterkontakt, 1 x MAX! Cube - LAN Gateway (ausser Betrieb)
Intertechno 1x ITZ-500, 3x ITT-1500, 9x ITR-1500, 3 x ITDL-1000, 2 x ITL-500
1 x CC1101-USB-Lite 433MHz (CUL433)  V3 1 x CC1101-USB-Lite 868MHz (CUL868)