New FHEM Tablet UI

Begonnen von setstate, 22 Februar 2015, 23:37:24

Vorheriges Thema - Nächstes Thema

Stril

#1200
Zitat von: setstate am 27 April 2015, 22:43:19
Hallo Phil,
mit data-get-on="!0" wolltest du sicherlich erreichen, dass alles ausser 0 als on gesehen wird. Das geht leider nicht so. Entweder mit Regex data-get-on="[^0]" oder mit dem eingebauten Literal "!off"  also so: data-get-on="!off"

       
<div data-type="dimmer" data-device='aLd_EG_Esszimmer_LichtLinks'
       data-get="dim" 
       data-get-on="!off"
       data-get-on
       data-get-off="0"
       data-set="dim"
       class="cell"></div>


Hallo setstate!

So funktioniert es leider trotzdem nicht. Wenn ich bei ausgeschaltetem Licht auf den Schalter drücke in der TabletUI, wird der Befehl "set dim 0" ausgeführt und das ist wieder nur "aus". Gibt es keine Möglichkeit, dass hier wirklich ein "set on" oder ein "set dim 100" ausgeführt wird, wenn der Status vorher "dim 0" ist?

Das Problem ist einfach, dass der bidirektionale Aktor nach dem Ausschalten auf "dim 0" geht und beim Einschalten die UI genau das wieder setzt --> Es bleibt bei aus.

Gruß
Phil

matzemoerk

Guten Abend,
Ich habe meine Sonos-Seite überarbeitet, und habe die Steuerung mit Hilfe zweier Push-Widgets um eine Timerfunktionalität für 15 und 30 Minuten lang Strom erweitert.


        <div data-type="push"
            data-device="OG.mm.SD.Sonos"
          data-icon="fa-clock-o"
data-set="on-for-timer 900"
            class="cell"></div>
        <div data-type="label" >15min</div>   
        </div>


Jetzt würde ich gerne visualisieren wenn der Timer läuft. Dazu habe ich mir gedacht ich nutze die blink Klassen. Wie schaffe ich es nun das Icon oder das Label nur dann Blinken zu lassen wenn das reading timedON von OG.mm.SD.Sonos den Wert running hat? Geht das überhaupt so einfach?

Grüße,
Matthias

setstate

Hallo matzemoerk,

der Push Button kann nur Befehle schicken, aber nix empfangen. Es müsste also ein zusätzliches Label oder Symbol die Info anzeigen.

Spinner Animation für das Symbol

<div data-type="symbol" data-device="OG.mm.SD.Sonos"
  data-get="timedON"
  data-icons='["fa fa-circle-o-notch","fa fa-circle-o-notch fa-spin"]'
  data-on-colors='["#505050","#aa69002]'
  data-get-on='["off","running"]' ></div>


Das Label

<div data-type="label" data-device="OG.mm.SD.Sonos"
  data-get="timedON"></div>


Aber bei mir auf der ToDo Liste steht genau so eine on-for-timer Anzeige für den Push Button. Diesen Wunsch gab es schon vor einiger Zeit. Ich bin dran. Es wird so ein immer kleiner werdender Ring werden ...

setstate

Update: das Default Icon für Symbol ist ab sofort ftui-window.

Ein weiteres neues built-in Icon ist ftui-door.


<div class="inline">
        <div data-type="symbol" data-device="Eingangstuer" data-icon="ftui-door" class="bigger"></div>
        <div data-type="label" class="small narrow darker">Tür</div>
</div>
<div class="inline">
        <div data-type="symbol" data-device="KuechenFenster" class="bigger"></div>
        <div data-type="label" class="narrow darker small">Fenster</div>
</div>

setstate

Zitat von: Stril am 28 April 2015, 21:51:34
Hallo setstate!

So funktioniert es leider trotzdem nicht. Wenn ich bei ausgeschaltetem Licht auf den Schalter drücke in der TabletUI, wird der Befehl "set dim 0" ausgeführt und das ist wieder nur "aus". Gibt es keine Möglichkeit, dass hier wirklich ein "set on" oder ein "set dim 100" ausgeführt wird, wenn der Status vorher "dim 0" ist?

