Neuigkeiten:

Am Sonntag den 8.12.2024 kann es ab ca. 8:00 Uhr zu kurzzeitigen Einschränkungen / Ausfällen bei den Diensten des FHEM Vereines kommen.
Die Server müssen mal gewartet und dabei neu gestartet werden ;)

Hauptmenü

Verbindung zwischen FHEM und FHEM Native bricht nach wenigen Minuten ab

Begonnen von grafix77, 28 Oktober 2022, 13:26:12

Vorheriges Thema - Nächstes Thema

Syrex-o

Zitat von: Guzzi-Charlie am 06 Februar 2023, 09:29:08
Hallo,

ich hab mir das gerade nochmal angeschaut. Der Punkt ist, daß ich die FhemNative-Seite natürlich nicht solange anschaue bis die Verbindung unterbrochen wird und das die Toast-Nachrichten ja auch nur kurz zu sehen sind. Ich habe jetzt mal in das Log geschaut (siehe unten) und da kommen am Ende schon Fehlermeldungen per Toast-Nachricht. Wie man sieht steht die Verbindung gerademal 1:40 Minuten und kommt auch nicht wieder.

2023-02-06T08:12:39.853Z INFO: App Settings loaded
2023-02-06T08:12:39.853Z INFO: Start connecting to Fhem
2023-02-06T08:12:39.853Z INFO: Connection try: 1
2023-02-06T08:12:39.853Z INFO: Try connecting with profile:  0
2023-02-06T08:12:39.963Z INFO: Connected to Fhem
2023-02-06T08:12:50.691Z INFO: Switch room to: Settings
2023-02-06T08:13:29.528Z INFO: Switch room to: Heizung
2023-02-06T08:13:29.569Z INFO: Component: Image ID: _7c04p639h added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _c9erys9yn added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _naj9gj2bx added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _cq8ml0krs added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _s6qarxe63 added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _w9ufiwsnh added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _80s3otsti added
2023-02-06T08:13:29.602Z INFO: Component: Label ID: _5lyv0jvux added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _kagfhnj5s added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _6vumocvx8 added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _baswb29qv added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _cxzr8rx7z added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _gkvjyshmf added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _3yzhg4zja added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _vwyzmwux0 added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _voti97zrf added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _h9stbjam7 added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _w64pb0u4j added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _iyx4mtn8q added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _yd73ggcfs added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _fhp7wz1tw added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _sb4jpme5z added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _mc81d44pk added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _b3uqxzelh added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _1bgvkzu8r added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _xgq6wltbo added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _ur5e5s9ae added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _jbb3w0ine added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _7f56zjwzr added
2023-02-06T08:13:29.603Z INFO: Component: Label ID: _vxnu9m448 added
2023-02-06T08:13:29.634Z INFO: Component: Box ID: _nmqrqhe8q added
2023-02-06T08:13:29.634Z INFO: Component: Box ID: _hnv8ogy7y added
2023-02-06T08:13:29.634Z INFO: Component: Box ID: _e4fbn7qo2 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _s78pdoa19 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _9mwsvr0x4 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _blbzzkuns added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _p3x8j5kqe added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _cbt9dboja added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _5kyuwvcy7 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _sefchab9v added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _k09g75lbu added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _9t5wp3x30 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _fg5n10icn added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _hf4idh06e added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _wsdf6m5ae added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _bn1bf4net added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _bqgtuuoso added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _o9qbaj6a2 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _ek5675om7 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _avdlsvmex added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _95gxvpgb9 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _9if71hli8 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _w66hmssdk added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _5gacmbx15 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _4p4nwbeft added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _ki9io6rba added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _q7guavnzm added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _tnusjas5h added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _zl4v42yyl added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _n5lcifq54 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _moucmkmv8 added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _ja1zc1gwe added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _1gf60ndoa added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _5ofrg0oyr added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _bj6315wrk added
2023-02-06T08:13:29.673Z INFO: Component: Icon ID: _6y2aqw3fp added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _rwtf6r56q added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _sn1q7dr87 added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _m6yh876oc added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _26uqzi8ks added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _m0ko07e9a added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _qb07y1rqb added
2023-02-06T08:13:29.821Z INFO: Component: Button ID: _hh90qpqxi added
2023-02-06T08:13:29.822Z INFO: Component: Button ID: _365qujw3f added
2023-02-06T08:13:29.822Z INFO: Component: Button ID: _h309uasay added
2023-02-06T08:13:29.822Z INFO: Component: Button ID: _gihvnyehs added
2023-02-06T08:13:29.822Z INFO: Component: Button ID: _5kwsavpt7 added
2023-02-06T08:13:29.822Z INFO: Component: Button ID: _n0thvmbww added
2023-02-06T08:13:29.822Z INFO: Component: Button ID: _3t7syvebd added
2023-02-06T08:13:30.622Z INFO: Value update received for: MQTT2_Hzg_T03_K115_Sh1PM
2023-02-06T08:13:30.982Z INFO: Value update received for: MQTT2_Hzg_T03_K115_Sh1PM
2023-02-06T08:13:30.983Z INFO: Value update received for: MQTT2_Hzg_T03_K115_Sh1PM
2023-02-06T08:13:30.983Z INFO: Value update received for: MQTT2_Hzg_T03_K115_Sh1PM
2023-02-06T08:13:32.223Z INFO: Value update received for: MQTT2_shellyswitch25_3C6105E352FE
2023-02-06T08:13:52.893Z INFO: Value update received for: MQTT2_Hzg_P05_Sh1PM
2023-02-06T08:13:54.120Z INFO: Value update received for: MQTT2_Hzg_E02_Sh1PM
2023-02-06T08:13:54.123Z INFO: Value update received for: MQTT2_Hzg_E02_Sh1PM
2023-02-06T08:13:54.124Z INFO: Value update received for: MQTT2_Hzg_E02_Sh1PM
2023-02-06T08:13:54.125Z INFO: Value update received for: MQTT2_Hzg_E02_Sh1PM
2023-02-06T08:14:00.752Z INFO: Value update received for: MQTT2_Hzg_T03_K115_Sh1PM
2023-02-06T08:14:00.752Z INFO: Value update received for: MQTT2_Hzg_T03_K115_Sh1PM
2023-02-06T08:14:07.451Z INFO: Value update received for: MQTT2_Hzg_E02_Sh1PM
2023-02-06T08:14:09.722Z INFO: Value update received for: MQTT2_shelly1pm_766048
2023-02-06T08:14:19.429Z ERROR: An error occured during the connection process
2023-02-06T08:14:19.429Z ERROR: Connection could not be established. Please check the URL carefully.
2023-02-06T08:14:19.429Z ERROR: [object Event]


