Hallo,
ich hab mir TabletUi fürs Handy zurecht gebastelt. Bin auch sehr zufrieden damit... nur was mich ziemlich stört ist, das wenn ich die Seite im Browser von iPhone öffne dann sind bei manchen Devices die Zustände nicht richtig, zb Fenster ist auf obwohl es zu ist.... auch laut FHEMweb ist es geschlossen. Die Seite wird bei jedem öffnen mit dem Handy neu geladen... (Safari link zu TabletUi auf Homescreen in Vollbild Modus).
Ich weiss das es mit "longpoll" zu tun hat, dass es wohl nur richtig funktioniert wenn die Seite geöffnet ist. Wenn man TabletUI uf einem Handy verwendet wird muss es doch irgendwie gehen dass beim Aufrufen der Seite alles aktualisiert wird... Ich habe auch schon versucht longpoll auszuschalten und über ein "shortpoll_only_interval" von 3 Sekunden alles zu aktualisieren.... das geht aber leider auch nicht....
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="widget_base_width" content="85">
<meta name="widget_base_height" content="83">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="longpoll" content="1">
<meta name="shortpoll_interval" content="10">
<meta name="debug" content="0">
<meta http-equiv="Cache-Control" content="no-store" />
danke für die Hilfe
Gruß
Thorsten
Wenn debug>0 gestellt ist, kommt dann die Meldung "longpoll started"? Wenn nicht, dann verhindern Syntaxfehler das korrekte Laden der Seite.
Hey,
von ""longpoll started" habe ich noch nie etwas gelesen.... hmmm.....
Sorry,
habe da > Zeichen flasch herum gelsen ...
Ich habe jetzt auf debug auf 1 gestellt... und dann kommt die Meldung "longpol AJAX restartet" und auch die Meldung "Full refresh done in 0,1s for 32 parameter..."
Hallo,
Wenn beim Öffnung der Seite die Meldung full Refresh down und Longpol startet kommt, dann frage ich mich schon warum bestimmte States nicht aktualisiert werden.... Gibt doch bestimmt eine Lösung für das Problem....
Gruß
Thorsten
Gesendet von iPhone mit Tapatalk
Hallo,
Hat keinen einen Ratschlag was bei mir falsch sein könnte?
Gruß
Thorsten
Gesendet von iPhone mit Tapatalk
HTML Syntax Fehler, Device Name falsch, Reading Name falsch, event-on-reading-change im FHEM nicht an ????
Das ist halt leider alles ziemlich wenig Info, die du da lieferst. Auf Syntaxfehler - wie setstate schrieb - hast du überprüft?
Ansonsten, wie sieht denn dein FHEMWEB-Device aus?
Syntaxfehler habe ich in der Log Datei nicht gefunden. Zum ausprobieren habe ich das Türschloss wo das Problem auch auftaucht gegen ein Dummy getauscht mit dem gleichen Namen ( Das richtige Türschloss unbenannt.) Auch bei dem Dummy tritt das selbe Problem auf. Event-on.... habe ich auch schon mit herum Probiert....auch ein zum testen angelegtes Label zeigt nicht immer den aktuellen State des Schlosses an.....
Gruß
Thorsten
Gesendet von iPhone mit Tapatalk
Morgen. Was für Informationen benötigt ihr denn damit ihr mir helfen könnt?
Gesendet von iPhone mit Tapatalk
HTML Syntax Fehler schlagen selten in der Console als Fehlermeldung auf. Der Browser versucht das irgendwie zu rendern, für die FTUI Logik kann es aber alles durcheinander bringen.
Mach mal ein Update, Debug-Meta auf 2 setzen, Seite refreshen und dann in der Browser-Webconsole nach "healthCheck" filtern. Ein paar Sekunden warten, bis healthCheck Zeilen kommen.
Der Output wäre dann interessant
Hallo,
das habe ich als Ergebnis, ein Update mache ich morgen mal wenn ich mehr Zeit habe...
Page became visible again -> start healthCheck in 3 secondes
fhem-tablet-ui.min.js:2 --------- start healthCheck --------------
fhem-tablet-ui.min.js:2 --------- end healthCheck ---------------
fhem-tablet-ui.min.js:2 --------- start healthCheck --------------
fhem-tablet-ui.min.js:2 --------- end healthCheck ---------------
fhem-tablet-ui.min.js:2 --------- start healthCheck --------------
fhem-tablet-ui.min.js:2 --------- end healthCheck ---------------
fhem-tablet-ui.min.js:2 Page became visible again -> start healthCheck in 3 secondes
fhem-tablet-ui.min.js:2 --------- start healthCheck --------------
Gruß
Thorsten
Ohne das FTUI Update nützt mir das nix. Ich habe die Änderung, dass man danach besser filtern kann, erst gestern gemacht.
Aha, wenn das so ist dann werde ich das gleich nach dem Sport mal machen.... Danke schonmal
Gesendet von iPhone mit Tapatalk
Hey,
habe jetzt das Update mit einem anschließenden restart gemacht..... In der Anzeige jedoch das selbe Ergebnis....
Gruß
Thorsten
Hey, hier das Ergebnis... musste erst die Browserdaten löschen.....
fhem-tablet-ui.min.js:1 Page became visible again -> start healthCheck in 3 secondes
fhem-tablet-ui.min.js:1 healthCheck: now=Thu Feb 22 2018 19:47:38 GMT+0100 (CET)
fhem-tablet-ui.min.js:1 healthCheck: FTUI version=2.6.41
fhem-tablet-ui.min.js:1 healthCheck: Longpoll=true
fhem-tablet-ui.min.js:1 healthCheck: Longpoll type=ajax
fhem-tablet-ui.min.js:1 healthCheck: Longpoll objects there=true
fhem-tablet-ui.min.js:1 healthCheck: Longpoll current line=45
fhem-tablet-ui.min.js:1 healthCheck: Longpoll last event before=1 Sekunde(n)
fhem-tablet-ui.min.js:1 healthCheck: Longpoll last reading update before=40 Sekunde(n)
fhem-tablet-ui.min.js:1 healthCheck: Shortpoll interval=900
fhem-tablet-ui.min.js:1 healthCheck: Shortpoll last run before=39 Sekunde(n)
fhem-tablet-ui.min.js:1 healthCheck: FHEM dev/par count=32
fhem-tablet-ui.min.js:1 healthCheck: FTUI known devices count=50
fhem-tablet-ui.min.js:1 healthCheck: Current modules count=7
fhem-tablet-ui.min.js:1 healthCheck: module-0 pagebutton@
fhem-tablet-ui.min.js:1 healthCheck: module-1 switch@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-2 label@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-3 symbol@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-4 popup@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-5 checkbox@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-6 thermostat@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: Current subscriptions count=29
fhem-tablet-ui.min.js:1 healthCheck: subscription-1 WZ_Heizung_Clima:desired-temp -> '20.0'
fhem-tablet-ui.min.js:1 healthCheck: subscription-2 WZ_Heizung_Clima:measured-temp -> '22.4'
fhem-tablet-ui.min.js:1 healthCheck: subscription-3 WZ_Heizung_Clima:STATE -> 'T: 22.4 desired: 20.0 valve: 0'
fhem-tablet-ui.min.js:1 healthCheck: subscription-4 Ts_Fenster_Links_auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-5 Ts_Fenster_Rechts_auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-6 Ts_Fenster_Gross_auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-7 Status_Rollo_Links:STATE -> 'auf'
fhem-tablet-ui.min.js:1 healthCheck: subscription-8 Status_Rollo_Rechts:STATE -> 'auf'
fhem-tablet-ui.min.js:1 healthCheck: subscription-9 Status_Rollo_Gross:STATE -> 'auf'
fhem-tablet-ui.min.js:1 healthCheck: subscription-10 Fensterkontakt_WZ_rechts:STATE -> 'closed'
fhem-tablet-ui.min.js:1 healthCheck: subscription-11 Fensterkontakt_WZ_Gross:STATE -> 'closed'
fhem-tablet-ui.min.js:1 healthCheck: subscription-12 Meteohub:TempIn -> '21.8'
fhem-tablet-ui.min.js:1 healthCheck: subscription-13 Meteohub:HumIn -> '45'
fhem-tablet-ui.min.js:1 healthCheck: subscription-14 Status_WZ_PC_Chris:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-15 Status_WZ_Drucker:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-16 Status_WZ_PC_Thorsten:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-17 Status_WZ_Steckdose:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-18 Status_WZ_LED_pc:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-19 Status_WZ_LED_mitte:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-20 Status_WZ_LED_links:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-21 Status_WZ_Lava_Lampe:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-22 Status_WZ_Haengelampe:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-23 Status_WZ_Bodenlampe:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-24 Status_Wz_TV:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-25 Status_K_Einbaulampe:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-26 Status_K_Strahler:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-27 Schrank_Links:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-28 Schrank_Rechts:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-29 Seite:STATE -> '1'
fhem-tablet-ui.min.js:1 healthCheck: Page length=38857
fhem-tablet-ui.min.js:1 healthCheck: Widgets count=85
fhem-tablet-ui.min.js:1 healthCheck: now=Thu Feb 22 2018 19:47:57 GMT+0100 (CET)
fhem-tablet-ui.min.js:1 healthCheck: FTUI version=2.6.41
fhem-tablet-ui.min.js:1 healthCheck: Longpoll=true
fhem-tablet-ui.min.js:1 healthCheck: Longpoll type=ajax
fhem-tablet-ui.min.js:1 healthCheck: Longpoll objects there=true
fhem-tablet-ui.min.js:1 healthCheck: Longpoll current line=66
fhem-tablet-ui.min.js:1 healthCheck: Longpoll last event before=0 Sekunde(n)
fhem-tablet-ui.min.js:1 healthCheck: Longpoll last reading update before=1 Minute(n) 0 Sekunde(n)
fhem-tablet-ui.min.js:1 healthCheck: Shortpoll interval=900
fhem-tablet-ui.min.js:1 healthCheck: Shortpoll last run before=58 Sekunde(n)
fhem-tablet-ui.min.js:1 healthCheck: FHEM dev/par count=32
fhem-tablet-ui.min.js:1 healthCheck: FTUI known devices count=50
fhem-tablet-ui.min.js:1 healthCheck: Current modules count=7
fhem-tablet-ui.min.js:1 healthCheck: module-0 pagebutton@
fhem-tablet-ui.min.js:1 healthCheck: module-1 switch@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-2 label@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-3 symbol@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-4 popup@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-5 checkbox@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: module-6 thermostat@#wohn_kueche
fhem-tablet-ui.min.js:1 healthCheck: Current subscriptions count=29
fhem-tablet-ui.min.js:1 healthCheck: subscription-1 WZ_Heizung_Clima:desired-temp -> '20.0'
fhem-tablet-ui.min.js:1 healthCheck: subscription-2 WZ_Heizung_Clima:measured-temp -> '22.4'
fhem-tablet-ui.min.js:1 healthCheck: subscription-3 WZ_Heizung_Clima:STATE -> 'T: 22.4 desired: 20.0 valve: 0'
fhem-tablet-ui.min.js:1 healthCheck: subscription-4 Ts_Fenster_Links_auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-5 Ts_Fenster_Rechts_auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-6 Ts_Fenster_Gross_auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-7 Status_Rollo_Links:STATE -> 'auf'
fhem-tablet-ui.min.js:1 healthCheck: subscription-8 Status_Rollo_Rechts:STATE -> 'auf'
fhem-tablet-ui.min.js:1 healthCheck: subscription-9 Status_Rollo_Gross:STATE -> 'auf'
fhem-tablet-ui.min.js:1 healthCheck: subscription-10 Fensterkontakt_WZ_rechts:STATE -> 'closed'
fhem-tablet-ui.min.js:1 healthCheck: subscription-11 Fensterkontakt_WZ_Gross:STATE -> 'closed'
fhem-tablet-ui.min.js:1 healthCheck: subscription-12 Meteohub:TempIn -> '21.8'
fhem-tablet-ui.min.js:1 healthCheck: subscription-13 Meteohub:HumIn -> '45'
fhem-tablet-ui.min.js:1 healthCheck: subscription-14 Status_WZ_PC_Chris:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-15 Status_WZ_Drucker:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-16 Status_WZ_PC_Thorsten:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-17 Status_WZ_Steckdose:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-18 Status_WZ_LED_pc:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-19 Status_WZ_LED_mitte:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-20 Status_WZ_LED_links:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-21 Status_WZ_Lava_Lampe:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-22 Status_WZ_Haengelampe:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-23 Status_WZ_Bodenlampe:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-24 Status_Wz_TV:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-25 Status_K_Einbaulampe:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-26 Status_K_Strahler:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-27 Schrank_Links:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-28 Schrank_Rechts:STATE -> 'on'
fhem-tablet-ui.min.js:1 healthCheck: subscription-29 Seite:STATE -> '1'
fhem-tablet-ui.min.js:1 healthCheck: Page length=38865
fhem-tablet-ui.min.js:1 healthCheck: Widgets count=85
Hier nochmal ein Auszug...... da sieht das nicht so gut aus.......
fhem-tablet-ui.min.js:1 healthCheck: subscription-1 Pumpe_Auto:timer -> '300'
fhem-tablet-ui.min.js:1 healthCheck: subscription-2 Pumpe_Auto:setList -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-3 Alarmanlage:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-4 Meteohub data-get::STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-5 Meteohub:TempSchlauch -> '0.6'
fhem-tablet-ui.min.js:1 healthCheck: subscription-6 Pool_Temp:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-7 Ts_Ueberbrueckung:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-8 Tuer:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-9 Alarmanlage_Status:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-10 Regen:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-11 Meteohub:TempIn_p -> '12.6'
fhem-tablet-ui.min.js:1 healthCheck: subscription-12 Meteohub:TempPool -> '0.7'
fhem-tablet-ui.min.js:1 healthCheck: subscription-13 testy:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-14 Regentropfen:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-15 Tuerschloss:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-16 Kamera_Push_West_ein_aus:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-17 Kamera_Push_Ost_ein_aus:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-18 Messung_sw:STATE -> --unknown--
fhem-tablet-ui.min.js:1 healthCheck: subscription-19 Pumpe_Auto:STATE -> 'off'
fhem-tablet-ui.min.js:1 healthCheck: subscription-20 WZ_Heizung_Clima:desired-temp -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-21 WZ_Heizung_Clima:measured-temp -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-22 WZ_Heizung_Clima:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-23 Ts_Fenster_Links_auto:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-24 Ts_Fenster_Rechts_auto:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-25 Ts_Fenster_Gross_auto:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-26 Status_Rollo_Links:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-27 Status_Rollo_Rechts:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-28 Status_Rollo_Gross:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-29 Fensterkontakt_WZ_rechts:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-30 Fensterkontakt_WZ_Gross:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-31 Meteohub:TempIn -> '21.8'
fhem-tablet-ui.min.js:1 healthCheck: subscription-32 Meteohub:HumIn -> '45'
fhem-tablet-ui.min.js:1 healthCheck: subscription-33 Status_WZ_PC_Chris:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-34 Status_WZ_Drucker:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-35 Status_WZ_PC_Thorsten:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-36 Status_WZ_Steckdose:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-37 Status_WZ_LED_pc:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-38 Status_WZ_LED_mitte:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-39 Status_WZ_LED_links:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-40 Status_WZ_Lava_Lampe:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-41 Status_WZ_Haengelampe:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-42 Status_WZ_Bodenlampe:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-43 Status_Wz_TV:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-44 Status_K_Einbaulampe:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-45 Status_K_Strahler:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-46 Schrank_Links:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-47 Schrank_Rechts:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: subscription-48 Seite:STATE -> --known-but-invalid--
fhem-tablet-ui.min.js:1 healthCheck: Page length=65520
Was ist jetzt passiert jetzt werden ja alle STATE´s nicht mehr aktualisiert.... Readings wie Meteohub:HumIn oder Meteohub:TempIn_p hingegen ja...
Dieses deutet auf einen Typo hin:
subscription-4 Meteohub data-get::STATE
Und was heißt das genau?
Gesendet von iPhone mit Tapatalk
Suche mal in deinem HTML, wo das verbaut ist. Da muss ein Schreibfehler passiert sein. Vielleicht fehlt ein " oder ein " an falscher Stelle
Du wirst sowas drin haben:
<div data-type="label" data-device="Meteohub data-get:"></div>
Damit wird bei der jsonlist2-Abfrage der filter-String falsch gebaut und du bekommst nur wenige Daten zurück
Hey, der Fehler ist gefunden.... es fehlte tatsächlich ein " Zeichen.... was so eine Kleinigkeit bewirken kann..... Ich habe zig mal die HTML Dateien durchgeschaut, aber das habe ich anscheinend immer wieder übersehen....Tage und Stunden später nun die Lösung.... vielen dank Für die Hilfe!!! Jetzt läuft alles super :-)
Gruß
Thorsten
Gesendet von iPhone mit Tapatalk