Nach gestrigem Update funktionieren Befehle an WebViewControl nicht mehr

Begonnen von MaJu, 11 Januar 2015, 17:20:58

Vorheriges Thema - Nächstes Thema

MaJu

Seit dem gestrigen Update funktionieren bei mir die Befehle in Richtung WebViewControl nicht mehr. Weder ttsSay, noch ScreenBrightness oder ToastMessage.

Ich habe das Gerät bereits gelöscht und neu angelegt. Akku-Status und Ladegerätanschluss werden ausgelesen und in FHEM angezeigt, gesendete Befehle werden seit dem gestrigen FHEM-Update aber ignoriert.

Hat noch jemand anderes dieses Problem?
Erlebnisreiche Grüße aus Leipzig!

Hollo

Spiel testweise mal aus dem restoreDir die 01_FHEMWEB.pm zurück und restarte FHEM.

Wenn es läuft, musst Du abwarten, da gibt es schon mehrere Meldungen bzgl. Problemen mit dem Web-Umbau.
Bei mir lief das ganze RSS-Gelumpe nicht mehr.
Wenn nicht, liegt es an etwas anderem und ich kann Dir nicht helfen.   ::)
FHEM 6.x auf RPi 3B Buster
Protokolle: Homematic, Z-Wave, MQTT, Modbus
Temp/Feuchte: JeeLink-Clone und LGW mit LaCrosse/IT
sonstiges: Linux-Server, Dreambox, "RSS-Tablet"

rudolfkoenig

RSS habe ich gerade gefixt, ich vermute aber, dass das fuer WebViewControl nicht helfen wird. Deswegen wuerde ich mich freuen, wenn das Problem naeher beschrieben werden kann, z.Bsp. mit einem "attr global verbose 5" Abschnitt aus dem Log.

Sicherheitshalber mit dem aktuellen 01_FHEMWEB.pm (aus SVN oder ab morgen per update), vielleicht habe ich es ja doch gefixt :)

Thomas_Homepilot

Hallo,

hier gibt's das gleiche Problem. Mit der alten FHEMWEB.pm läuft alles. Habe eine leere Config nur mit dem Webviewcontrol genommen. Anbei der LOG:
-Starten von FHEM (S5_Webviewcontrol war entgegen der Meldung bereits definiert)
-Reload der Seite im Webviecontrol-Browser
-Senden einer Toast-Message (die nicht ankam)
-Shutdown von FHEM


2015.01.12 08:33:04 5: Initializing Type Library:
2015.01.12 08:33:04 1: Including fhem.cfg
2015.01.12 08:33:04 5: Cmd: >attr global userattr devStateIcon devStateStyle icon sortby webCmd widgetOverride<
2015.01.12 08:33:04 5: Cmd: >attr global autoload_undefined_devices 1<
2015.01.12 08:33:04 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2015.01.12 08:33:04 5: Cmd: >attr global modpath .<
2015.01.12 08:33:04 5: Cmd: >attr global motd Error messages while initializing FHEM:
statefile: Please define S5_Webviewcontrol first
Please define S5_Webviewcontrol first
Please define S5_Webviewcontrol first
Please define S5_Webviewcontrol first<
2015.01.12 08:33:04 5: Cmd: >attr global statefile ./log/fhem.save<
2015.01.12 08:33:04 5: Cmd: >attr global updateInBackground 1<
2015.01.12 08:33:04 5: Cmd: >attr global verbose 5<
2015.01.12 08:33:04 5: Cmd: >define telnetPort telnet 7072 global<
2015.01.12 08:33:04 5: Loading ./FHEM/98_telnet.pm
2015.01.12 08:33:04 3: telnetPort: port 7072 opened
2015.01.12 08:33:04 5: Cmd: >define WEB FHEMWEB 8083 global<
2015.01.12 08:33:04 5: Loading ./FHEM/01_FHEMWEB.pm
2015.01.12 08:33:05 3: WEB: port 8083 opened
2015.01.12 08:33:05 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2015.01.12 08:33:05 3: WEBphone: port 8084 opened
2015.01.12 08:33:05 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2015.01.12 08:33:05 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2015.01.12 08:33:05 3: WEBtablet: port 8085 opened
2015.01.12 08:33:05 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2015.01.12 08:33:05 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2015.01.12 08:33:05 5: Loading ./FHEM/92_FileLog.pm
2015.01.12 08:33:05 5: Cmd: >define autocreate autocreate<
2015.01.12 08:33:05 5: Loading ./FHEM/98_autocreate.pm
2015.01.12 08:33:05 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2015.01.12 08:33:05 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2015.01.12 08:33:05 5: Loading ./FHEM/91_eventTypes.pm
2015.01.12 08:33:05 2: eventTypes: loaded 7 events from ./log/eventTypes.txt
2015.01.12 08:33:05 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2015.01.12 08:33:05 5: Loading ./FHEM/91_notify.pm
2015.01.12 08:33:05 5: Cmd: >define S5_Webviewcontrol webViewControl 12346<
2015.01.12 08:33:05 5: Loading ./FHEM/95_WebViewControl.pm
2015.01.12 08:33:05 1: Including ./log/fhem.save
2015.01.12 08:33:05 5: Cmd: >setstate Logfile active<
2015.01.12 08:33:05 5: Cmd: >setstate S5_Webviewcontrol powerLevel=93, powerPlugged=false<
2015.01.12 08:33:05 5: Cmd: >setstate S5_Webviewcontrol 2015-01-12 08:29:30 powerLevel 93<
2015.01.12 08:33:05 5: Cmd: >setstate S5_Webviewcontrol 2015-01-12 08:29:30 powerPlugged false<
2015.01.12 08:33:05 5: Cmd: >setstate S5_Webviewcontrol 2015-01-12 08:29:30 state powerLevel=93, powerPlugged=false<
2015.01.12 08:33:05 5: Cmd: >setstate autocreate active<
2015.01.12 08:33:05 5: Cmd: >setstate eventTypes active<
2015.01.12 08:33:05 5: Cmd: >setstate global <no definition><
2015.01.12 08:33:05 5: Cmd: >setstate initialUsbCheck 2015-01-12 08:22:18<
2015.01.12 08:33:05 5: Triggering global (1 changes)
2015.01.12 08:33:05 5: Notify loop for global INITIALIZED
2015.01.12 08:33:05 5: Triggering initialUsbCheck
2015.01.12 08:33:05 4: initialUsbCheck exec usb create
2015.01.12 08:33:05 5: Cmd: >usb create<
2015.01.12 08:33:05 1: usb create starting
2015.01.12 08:33:06 1: usb create end
2015.01.12 08:33:06 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2015.01.12 08:33:06 0: Server started with 10 defined entities (version $Id: fhem.pl 7528 2015-01-11 18:23:31Z rudolfkoenig $, os linux, user fhem, pid 20277)
2015.01.12 08:33:06 4: Connection accepted from FHEMWEB:192.168.1.202:55301
2015.01.12 08:33:06 4: HTTP FHEMWEB:192.168.1.202:55301 GET /fhem?XHR=1&inform=type=status;filter=room=all×tamp=1421047986208
2015.01.12 08:33:07 4: Connection accepted from FHEMWEB:192.168.1.202:55302
2015.01.12 08:33:07 4: HTTP FHEMWEB:192.168.1.202:55302 GET /fhem?XHR=1&inform=type=status;filter=room=Unsorted;since=1421047765.646×tamp=1421047988187
2015.01.12 08:33:26 4: Connection closed for FHEMWEB:192.168.1.202:55302: EOF
2015.01.12 08:33:26 4: Connection closed for FHEMWEB:192.168.1.202:55301: EOF
2015.01.12 08:33:27 4: Connection accepted from FHEMWEB:192.168.1.202:55303
2015.01.12 08:33:27 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem
2015.01.12 08:33:27 4: 20277:FHEMWEB:192.168.1.202:55303: /fhem / RL:1535 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:33:27 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem/pgm2/style.css
2015.01.12 08:33:27 4: Connection accepted from FHEMWEB:192.168.1.202:55304
2015.01.12 08:33:27 4: Connection accepted from FHEMWEB:192.168.1.202:55305
2015.01.12 08:33:27 4: Connection accepted from FHEMWEB:192.168.1.202:55306
2015.01.12 08:33:27 4: Connection accepted from FHEMWEB:192.168.1.202:55307
2015.01.12 08:33:27 4: Connection accepted from FHEMWEB:192.168.1.202:55308
2015.01.12 08:33:27 4: HTTP FHEMWEB:192.168.1.202:55304 GET /fhem/pgm2/jquery-ui.min.css
2015.01.12 08:33:27 4: HTTP FHEMWEB:192.168.1.202:55305 GET /fhem/pgm2/jquery.min.js
2015.01.12 08:33:27 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem/pgm2/jquery-ui.min.js
2015.01.12 08:33:28 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem/pgm2/fhemweb_knob.js
2015.01.12 08:33:28 4: HTTP FHEMWEB:192.168.1.202:55304 GET /fhem/pgm2/defaultCommon.css
2015.01.12 08:33:28 4: HTTP FHEMWEB:192.168.1.202:55308 GET /fhem/pgm2/fhemweb_colorpicker.js
2015.01.12 08:33:28 4: HTTP FHEMWEB:192.168.1.202:55307 GET /fhem/pgm2/fhemweb.js
2015.01.12 08:33:29 4: HTTP FHEMWEB:192.168.1.202:55305 GET /fhem/pgm2/fhemweb_readingsGroup.js
2015.01.12 08:33:29 4: HTTP FHEMWEB:192.168.1.202:55304 GET /fhem/pgm2/fhemweb_readingsHistory.js
2015.01.12 08:33:29 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem/pgm2/dashboard_style.css
2015.01.12 08:33:29 4: HTTP FHEMWEB:192.168.1.202:55308 GET /fhem/pgm2/cordova-2.3.0.js
2015.01.12 08:33:29 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem/js/webviewcontrol.js
2015.01.12 08:33:30 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem/images/default/fhemicon_smallscreen.png
2015.01.12 08:33:30 4: HTTP FHEMWEB:192.168.1.202:55308 GET /fhem?XHR=1&inform=type=status;filter=room=Unsorted;since=1421048006×tamp=1421048011177
2015.01.12 08:33:30 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem/css/webviewcontrol.css
2015.01.12 08:33:30 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem/webviewcontrol?id=S5_Webviewcontrol&powerLevel=93&powerPlugged=false
2015.01.12 08:33:30 5: Triggering S5_Webviewcontrol (3 changes)
2015.01.12 08:33:30 5: Notify loop for S5_Webviewcontrol powerLevel=93, powerPlugged=false
2015.01.12 08:33:30 4: eventTypes: webViewControl S5_Webviewcontrol powerLevel=93, powerPlugged=false -> powerLevel=.*, powerPlugged=false
2015.01.12 08:33:30 4: eventTypes: webViewControl S5_Webviewcontrol powerLevel: 93 -> powerLevel: .*
2015.01.12 08:33:30 4: eventTypes: webViewControl S5_Webviewcontrol powerPlugged: false -> powerPlugged: false
2015.01.12 08:33:30 4: eventTypes: webViewControl S5_Webviewcontrol state: powerLevel=93, powerPlugged=false -> state: powerLevel=.*, powerPlugged=false
2015.01.12 08:33:30 4: 20277:FHEMWEB:192.168.1.202:55306: /fhem/webviewcontrol?id=S5_Webviewcontrol&powerLevel=93&powerPlugged=false / RL:20 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:33:30 4: HTTP FHEMWEB:192.168.1.202:55304 GET /fhem?XHR=1&inform=type=status;filter=room=all×tamp=1421048011463
2015.01.12 08:33:31 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem/icons/onlineIconSprite.png
2015.01.12 08:33:31 4: 20277:FHEMWEB:192.168.1.202:55303: /fhem/icons/onlineIconSprite.png / RL:20 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:33:31 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem/icons/batteryIconSprite.png
2015.01.12 08:33:31 4: 20277:FHEMWEB:192.168.1.202:55306: /fhem/icons/batteryIconSprite.png / RL:20 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:34:01 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem/webviewcontrol?id=S5_Webviewcontrol&powerLevel=92&powerPlugged=false
2015.01.12 08:34:01 5: Triggering S5_Webviewcontrol (3 changes)
2015.01.12 08:34:01 5: Notify loop for S5_Webviewcontrol powerLevel=92, powerPlugged=false
2015.01.12 08:34:01 4: eventTypes: webViewControl S5_Webviewcontrol powerLevel=92, powerPlugged=false -> powerLevel=.*, powerPlugged=false
2015.01.12 08:34:01 4: eventTypes: webViewControl S5_Webviewcontrol powerLevel: 92 -> powerLevel: .*
2015.01.12 08:34:01 4: eventTypes: webViewControl S5_Webviewcontrol powerPlugged: false -> powerPlugged: false
2015.01.12 08:34:01 4: eventTypes: webViewControl S5_Webviewcontrol state: powerLevel=92, powerPlugged=false -> state: powerLevel=.*, powerPlugged=false
2015.01.12 08:34:01 4: 20277:FHEMWEB:192.168.1.202:55306: /fhem/webviewcontrol?id=S5_Webviewcontrol&powerLevel=92&powerPlugged=false / RL:20 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:34:30 4: Connection closed for FHEMWEB:192.168.1.202:55304: EOF
2015.01.12 08:34:30 4: Connection closed for FHEMWEB:192.168.1.202:55308: EOF
2015.01.12 08:34:30 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem&room=Unsorted&cmd=set+S5_Webviewcontrol+toastMessage+Hallo
2015.01.12 08:34:30 5: Cmd: >set S5_Webviewcontrol toastMessage Hallo<
2015.01.12 08:34:30 5: Triggering S5_Webviewcontrol (1 changes)
2015.01.12 08:34:30 5: Notify loop for S5_Webviewcontrol toastMessage Hallo
2015.01.12 08:34:30 4: eventTypes: webViewControl S5_Webviewcontrol toastMessage Hallo -> toastMessage Hallo
2015.01.12 08:34:30 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem?room=Unsorted
2015.01.12 08:34:30 4: 20277:FHEMWEB:192.168.1.202:55306: /fhem?room=Unsorted / RL:1526 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:34:30 4: HTTP FHEMWEB:192.168.1.202:55306 GET /fhem/icons/batteryIconSprite.png
2015.01.12 08:34:30 4: 20277:FHEMWEB:192.168.1.202:55306: /fhem/icons/batteryIconSprite.png / RL:20 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:34:30 4: HTTP FHEMWEB:192.168.1.202:55303 GET /fhem?XHR=1&inform=type=status;filter=room=Unsorted;since=1421048069×tamp=1421048071804
2015.01.12 08:34:30 4: HTTP FHEMWEB:192.168.1.202:55305 GET /fhem?XHR=1&inform=type=status;filter=room=all×tamp=1421048071809
2015.01.12 08:34:30 4: HTTP FHEMWEB:192.168.1.202:55307 GET /fhem/webviewcontrol?id=S5_Webviewcontrol&powerLevel=92&powerPlugged=false
2015.01.12 08:34:30 5: Triggering S5_Webviewcontrol (3 changes)
2015.01.12 08:34:30 5: Notify loop for S5_Webviewcontrol powerLevel=92, powerPlugged=false
2015.01.12 08:34:30 4: eventTypes: webViewControl S5_Webviewcontrol powerLevel=92, powerPlugged=false -> powerLevel=.*, powerPlugged=false
2015.01.12 08:34:30 4: eventTypes: webViewControl S5_Webviewcontrol powerLevel: 92 -> powerLevel: .*
2015.01.12 08:34:30 4: eventTypes: webViewControl S5_Webviewcontrol powerPlugged: false -> powerPlugged: false
2015.01.12 08:34:30 4: eventTypes: webViewControl S5_Webviewcontrol state: powerLevel=92, powerPlugged=false -> state: powerLevel=.*, powerPlugged=false
2015.01.12 08:34:31 4: 20277:FHEMWEB:192.168.1.202:55307: /fhem/webviewcontrol?id=S5_Webviewcontrol&powerLevel=92&powerPlugged=false / RL:20 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 08:35:09 4: Connection closed for FHEMWEB:192.168.1.202:55303: EOF
2015.01.12 08:35:09 4: Connection closed for FHEMWEB:192.168.1.202:55305: EOF
2015.01.12 08:35:09 4: HTTP FHEMWEB:192.168.1.202:55307 GET /fhem&room=Unsorted&cmd=shutdown+restart
2015.01.12 08:35:09 5: Cmd: >shutdown restart<
2015.01.12 08:35:09 5: Triggering global (1 changes)
2015.01.12 08:35:09 5: Notify loop for global SHUTDOWN
2015.01.12 08:35:09 0: Server shutdown



Gruß
Thomas
Rock64, RasPi mit AddOn-Board
Devices: Homematic, LaCrosse, SMLUSB, OneWire, Viessmann, Dect200, ZWave, PCA301, Zigbee

bert


Thomas_Homepilot

Zitat von: bert am 12 Januar 2015, 09:19:26
Seit dem Update von heute 12.1. ist WebContontrol wieder ok.

...leider nicht. Mein Log (s. oben) ist mit dem aktuellen Update (r7526) gemacht worden.

Gruß
Thomas
Rock64, RasPi mit AddOn-Board
Devices: Homematic, LaCrosse, SMLUSB, OneWire, Viessmann, Dect200, ZWave, PCA301, Zigbee

Thomas_Homepilot

Hier der Log mit der alten FHEMWEB (r7284) (Hab 2 mal die toastMessage gesendet):


2015.01.12 09:34:21 5: Initializing Type Library:
2015.01.12 09:34:21 1: Including fhem.cfg
2015.01.12 09:34:21 5: Cmd: >attr global userattr devStateIcon devStateStyle icon sortby webCmd widgetOverride<
2015.01.12 09:34:21 5: Cmd: >attr global autoload_undefined_devices 1<
2015.01.12 09:34:21 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2015.01.12 09:34:21 5: Cmd: >attr global modpath .<
2015.01.12 09:34:21 5: Cmd: >attr global motd SecurityCheck:

WEB,WEBphone,WEBtablet has no basicAuth attribute.
telnetPort has no password/globalpassword attribute.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.
<
2015.01.12 09:34:21 5: Cmd: >attr global statefile ./log/fhem.save<
2015.01.12 09:34:21 5: Cmd: >attr global updateInBackground 1<
2015.01.12 09:34:21 5: Cmd: >attr global verbose 5<
2015.01.12 09:34:21 5: Cmd: >define telnetPort telnet 7072 global<
2015.01.12 09:34:21 5: Loading ./FHEM/98_telnet.pm
2015.01.12 09:34:22 3: telnetPort: port 7072 opened
2015.01.12 09:34:22 5: Cmd: >define WEB FHEMWEB 8083 global<
2015.01.12 09:34:22 5: Loading ./FHEM/01_FHEMWEB.pm
2015.01.12 09:34:22 3: WEB: port 8083 opened
2015.01.12 09:34:22 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2015.01.12 09:34:22 3: WEBphone: port 8084 opened
2015.01.12 09:34:22 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2015.01.12 09:34:22 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2015.01.12 09:34:22 3: WEBtablet: port 8085 opened
2015.01.12 09:34:22 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2015.01.12 09:34:22 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2015.01.12 09:34:22 5: Loading ./FHEM/92_FileLog.pm
2015.01.12 09:34:22 5: Cmd: >define autocreate autocreate<
2015.01.12 09:34:22 5: Loading ./FHEM/98_autocreate.pm
2015.01.12 09:34:22 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2015.01.12 09:34:22 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2015.01.12 09:34:22 5: Loading ./FHEM/91_eventTypes.pm
2015.01.12 09:34:22 2: eventTypes: loaded 11 events from ./log/eventTypes.txt
2015.01.12 09:34:22 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2015.01.12 09:34:22 5: Loading ./FHEM/91_notify.pm
2015.01.12 09:34:22 5: Cmd: >define S5_Webviewcontrol webViewControl 12346<
2015.01.12 09:34:22 5: Loading ./FHEM/95_WebViewControl.pm
2015.01.12 09:34:22 1: Including ./log/fhem.save
2015.01.12 09:34:22 5: Cmd: >setstate Logfile active<
2015.01.12 09:34:22 5: Cmd: >setstate S5_Webviewcontrol powerLevel=87, powerPlugged=false<
2015.01.12 09:34:22 5: Cmd: >setstate S5_Webviewcontrol 2015-01-12 09:33:06 powerLevel 87<
2015.01.12 09:34:22 5: Cmd: >setstate S5_Webviewcontrol 2015-01-12 09:33:06 powerPlugged false<
2015.01.12 09:34:22 5: Cmd: >setstate S5_Webviewcontrol 2015-01-12 09:33:06 state powerLevel=87, powerPlugged=false<
2015.01.12 09:34:22 5: Cmd: >setstate autocreate active<
2015.01.12 09:34:22 5: Cmd: >setstate eventTypes active<
2015.01.12 09:34:22 5: Cmd: >setstate global <no definition><
2015.01.12 09:34:22 5: Cmd: >setstate initialUsbCheck 2015-01-12 09:32:08<
2015.01.12 09:34:22 5: Triggering global (1 changes)
2015.01.12 09:34:22 5: Notify loop for global INITIALIZED
2015.01.12 09:34:22 5: Triggering initialUsbCheck
2015.01.12 09:34:22 4: initialUsbCheck exec usb create
2015.01.12 09:34:22 5: Cmd: >usb create<
2015.01.12 09:34:22 1: usb create starting
2015.01.12 09:34:23 1: usb create end
2015.01.12 09:34:23 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2015.01.12 09:34:23 0: Server started with 10 defined entities (version $Id: fhem.pl 7528 2015-01-11 18:23:31Z rudolfkoenig $, os linux, user fhem, pid 20421)
2015.01.12 09:34:23 4: Connection accepted from FHEMWEB:192.168.1.202:59777
2015.01.12 09:34:23 4: HTTP FHEMWEB:192.168.1.202:59777 GET /fhem?XHR=1&inform=type=status;filter=room=all×tamp=1421051663311
2015.01.12 09:34:24 4: Connection accepted from FHEMWEB:192.168.1.202:59778
2015.01.12 09:34:24 4: HTTP FHEMWEB:192.168.1.202:59778 GET /fhem?XHR=1&inform=type=status;filter=;since=1421051655.128×tamp=1421051665267
2015.01.12 09:34:28 4: Connection accepted from FHEMWEB:192.168.1.204:44922
2015.01.12 09:34:28 4: HTTP FHEMWEB:192.168.1.204:44922 GET /fhem
2015.01.12 09:34:28 4: 20421:FHEMWEB:192.168.1.204:44922: /fhem / RL:1106 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 09:34:29 4: HTTP FHEMWEB:192.168.1.204:44922 GET /fhem?XHR=1&inform=type=status;filter=;since=1421051667×tamp=1421051690963
2015.01.12 09:34:40 4: Connection closed for FHEMWEB:192.168.1.204:44922: EOF
2015.01.12 09:34:40 4: Connection accepted from FHEMWEB:192.168.1.204:44927
2015.01.12 09:34:41 4: HTTP FHEMWEB:192.168.1.204:44927 GET /fhem&cmd=set+S5_Webviewcontrol+toastMessage+Hallo
2015.01.12 09:34:41 5: Cmd: >set S5_Webviewcontrol toastMessage Hallo<
2015.01.12 09:34:41 5: Triggering S5_Webviewcontrol (1 changes)
2015.01.12 09:34:41 5: Notify loop for S5_Webviewcontrol toastMessage Hallo
2015.01.12 09:34:41 4: eventTypes: webViewControl S5_Webviewcontrol toastMessage Hallo -> toastMessage Hallo
2015.01.12 09:34:41 4: HTTP FHEMWEB:192.168.1.204:44927 GET /fhem
2015.01.12 09:34:41 4: 20421:FHEMWEB:192.168.1.204:44927: /fhem / RL:1106 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 09:34:41 4: HTTP FHEMWEB:192.168.1.204:44927 GET /fhem?XHR=1&inform=type=status;filter=;since=1421051680×tamp=1421051703399
2015.01.12 09:34:49 4: Connection closed for FHEMWEB:192.168.1.204:44927: EOF
2015.01.12 09:34:49 4: Connection accepted from FHEMWEB:192.168.1.204:44930
2015.01.12 09:34:49 4: HTTP FHEMWEB:192.168.1.204:44930 GET /fhem&cmd=set+S5_Webviewcontrol+toastMessage+Hallo
2015.01.12 09:34:49 5: Cmd: >set S5_Webviewcontrol toastMessage Hallo<
2015.01.12 09:34:49 5: Triggering S5_Webviewcontrol (1 changes)
2015.01.12 09:34:49 5: Notify loop for S5_Webviewcontrol toastMessage Hallo
2015.01.12 09:34:49 4: eventTypes: webViewControl S5_Webviewcontrol toastMessage Hallo -> toastMessage Hallo
2015.01.12 09:34:50 4: HTTP FHEMWEB:192.168.1.204:44930 GET /fhem
2015.01.12 09:34:50 4: 20421:FHEMWEB:192.168.1.204:44930: /fhem / RL:1106 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2015.01.12 09:34:50 4: HTTP FHEMWEB:192.168.1.204:44930 GET /fhem?XHR=1&inform=type=status;filter=;since=1421051689×tamp=1421051712165
2015.01.12 09:35:05 4: Connection closed for FHEMWEB:192.168.1.204:44930: EOF
2015.01.12 09:35:05 4: Connection accepted from FHEMWEB:192.168.1.204:44936
2015.01.12 09:35:05 4: HTTP FHEMWEB:192.168.1.204:44936 GET /fhem&cmd=shutdown+restart
2015.01.12 09:35:05 5: Cmd: >shutdown restart<
2015.01.12 09:35:05 5: Triggering global (1 changes)
2015.01.12 09:35:05 5: Notify loop for global SHUTDOWN
2015.01.12 09:35:05 0: Server shutdown