Das Problem ist einfach, dass der bidirektionale Aktor nach dem Ausschalten auf "dim 0" geht und beim Einschalten die UI genau das wieder setzt --> Es bleibt bei aus.

Gruß
Phil

Hallo Phil,

Thema verstanden.
Ich werde mir das Ganze erst einmal auf eine Tapete auf skizzieren und mir dann was ausdenken. Ich melde mich dazu wieder ...

Stril

Zitat von: setstate am 29 April 2015, 08:07:59
Ich werde mir das Ganze erst einmal auf eine Tapete auf skizzieren und mir dann was ausdenken. Ich melde mich dazu wieder ...

Vielen Dank!!!

Grüße
Phil

nesges

Zitat von: Mitch am 28 April 2015, 21:27:15
list .* STATE (Auszugweise):

Nicht ganz das Ergebnis, das ich erwartet hatte, aber gut zu sehen, dass list grundsätzlich funktioniert. Macht unsere Problem aber nicht einfacher. Nächster Versuch: 1.) Ersetze bitte in der fhem-tablet-ui.js die komplette Function requestFhem() (Zeile 333-377) durch:

function requestFhem(paraname) {
/* 'list' is still the fastest cmd to get all important data
*/
    console.log('requestFhem:',"list " + devs.join() + " " + paraname);
    $.ajax({
        async: true,
        timeout: 15000,
cache: false,
context:{paraname: paraname},
url: $("meta[name='fhemweb_url']").attr("content") || "/fhem/",
data: {
cmd: "list " + devs.join() + " " + paraname,
XHR: "1"
}
})
.fail (function(jqXHR, textStatus, errorThrown) {
    $.toast("Error: " + textStatus + ": " + errorThrown);
    console.log('requestFhem: failed');
  })
  .done (function( data ) {
console.log('requestFhem: data ', data);
var lines = data.replace(/\n\)/g,")\n").split(/\n/);
console.log('requestFhem: lines ', lines);
            var regCapture = /^(\S*)\s*([0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-2][0-9]:[0-5][0-9]:[0-5][0-9])?\.?[0-9]{0,3}\s+(.*)$/;
            for (var i=0; i < lines.length; i++) {
                var date,key,val;
                console.log('requestFhem: lines[i] ',lines[i]);
                var line = $.trim( lines[i] );
                console.log('requestFhem: line (trimmed) ',line);
                if (regCapture.test(line) ) {
                    console.log('requestFhem: regCapture matched');
                    var groups = line.match( regCapture );
                    var paraname = this.paraname;
                    key = $.trim( line.match( regCapture )[1]);
                    if (groups.length>2){
                        date = $.trim( groups[2]);
                        val = $.trim( groups[3]);
                    }
                    console.log('paraname',paraname,'date:',date,'val',val);
                    var params = deviceStates[key] || {};
                    var value = {"date": date, "val": val};
                    params[paraname]=value;
                    if (key in devices){
                        deviceStates[key]=params;
                        plugins.update(key,paraname);
                    }
                }
            }
    });

}


Und bitte wieder die Ausgabe der JS-Konsole posten.

2.) Ersetze bitte die komplette fhem-tablet-ui.js durch https://github.com/nesges/Widgets-for-fhem-tablet-ui/blob/master/testing/fhem-tablet-ui.js. Damit wird eine andere Methode zur Fhem-Abfrage verwendet (jsonlist2 statt list). Mich würde interessieren, ob's damit bei dir funktioniert.

Mitch

#1207
Option 1:

gleiches Problem.

