[gelöst] smartvisu - keine Verbindung zu FHEM mit fhem Driver

Begonnen von dlehmann69, 15 Februar 2015, 10:10:01

Vorheriges Thema - Nächstes Thema

dlehmann69

Hallo,

ich habe heute den neuen io_fhem Treiber installiert. Leider bekomme ich mit dieser Version keine Verbindung mit FHEM zustande. Mit der vorhergehenden Version hat es funktioniert. Folgende Meldungen erhalte ich in der Konsole von Firefox.

GET http://192.168.2.120/smartvisu/index.php [HTTP/1.1 200 OK 433ms]
GET http://192.168.2.120/smartvisu/vendor/jquery.mobile/jquery.mobile.structure-1.3.2.min.css [HTTP/1.1 200 OK 9ms]
GET http://192.168.2.120/smartvisu/vendor/jquery/jquery-2.0.3.min.js [HTTP/1.1 200 OK 25ms]
GET http://192.168.2.120/smartvisu/vendor/jquery.mobile/jquery.mobile-1.3.2.min.js [HTTP/1.1 200 OK 105ms]
GET http://192.168.2.120/smartvisu/lib/base/jquery.mobile.slider.js [HTTP/1.1 200 OK 16ms]
GET http://192.168.2.120/smartvisu/vendor/plot.highcharts/highcharts.js [HTTP/1.1 200 OK 105ms]
GET http://192.168.2.120/smartvisu/designs/sand.js [HTTP/1.1 200 OK 8ms]
GET http://192.168.2.120/smartvisu/widgets/widget.js [HTTP/1.1 200 OK 32ms]
GET http://192.168.2.120/smartvisu/widgets/animation.js [HTTP/1.1 200 OK 33ms]
GET http://192.168.2.120/smartvisu/lib/base/base.js [HTTP/1.1 200 OK 33ms]
GET http://192.168.2.120/smartvisu/lib/base/base.php [HTTP/1.1 200 OK 35ms]
GET http://192.168.2.120/smartvisu/driver/io_fhem.js [HTTP/1.1 200 OK 105ms]
GET http://192.168.2.120/smartvisu/designs/sand.min.css [HTTP/1.1 200 OK 105ms]
GET http://192.168.2.120/smartvisu/pages/base/base.css [HTTP/1.1 200 OK 105ms]
GET http://192.168.2.120/smartvisu/pages/UnserHaus/visu.js [HTTP/1.1 200 OK 104ms]
GET http://192.168.2.120/smartvisu/pages/UnserHaus/visu.css [HTTP/1.1 200 OK 106ms]
GET http://192.168.2.120/smartvisu/lib/clock/jdigiclock.css [HTTP/1.1 200 OK 107ms]
GET http://192.168.2.120/smartvisu/lib/clock/jquery.jdigiclock.js [HTTP/1.1 200 OK 109ms]
GET http://192.168.2.120/smartvisu/lib/weather/jdigiweather.css [HTTP/1.1 200 OK 107ms]
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery-2.0.3.min.js:1
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery.mobile-1.3.2.min.js:7
SyntaxError: expected expression, got '<' io_fhem.js:4
ReferenceError: io is not defined index.php:45
GET http://192.168.2.120/smartvisu/icons/ws/control_building_empty.svg [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/time_manual_mode.svg [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/it_net.svg [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/edit_settings.svg [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/scene_office.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/icons/ws/scene_sleeping_alternat.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/or/fts_window_1w_open.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/scene_childs_room.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/scene_livingroom.png [HTTP/1.1 304 Not Modified 3ms]
GET http://192.168.2.120/smartvisu/icons/ws/scene_corridor.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/icons/ws/scene_toilet_alternat.png [HTTP/1.1 304 Not Modified 2ms]
Leerer String an getElementById() übergeben. jquery.mobile-1.3.2.min.js:6
"[animation.prepare]" animation.js:39
"[animation.redraw]" animation.js:46
getPreventDefault() sollte nicht mehr verwendet werden. Verwenden Sie stattdessen defaultPrevented. jquery-2.0.3.min.js:5
GET http://192.168.2.120/smartvisu/designs/images/ajax-loader.gif [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg1.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/0.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/9.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/5.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/pics/bg/luminous_lines.png [HTTP/1.1 304 Not Modified 4ms]
GET http://192.168.2.120/smartvisu/designs/images/icons-18-black.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/base/check_update.php [HTTP/1.1 200 OK 272ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/6.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/calendar/service/ical.php [HTTP/1.1 200 OK 26ms]
GET http://192.168.2.120/smartvisu/lib/weather/service/yr.no.php [HTTP/1.1 200 OK 17ms]
GET http://192.168.2.120/smartvisu/lib/weather/service/yr.no.php [HTTP/1.1 200 OK 16ms]
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data base.js:362
GET http://192.168.2.120/smartvisu/lib/clock/pics/51-1.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg3.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/weather/pics/sun_3.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/weather/pics/sun_5.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/weather/pics/sun_1.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/6-1.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/51-2.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg5.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/6-2.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/51-3.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg6.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/6-3.png [HTTP/1.1 304 Not Modified 7ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/7.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg2.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/7-1.png [HTTP/1.1 304 Not Modified 5ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg4.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/7-2.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/7-3.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/8.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg2.png [HTTP/1.1 304 Not Modified 5ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/8-1.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg4.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/8-2.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/8-3.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/511-1.png [HTTP/1.1 200 OK 3ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg2.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/9-1.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/0-1.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/511-2.png [HTTP/1.1 200 OK 16ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg4.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/9-2.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/0-2.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/511-3.png [HTTP/1.1 200 OK 12ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/9-3.png [HTTP/1.1 304 Not Modified 3ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/0-3.png [HTTP/1.1 304 Not Modified 4ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/1.png [HTTP/1.1 304 Not Modified 1ms]
KeyboardEvent.key-Wert "Esc" sollte nicht mehr verwendet werden und wird auf "Escape" unbenannt. Für weitere Hilfe siehe https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent.key jquery-min.js:3
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg2.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/01-1.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/clockbg4.png [HTTP/1.1 304 Not Modified 1ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/01-2.png [HTTP/1.1 304 Not Modified 2ms]
GET http://192.168.2.120/smartvisu/lib/clock/pics/01-3.png [HTTP/1.1 304 Not Modified 1ms]


Mit dem domotiga Treiber funktioniert es wieder.

Dirk
FHEM 6.0 Development auf Ubuntu 20.04 GIGABYTE GB-BACE mit Intel(R) Celeron(R) CPU N3150
CUL 3.4 FW 1.53 868 MHz für FS20, FHT
CUL 3.4 FW 1.66 868 MHz für HM
configDB; DbLog
FHT80, FS20, HMS, EM1000WZ, FHTTF, HM-LC-Sw1-DR; Lightify; HM-CC-RT-DN; HM-TC-IT-WM-W-EU; HM-SEC-SCO

ftobi

Hallo,

ich vermute, da ging beim einspielen was schief, hab ich auch schon mal falsch gemacht ;)