Sieht das log für andere Räume auch so aus?
Ich versuche gerade zu verstehen, ob es vielleicht an den Geräten liegt .
Vielleicht wird da etwas nicht richtig interpretiert von FhemNative.

VG

Guzzi-Charlie

Hallo,

im Moment gibt es noch keine anderen Räume. Ich will mir die Arbeit erst machen wenn die Kommunikation fehlerfrei funktioniert. Man kann die Verbindung ja auch nicht "refreshen" sondern muß das Programm schließen und dann neu starten, oder?

- RaspPI 4+: (Cuno V2 -2x KS300, JeeLink -13x EC3000)
- Stromzähler (B+G E-Tech): 6x SDM120M, 9x XTM100A, 38x DRS110M
- LAN: IT LAN-Gateway mit 34x RMF-R1 (Rohrmotor24)
- WLAN: 85x Shelly, 12x Gosund SP111, 16x D1-Mini, 15x Sonoff Basic
- DECT: 6x DECT200, 8x DECT301, - HmIP: 3x FalmotC12, 16x WTH2

MadMax

Hier mal ein Log von mir.


2023-02-06T19:46:18.938Z INFO: App Settings loaded
2023-02-06T19:46:18.943Z INFO: Start connecting to Fhem
2023-02-06T19:46:18.943Z INFO: Connection try: 1
2023-02-06T19:46:18.943Z INFO: Try connecting with profile:  0
2023-02-06T19:46:19.023Z INFO: Connected to Fhem
2023-02-06T19:46:19.138Z INFO: Component: Box ID: _4gpblcf2h added
2023-02-06T19:46:19.138Z INFO: Component: Label ID: _6rcd71tx7 added
2023-02-06T19:46:19.139Z INFO: Component: IFrame ID: _rpf3hu52t added
2023-02-06T19:46:19.139Z INFO: Component: Button ID: _bdv9etb7h added
2023-02-06T19:46:19.139Z INFO: Component: Button ID: _hrl3yesof added
2023-02-06T19:46:19.139Z INFO: Component: Button ID: _1wzg1lzcj added
2023-02-06T19:46:19.139Z INFO: Component: Box ID: _dz7bs05uj added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _ys489e324 added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _3b79q7y0m added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _bmjlzjs9o added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _ix273kn3m added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _wvtpc98gq added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _a118kqjyc added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _qbtbtbc6k added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _xgs5l5xao added
2023-02-06T19:46:19.140Z INFO: Component: Label ID: _65mj0zh5q added
2023-02-06T19:46:23.411Z INFO: Switch room to: Settings
2023-02-06T19:46:29.220Z INFO: Value update received for: Stromverbrauch
2023-02-06T19:46:29.228Z INFO: Value update received for: Stromverbrauch
2023-02-06T19:46:29.243Z INFO: Value update received for: Stromverbrauch
2023-02-06T19:46:29.247Z INFO: Value update received for: Stromverbrauch
2023-02-06T19:46:29.250Z INFO: Value update received for: Stromverbrauch
2023-02-06T19:46:29.285Z INFO: Value update received for: Stromverbrauch
2023-02-06T19:46:42.576Z ERROR: An error occured during the connection process
2023-02-06T19:46:42.576Z ERROR: Connection could not be established. Please check the URL carefully.
2023-02-06T19:46:42.576Z ERROR: [object CloseEvent]
2023-02-06T19:46:51.061Z INFO: Switch room to: Settings


Es fehlen von Anfang an Werte, manchmal klappt es aber.
Die anderen Werte frieren aber auch sehr schnell ein.

Ich kann auch logs für andere Räume bieten.

Gruß
Max

Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

Syrex-o

Der Fehler macht für mich so keinen Sinn.
Die Reihenfolge der Events passt nicht.

Habt ihr Version 2.6.3 schon mal probiert?

VG

MadMax

Ja,

Die habe ich auch dort funktioniert es ohne diese Probleme.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax