Status Update funktioniert nicht bei EIB/KNX Geräten (longpoll?)

Begonnen von eixman, 11 Februar 2014, 13:38:09

Vorheriges Thema - Nächstes Thema

eixman

Hallo,

ich habe mir einige KNX Objekte nach dieser Anleitung angelegt:
http://www.rschamel.de/fhem-wiki7/WEB/20120818201234/HTTP_/FHEMWIKI_DE/WIKI/KNX_LICHT_EIN_AUS_MIT_R__CKMELD.HTM

Leider bekomme ich keinen Refresh des Status im Browser wenn ich das Licht einschalte.
Für meine FS20 Komponenten funktioniert das wunderbar.

Was mache ich hier falsch?

Gruß

rudolfkoenig

Vermutlich nichts. Was steht denn im event-log?
Und wie sind die Geraete definiert (vor allem die Attribute interessieren mich).

eixman

Definition:

define LichtEGvorb EIB 1/1/3 1/4/3
attr LichtEGvorb alias EG Vorbau lampe
attr LichtEGvorb eventMap /off g1:Aus/on g1:Ein
attr LichtEGvorb room Licht
attr LichtEGvorb webCmd Ein:Aus


EventLog:

2014.02.11 14:02:08 2: EIB LichtEGvorb on
2014.02.11 14:02:08 2: EIB LichtEGvorb on
2014.02.11 14:02:20 2: EIB LichtEGvorb off
2014.02.11 14:02:20 2: EIB LichtEGvorb off


FHEM läuft auf einer FB7390, ist auch aktuell, getestet wurde mit Chrome&IE

Ich habe auch festgestellt, das sich das Icon nicht ändert wenn ich über den Browser schalte, dort muss ich auch mit F5 neu laden.

Der Vollstängikeit halber hier die komplette cfg:
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global sendStatistics onUpdate
attr global statefile ./log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global updateInBackground 1
attr global userattr icon webCmd
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB longpoll 1
attr WEB stylesheetPrefix ios7

define WEBphone FHEMWEB 8084 global
attr WEBphone longpoll 1
attr WEBphone stylesheetPrefix ios7smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate disable 1
attr autocreate filelog ./log/%NAME-%Y.log


define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

define KNX TUL eibd:127.0.0.1 1.1.249

define LichtEGvorb EIB 1/1/3 1/4/3
attr LichtEGvorb alias EG Vorbau lampe
attr LichtEGvorb eventMap /off g1:Aus/on g1:Ein
attr LichtEGvorb room Licht
attr LichtEGvorb webCmd Ein:Aus

rudolfkoenig

Schaut erstmal normal aus. Koenntest du bitte in Chrome oder IE die Javascript Console oeffnen (ALT+CTRL+I bzw. F12), und die Got: Zeilen bei Aenderungen hier posten?