So sollten die Files vom neuen Treiber aussehen, prüfe bitte speziell Größe.
linaro@cubietruck:/opt/smartVISU/driver$ ls -lsa io_fhem.*
12 -rw-r--r-- 1 www-data www-data 9345 Feb 14 18:01 io_fhem.js
8 -rw-r--r-- 1 www-data www-data 4265 Feb 14 18:01 io_fhem.min.js


User (bei mir www-data) sollte so sein wie bei deinem domotiga-Treiber.

Wenns das nicht ist, muss jemand anderer helfen, da bin ich technisch nicht mehr tief genug drin.

Grüße
Tobi
Cubietruck / FS20 / Homematic / ZWave

herrmannj

Hi,

SyntaxError: expected expression, got '<' io_fhem.js:4
ReferenceError: io is not defined index.php:45

Ja, da scheint etwas beim installieren falsch gelaufen zu sein.

vg
jörg

edith: die Rechte stimmen, vmtl eher so ein windows / linux Ding.

dlehmann69

Hallo und besten Dank für die Hinweise. Ich habe beim holen der Files aus github einen Fehler gemacht. Jetzt passt es wieder und läuft mit dem FHEM Treiber.

Dirk
FHEM 6.0 Development auf Ubuntu 20.04 GIGABYTE GB-BACE mit Intel(R) Celeron(R) CPU N3150
CUL 3.4 FW 1.53 868 MHz für FS20, FHT
CUL 3.4 FW 1.66 868 MHz für HM
configDB; DbLog
FHT80, FS20, HMS, EM1000WZ, FHTTF, HM-LC-Sw1-DR; Lightify; HM-CC-RT-DN; HM-TC-IT-WM-W-EU; HM-SEC-SCO