Gruß
Thomas
Rock64, RasPi mit AddOn-Board
Devices: Homematic, LaCrosse, SMLUSB, OneWire, Viessmann, Dect200, ZWave, PCA301, Zigbee

Schmitzkatze

Hi Ihr

bei mir trennt das WebViewControl die Verbindung zum Server.

Ein frischer Start geht einwandfrei aber nach 20 Sekunden kommt:

Fehler beim Aufrufen folgender Adresse:
http://xxx.xxx.xxx.xxx:8083/fhem/?room=DashboerdRoom
The Conection to the Server was unsuccessful. (-6)

Wenn ich auf dem Tablet (Android 4.2.2) den Browser starte, läuft alles bestens und ohne Probleme.

Ein Test die Datei 01_FHEMWEB.pm aus einem vorigen Backup vom Dez. wieder einzuspielen war erst mal erfolgreich.

Im Log ist kein Hinweis dass die Verbindung getrennt wurde etc.  :(

Mein System: Server Win XP Pro + strawberry

Gruß Schmitzkatze
Server: Raspberry pi 2 + Debian +, USB-TCM310, HM_IP / CCU3, FitzBox!

MaJu

Bei mir hat das heutige Update WVC nicht wieder vom Fehler bereinigt, die Befehle kommen weiterhin nicht auf dem Tablet an.
Strom-/Akkustatus werden in FHEM aber stets aktuell empfangen.
Erlebnisreiche Grüße aus Leipzig!

rudolfkoenig


2015.01.12 09:34:23 4: HTTP FHEMWEB:192.168.1.202:59777 GET /fhem?XHR=1&inform=type=status;filter=room=all&timestamp=1421051663311
2015.01.12 09:34:24 4: HTTP FHEMWEB:192.168.1.202:59778 GET /fhem?XHR=1&inform=type=status;filter=;since=1421051655.128&timestamp=1421051665267


fhemweb.js spezifiziert immer since beim Status.
-> WebViewControl oeffnet vermutlich einen Zweiten longpoll - Kanal, und hat es nicht mitgekriegt, dass die Nachrichten ab sofort per JSON formatiert gesendet werden.

Ich habe das inform Format erweitert: fhemweb.js sendet mit inform auch "fmt=JSON", und FHEMWEB liefert nur dann JSON aus falls fmt=JSON ist, sonst das alte Format (mit << getrennt). Koennt ihr bitte Pruefen, ob das WebViewControl Problem damit geloest ist? Wenn nicht, dann bitte genau zusammenfassen, was geht, und was nicht, ich blicke langsam nicht mehr durch.

bert

Hab grad alles mit WebviewControl getestet. -> Kann aus dem Browser alles schalten, SVG funktioniert. Auch aus dem Dashboard und Floorplan, Über WVC lässt sich alles schalten und wird korrekt angezeigt. Es ist alles funktionsfähig. Log sieht ebenfalls sauber aus.
Keine Probleme mehr bemerkt.

Vielen Dank für die rasche Abhilfe.
Bert

schka17

Hallo

Hatte auch Problem mit Kommandos an WVC, das senden funktioniert wieder, mir ist nochts aufgefallen das nicht funktionieren würde.

Gruß

Karl
M: Thinclient x64 Debian | CUL FS20, HMS100WD, HMS100TF, HMS100T, HMS100CO, S300, S555TH | OWServer DS1420, DS18B20, DS2408 | RFXCOM UVN128, THWR800, THGR228N,RTGR328, PCR800 |Jeelink PCA301 EC3000|CUNO+IR|HMLAN|HMUSB|CUL433 Somfy|mySensors|espEasy
S1:Raspberry mit BPM810, Jeelink EC3000

Schmitzkatze

Leider war das Update bei mir nicht erfolgreich.
Das Tablet (WebViewControl) meldet sofort (nach TimeOut) immer noch "The Connection to the Server was unsuccessful"

Per Browser alles gut! Steuerung, Symbolrückmeldung etc..

In meiner DOSBOX meldet FHEM beim Start:
"my" variable $uniqueID masks earlier declaration in same scope at fhem.pl line 4014.

Gruß Schmitzkatze
Server: Raspberry pi 2 + Debian +, USB-TCM310, HM_IP / CCU3, FitzBox!

MaJu

Mit dem heutigen regulären Update funktioniert es bei mir wieder, Sprachausgabe und Displayhelligkeit werden vom Tablet umgesetzt wie gewünscht.

@Rudolf: DANKE :-)
Erlebnisreiche Grüße aus Leipzig!

Thomas_Homepilot

Rock64, RasPi mit AddOn-Board
Devices: Homematic, LaCrosse, SMLUSB, OneWire, Viessmann, Dect200, ZWave, PCA301, Zigbee