Log:
[Log] Plugin dir: /fhem/tablet/js (fhem-tablet-ui.js, line 102)
[Log] Filename: tablet (fhem-tablet-ui.js, line 106)
[Log] Please rename widget attribute "type" into "data-type" in http://mbj.spdns.eu:8083/fhem/tablet - Details below: (fhem-tablet-ui.js, line 191)
[Log] [ (fhem-tablet-ui.js, line 192)
<div data-on=​"scharf" data-off=​"unscharf" data-icon=​"fa-exclamation-triangle" data-type=​"switch" data-device=​"Alarmanlage" class=​"fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget attribute "device" into "data-device" in http://mbj.spdns.eu:8083/fhem/tablet device: CUL_HM_HM_SEC_KEY_23DB96 - Details below: (fhem-tablet-ui.js, line 199)
[Log] [ (fhem-tablet-ui.js, line 200)
<div data-type=​"label" class=​"cell" data-device=​"CUL_HM_HM_SEC_KEY_23DB96">​</div>​
]
[Log] Please rename widget attribute "device" into "data-device" in http://mbj.spdns.eu:8083/fhem/tablet device: Alarmanlage - Details below: (fhem-tablet-ui.js, line 199)
[Log] [ (fhem-tablet-ui.js, line 200)
<div data-on=​"scharf" data-off=​"unscharf" data-icon=​"fa-exclamation-triangle" data-type=​"switch" data-device=​"Alarmanlage" class=​"fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: Fenster_Flur_oben - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"Fenster_Flur_oben" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: Fenster_Bad - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"Fenster_Bad" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: Fenster_Leoni - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"Fenster_Leoni" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: Fenster_Carlotta - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"Fenster_Carlotta" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: Fenster_Schlafzimmer - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"Fenster_Schlafzimmer" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: CUL_FHTTK_Kellerflur - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"CUL_FHTTK_Kellerflur" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: CUL_FHTTK_Waschkeller - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"CUL_FHTTK_Waschkeller" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: CUL_FHTTK_Hobbyraum_links - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"CUL_FHTTK_Hobbyraum_links" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: CUL_FHTTK_Hobbyraum_rechts - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"CUL_FHTTK_Hobbyraum_rechts" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Please rename widget "contact" into "symbol" in http://mbj.spdns.eu:8083/fhem/tablet device: CUL_FHTTK_Hobbyraum_ost - Details below: (fhem-tablet-ui.js, line 204)
[Log] [ (fhem-tablet-ui.js, line 205)
<div data-type=​"symbol" data-device=​"CUL_FHTTK_Hobbyraum_ost" data-icon=​"oa-fts_window_2w" class=​"narrow fa-stack fa-2x">​...​</div>​
]
[Log] Collecting required readings (fhem-tablet-ui.js, line 162)
[Log] Request readings from FHEM (fhem-tablet-ui.js, line 177)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor STATE (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor external_name (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor external_number (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor direction (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor temperature (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor humidity (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor pressure (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor condition (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor desired-temp (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor voc (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor state (fhem-tablet-ui.js, line 336)
[Log] Loaded plugin: widget_switch (fhem-tablet-ui.js, line 36)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor STATE (fhem-tablet-ui.js, line 336)
[Log] Loaded plugin: widget_weather (fhem-tablet-ui.js, line 36)
[Log] Loaded plugin: widget_label (fhem-tablet-ui.js, line 36)
[Log] Loaded plugin: widget_thermostat (fhem-tablet-ui.js, line 36)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor measured-temp (fhem-tablet-ui.js, line 336)
[Log] requestFhem: list Markus.Homestatus,Simone.Homestatus,Leoni.Homestatus,Gast.Dummy,CUL_HM_HM_SEC_KEY_23DB96,Anrufmonitor,Abfallkalender,Rollo.Alle,HCAutomatik,Alarmanlage,Wetterstation,MyWeather,CUL_HM_FlurOben,CUL_HM_FlurUnten,HZ_Wohnzimmer_WT_Climate,Wohnzimmer.Airsensor,Fenster_Terrasse,Fenster_Wohnzimmer_Ost ,Fenster_Kueche,FS20_Hydra,FS20_Trompete,FBDECT_Barlicht,FS20_Spot_Kueche,FS20_TVLicht,FS20_Esstisch,Fenster_Klo,Fenster_Buero,Fenster_Flur_oben,Fenster_Bad,Fenster_Leoni,Fenster_Carlotta,Fenster_Schlafzimmer,CUL_FHTTK_Kellerflur,CUL_FHTTK_Waschkeller,CUL_FHTTK_Hobbyraum_links,CUL_FHTTK_Hobbyraum_rechts,CUL_FHTTK_Hobbyraum_ost,CUL_HM_Gartenlicht,Markise,Markisensensor undefined (fhem-tablet-ui.js, line 336)
[Log] Loaded plugin: widget_symbol (fhem-tablet-ui.js, line 36)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] requestFhem: data   (fhem-tablet-ui.js, line 353)
[Log] requestFhem: lines  [""] (fhem-tablet-ui.js, line 355)
[Log] requestFhem: lines[i]   (fhem-tablet-ui.js, line 359)
[Log] requestFhem: line (trimmed)   (fhem-tablet-ui.js, line 361)
[Log] start longpoll (fhem-tablet-ui.js, line 252)


Option 2:

Interessanter Weise kamen einige Werte sofort, also wurden sie ausgelesen.
Allerdings fehlen alle Icons und wie gesagt, ein paar Werte.

Log:
[Error] ReferenceError: Can't find variable: getStyle
(anonyme Funktion) (undefined, line 11)
each (jquery.min.js, line 2)
each (jquery.min.js, line 2)
init
(anonyme Funktion) (fhem-tablet-ui.js, line 39)
j (jquery.min.js, line 2)
fireWith (jquery.min.js, line 2)
x (jquery.min.js, line 4)
b (jquery.min.js, line 4)
[Error] ReferenceError: Can't find variable: getStyle
(anonyme Funktion) (undefined, line 179)
each (jquery.min.js, line 2)
each (jquery.min.js, line 2)
init
(anonyme Funktion) (fhem-tablet-ui.js, line 39)
j (jquery.min.js, line 2)
fireWith (jquery.min.js, line 2)
x (jquery.min.js, line 4)
b (jquery.min.js, line 4)
[Error] ReferenceError: Can't find variable: getStyle
(anonyme Funktion) (undefined, line 11)
each (jquery.min.js, line 2)
each (jquery.min.js, line 2)
init
(anonyme Funktion) (fhem-tablet-ui.js, line 39)
j (jquery.min.js, line 2)
fireWith (jquery.min.js, line 2)
x (jquery.min.js, line 4)
b (jquery.min.js, line 4)
[Error] ReferenceError: Can't find variable: indexOfGeneric
(anonyme Funktion) (undefined, line 35)
each (jquery.min.js, line 2)
each (jquery.min.js, line 2)
update
(anonyme Funktion) (fhem-tablet-ui.js, line 60)
each (jquery.min.js, line 2)
update (fhem-tablet-ui.js, line 58)
(anonyme Funktion) (fhem-tablet-ui.js, line 525)
j (jquery.min.js, line 2)
fireWith (jquery.min.js, line 2)
x (jquery.min.js, line 4)
b (jquery.min.js, line 4)
[Error] ReferenceError: Can't find variable: indexOfGeneric
(anonyme Funktion) (undefined, line 35)
each (jquery.min.js, line 2)
each (jquery.min.js, line 2)
update
(anonyme Funktion) (fhem-tablet-ui.js, line 60)
each (jquery.min.js, line 2)
update (fhem-tablet-ui.js, line 58)
(anonyme Funktion) (fhem-tablet-ui.js, line 326)


Vielleicht mal zur Vorsicht meine index.html, nicht das ich da einen groben Fehler drinnen habe:
<!DOCTYPE html>
<html>
<head>
        <!--
         /* FHEM tablet ui */
         /*
         * Just another dashboard for FHEM
         *
         * Version: 1.3.5
         * Requires: jQuery v1.7+, font-awesome, jquery.gridster, jquery.toast
         * URL: https://github.com/knowthelist/fhem-tablet-ui
         *
         * Copyright (c) 2015 Mario Stephan <mstephan@shared-files.de>
         * Under MIT License (http://www.opensource.org/licenses/mit-license.php)
         *
         * - create a new folder named 'tablet' in /<fhem-path>/www
         * - copy all files incl. sub folders into /<fhem-path>/www/tablet
         * - add 'define tablet_ui HTTPSRV tablet ./www/tablet Tablet Frontend' in fhem.cfg
         * - Tadaaa! A new fhem ui in http://<fhem-url>:8083/fhem/tablet/
         */
        -->
        <title>qf server</title>

        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta name="widget_base_width" content="125">
        <meta name="widget_base_height" content="122">
        <meta name="mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="longpoll" content="1"> <!-- 1=longpoll;0=shortpoll every 30sec -->
        <meta name="debug" content="1"> <!-- 1=output to console;0=not output -->

        <link rel="stylesheet" href="/fhem/tablet/lib/jquery.gridster.min.css" />
        <link rel="stylesheet" href="/fhem/tablet/css/fhem-tablet-ui.css" />
        <link rel="stylesheet" href="/fhem/tablet/lib/font-awesome.min.css" />
        <link rel="stylesheet" href="/fhem/tablet/lib/jquery.toast.min.css" />
        <link rel="stylesheet" href="/fhem/tablet/lib/powerange.min.css" />


        <link rel="stylesheet" href="/fhem/tablet/lib/openautomation.css" />
        <link rel="stylesheet" href="/fhem/tablet/lib/fhemSVG.css" />

        <script type="text/javascript" src="/fhem/pgm2/jquery.min.js"></script>
        <script type="text/javascript" src="/fhem/tablet/lib/jquery.knob.mod.min.js"></script>
        <script type="text/javascript" src="/fhem/tablet/lib/jquery.toast.min.js"></script>
        <script type="text/javascript" src="/fhem/tablet/lib/jquery.circlemenu.js"></script>
        <script type="text/javascript" src="/fhem/tablet/lib/powerange.min.js"></script>
        <script type="text/javascript" src="/fhem/tablet/lib/jquery.gridster.min.js"></script>
        <script type="text/javascript" src="/fhem/tablet/lib/fa-multi-button.min.js"></script>
        <script type="text/javascript" src="/fhem/tablet/js/fhem-tablet-ui.js"></script>

        <!-- Enable this lines for usage with WebViewControl --><!--
        <script type="text/javascript" src="/fhem/pgm2/cordova-2.3.0.js"></script>
        <script type="text/javascript" src="/fhem/js/webviewcontrol.js"></script>
        <script type="text/javascript">var wvcDevices = {'12345': 'Tablet'}; var wvcUserCssFile="webviewcontrol.css"</script>
        --><!-- End for WebViewControl -->

</head>
<body>

<!-- available class: container,left,right,cell,narrow,darker,big,bigger,small,thin,large,wider -->
<!-- available data-type: symbol,dimmer,homestatus,label,push,slider,switch,thermostat,volume,weather -->

<div class="gridster">
<ul>
   
<li data-row="1" data-col="1" data-sizex="2" data-sizey="2">
        <header>HOMESTATUS</header>
        <div class="centered container">
           <div class="left">
              <div data-type="switch" data-device="Markus.Homestatus" data-get-on="Zuhause" data-get-off="Unterwegs" data-set-on="Zuhause" data-set-off="Unterwegs" data-icon="fa-user" class="cell readonly "></div>
              <div data-type="label" class="cell">Markus</div>
           </div>
           <div class="left">
              <div data-type="switch" data-device="Simone.Homestatus" data-get-on="Zuhause" data-get-off="Unterwegs" data-set-on="Zuhause" data-set-off="Unterwegs" data-icon="fa-user" class="cell readonly"></div>
              <div data-type="label" class="cell">Simone</div>
           </div>
           <div class="left">
              <div data-type="switch" data-device="Leoni.Homestatus" data-get-on="Zuhause" data-get-off="Unterwegs" data-set-on="Zuhause" data-set-off="Unterwegs" data-icon="fa-user" class="cell readonly"></div>
              <div data-type="label" class="cell">Leoni</div>
           </div>
           <div class="left">
              <div data-type="switch" data-device="Gast.Dummy" data-get-on="Anwesend" data-get-off="Abwesend"  data-set-on="Anwesend" data-set-off="Abwesend" data-icon="fa-user" class="cell" ></div>
              <div data-type="label" class="cell">Gast</div>
           </div>
       </div> 
</li>   
   
<li data-row="1" data-col="3" data-sizex="1" data-sizey="1">
        <header>KEYMATIC</header>
          <div class="center">
                <div data-type="switch" data-device="CUL_HM_HM_SEC_KEY_23DB96" data-get-on="lock" data-get-off="unlock" data-set-on="lock" data-set-off="unlock" data-icon="fa-lock" class="cell"></div>
                <div data-type="label" device="CUL_HM_HM_SEC_KEY_23DB96" class="cell" ></div>
          </div>       
</li>

<li data-row="2" data-col="3" data-sizex="1" data-sizey="1">
        <header>ANRUFE</header>
            <div class="center">
               <div data-type="label" data-device="Anrufmonitor" data-get="external_name" class="large"></div>
               <div data-type="label" data-device="Anrufmonitor" data-get="external_number"></div>
               <div data-type="label" data-device="Anrufmonitor" data-get="direction" class="small"></div>
            </div>
</li>


<li data-row="1" data-col="4" data-sizex="1" data-sizey="1">
        <header>MUELL</header>
            <div class="center">
                <div data-type="label" data-device="Abfallkalender" data-icon="" class="large red" ></div>
            </div>
</li>   

<li data-row="2" data-col="4" data-sizex="1" data-sizey="1">
        <header>ROLLO</header>
           <div class="center">
                <div data-type="switch" data-device="Rollo.Alle" data-set-on="Zu" data-set-off="Auf" data-icon="fs-fts_shutter_updown" class="cell" ></div>
           </div>
</li>

<li data-row="1" data-col="5" data-sizex="1" data-sizey="1">
        <header>HEIZUNG</header>
           <div class="center">
             <div data-type="switch" data-device="HCAutomatik" data-get="STATE" data-set-on="on" data-set-off="off" data-icon="oa-sani_heating_automatic" class="cell" ></div>
           </div>
</li>

<li data-row="2" data-col="5" data-sizex="1" data-sizey="1">
        <header>ALARM</header>
           <div type="switch" device="Alarmanlage" data-on="scharf" data-off="unscharf" data-icon="fa-exclamation-triangle"></div>
</li>

<li data-row="1" data-col="7" data-sizex="1" data-sizey="2">
        <header>WETTER</header>
           <div class="center">
             <div data-type="label" data-device="Wetterstation" data-get="temperature" data-unit="%B0C%0A" data-limits='[-10,10,23]' data-colors='["#6699FF","#AA6900","#FF0000"]' class="cell big"></div>
             <div data-type="label" class="small">Temperatur</div>
             <div data-type="label" data-device="Wetterstation" data-get="humidity" data-unit="%" data-fix="0" data-limits='[20,30,50]' data-colors='["#bb6242","#aa6900","#bb6242"]' class="cell big blue"></div>
             <div data-type="label" class="small">Luftfeuchte</div>
             <div data-type="label" data-device="Wetterstation" data-get="pressure" data-unit="hPa" data-fix="0" data-limits='[800,900,1200]' data-colors='["#FF0000","#AA6900","#6699FF"]' class="cell big blue"></div>
             <div data-type="label" class="small">Luftdruck</div>
             <div data-type="weather" data-device="MyWeather" data-get="condition" class="cell big"></div>
           </div>
</li>

<li data-row="1" data-col="6" data-sizex="1" data-sizey="2">
        <header>FLUR</header>
           <div class="center">
             <div data-type="switch" data-device="CUL_HM_FlurOben" class="cell"></div>
             <div data-type="label" class="cell">oben</div>
             <div data-type="switch" data-device="CUL_HM_FlurUnten" class="cell"></div>
             <div data-type="label" class="cell">unten</div>
           </div>
</li>

<li data-row="3" data-col="1" data-sizex="2" data-sizey="2">
        <header>WOHNZIMMER</header>
        <div class="center">
                <div data-type="thermostat" data-device="HZ_Wohnzimmer_WT_Climate" data-get="desired-temp" data-step="0.5"></div>
                <div data-type="label" data-device="HZ_Wohnzimmer_WT_Climate" data-get="humidity" data-fix="0" data-unit=" %" class="small"></div>
                <div data-type="label" data-device="Wohnzimmer.Airsensor" data-get="voc" data-fix="0" data-unit=" CO2" class="small"></div>
                <div class="container">
                     <div class="cell left">
                     <div data-type="symbol" data-get="state" data-device="Fenster_Terrasse" data-icon="oa-fts_window_2w" class="narrow"></div>
                     <div data-type="label" class="narrow darker small">Terrasse</div>
                     </div>
                     <div class="cell left">                     
                     <div data-type="symbol" data-device="Fenster_Wohnzimmer_Ost " data-icon="oa-fts_window_2w" class="narrow"></div>
                     <div data-type="label" class="narrow darker small">Ost</div>
                     </div>
                     <div class="cell left">   
                     <div data-type="symbol" data-device="Fenster_Kueche" data-icon="oa-fts_window_2w" class="narrow"></div>
                     <div data-type="label" class="narrow darker small">Kueche</div>
                </div> 
        </div>
</li>

<li data-row="3" data-col="3" data-sizex="2" data-sizey="2">
        <header>WOHNZIMMER</header>
           <div class="centered container">
             <div class="left">
                <div data-type="switch" data-device="FS20_Hydra" class="cell"></div>
                <div data-type="label" class="cell">Hydra</div>
                <div data-type="switch" data-device="FS20_Trompete" class="cell"></div>
                <div data-type="label" class="cell">Trompete</div>
             </div>
            <div class="left">
                <div data-type="switch" data-device="FBDECT_Barlicht" class="cell"></div>
                <div data-type="label" class="cell">Bar</div>
                <div data-type="switch" data-device="FS20_Spot_Kueche" class="cell"></div>
                <div data-type="label" class="cell">Spot</div>
            </div>
            <div class="left">
                <div data-type="switch" data-device="FS20_TVLicht" class="cell"></div>
                <div data-type="label" class="cell">TV</div>
                <div data-type="switch" data-device="FS20_Esstisch" class="cell"></div>
                <div data-type="label" class="cell">Tisch</div>
            </div>
          </div>
</li>

<li data-row="3" data-col="5" data-sizex="2" data-sizey="2">
        <header>FENSTER</header>
<div class="container">
<div class="cell left">
<div data-type="symbol" data-device="Fenster_Klo" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Klo</div>
</div>
<div class="cell left">
<div data-type="symbol" data-device="Fenster_Buero" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Buero</div>
</div>
<div class="cell left">
<div data-type="contact" data-device="Fenster_Flur_oben" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Flur</div>
</div>
</div>
<div class="container">
<div class="cell left">
<div data-type="contact" data-device="Fenster_Bad" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Bad</div>
</div>
<div class="cell left">
<div data-type="contact" data-device="Fenster_Leoni" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Leoni</div>
</div>
<div class="cell left">
<div data-type="contact" data-device="Fenster_Carlotta" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Carlotta</div>
</div>
</div>
<div class="container">
<div class="cell left">
<div data-type="contact" data-device="Fenster_Schlafzimmer" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">SchlaZi</div>
</div>
<div class="cell left">
<div data-type="contact" data-device="CUL_FHTTK_Kellerflur" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Kellerflur</div>
</div>
<div class="cell left">
<div data-type="contact" data-device="CUL_FHTTK_Waschkeller" data-icon="oa-fts_window_2w" class="narrow"></div>
<div data-type="label" class="narrow darker small">Waschkeller</div>
        </div>
<div class="container">
        <div class="cell left">
        <div data-type="contact" data-device="CUL_FHTTK_Hobbyraum_links" data-icon="oa-fts_window_2w" class="narrow"></div>
        <div data-type="label" class="narrow darker small">HR links</div>
        </div>
        <div class="cell left">
        <div data-type="contact" data-device="CUL_FHTTK_Hobbyraum_rechts" data-icon="oa-fts_window_2w" class="narrow"></div>
        <div data-type="label" class="narrow darker small">HR rechts</div>
        </div>
        <div class="cell left">
        <div data-type="contact" data-device="CUL_FHTTK_Hobbyraum_ost" data-icon="oa-fts_window_2w" class="narrow"></div>
        <div data-type="label" class="narrow darker small">HR ost</div>
        </div>
</div>
</li>

<li data-row="3" data-col="7" data-sizex="1" data-sizey="2">
        <header>GARTEN</header>
           <div class="center">
                <div data-type="switch" data-device="CUL_HM_Gartenlicht" class="cell"></div>
                <div data-type="label" class="cell">Licht</div>
                <div data-type="switch" data-device="Markise" data-get-on="Raus" data-get-off="Rein" data-set-on="Raus" data-set-off="Rein" data-icon="oa-fts_sunblind" class="cell"></div>
                <div data-type="label" class="cell">Markise</div>
                <div data-type="label" data-device="Markisensensor" class="cell"></div>
           </div>
</li>

</ul>
</div>
</body>
</html>

FHEM im Proxmox Container

nesges

Zitat von: Mitch am 29 April 2015, 10:53:07
Option 1:

gleiches Problem.

list liefert demnach bei dir definitiv keine Daten, wenn's per XMLHttpRequest gesendet wird. Ich habe absolut keine Ahnung woher das kommt. Das einzige was auch nur ansatzweise in die Richtung zeigt, wäre das CORS-Attribut in FHEMWEB. CORS dürfte in deiner Konstellation zwar keine Rolle spielen (wird nur gebraucht, wenn XMLHttpRequests von einem fremden Server erlaubt werden sollen), aber lass es uns bitte auch noch probieren. Setze an deiner FHEMWEB Instanz (idR "WEB") bitte das Attribut CORS auf 1:

attr WEB CORS 1

und probiere dann nochmal mit der requestFhem()-Funktion aus Punkt 1.

ZitatInteressanter Weise kamen einige Werte sofort, also wurden sie ausgelesen.
Allerdings fehlen alle Icons und wie gesagt, ein paar Werte.

Die aufgetretenen Fehler und die fehlenden Icons sind Ok - Grund dafür ist, dass diese fhem-tablet-ui.js mit 7 Tagen einfach hoffnungslos veraltet ist und einige neue Funktionen, die die Widgets mittlerweile nutzen, noch nicht hat. Wichtig war mir nur zu sehen, ob damit Daten gezogen werden; und das scheint der Fall zu sein. Danke für's testen!

setstate

Interessant, interessant.  8)  8)  8)
Jetzt muss ich mich wohl doch schneller mit dem ungeliebten jsonlist2 auseinandersetzen
;)

Mitch

CORS hatte ich auch schon im Verdacht, weil ich das aber an hatte, habe ich es gestern deaktiviert.
Gerade nochmal aktiviert, aber gleicher Fehler  :-\
FHEM im Proxmox Container

nesges

Zitat von: setstate am 29 April 2015, 11:15:00
Jetzt muss ich mich wohl doch schneller mit dem ungeliebten jsonlist2 auseinandersetzen
;)

Das Gute im Schlechten sehen  8)

nesges

Zitat von: Mitch am 29 April 2015, 11:17:06
CORS hatte ich auch schon im Verdacht, weil ich das aber an hatte, habe ich es gestern deaktiviert.
Gerade nochmal aktiviert, aber gleicher Fehler  :-\

Ok, eine weitere Idee:

Versuch mal bitte folgende URLs:

http://<fhemhost>:<fhemport>/fhem?cmd=list CUL_FHTTK_Hobbyraum_links STATE
http://<fhemhost>:<fhemport>/fhem?cmd=list CUL_FHTTK_Hobbyraum_links STATE&XHR=1


Einziger Unterschied dürfte sein, dass der erste die Fhemweb-Oberfläche anzeigt und der zweite nicht.

Mitch

Geht ohne Probleme und es kommt der STATE korrekt
FHEM im Proxmox Container

nesges

Ich hab die Frage mal ins "Sonstiges" Forum getragen: http://forum.fhem.de/index.php/topic,36748.0.html

Bitte den Thread beobachten und auf evlt. Rückfragen reagieren.