Tablet AJAX/JavaScript/HTML GUI

Begonnen von fhem86, 30 Mai 2013, 14:57:15

Vorheriges Thema - Nächstes Thema

Icebear

Raspberry PI mod B (Wheezy), Fhem 5.4, CUL868, CUL433 , RfxTrx, HM-USB-CFG2, Wlan, HomeEasy, IT, FS20, TFA, HomeMatic, Oregon Scientific, HMLand auf Fritzbox
Raspberry PI mod B (RaspBMC)

infeliz

Ich versuche mein Bestes! Bin aber noch nicht so fit im Programmieren.
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

Icebear

Da hast du nen vorteil. Ich kann java bzw ajax garnicht. Programmiere nur in delphi und halt datenbank in mysql .
Raspberry PI mod B (Wheezy), Fhem 5.4, CUL868, CUL433 , RfxTrx, HM-USB-CFG2, Wlan, HomeEasy, IT, FS20, TFA, HomeMatic, Oregon Scientific, HMLand auf Fritzbox
Raspberry PI mod B (RaspBMC)

infeliz

FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

Hier ein Beispiel!


Gesendet von meinem iPhone mit Tapatalk
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

Icebear

Da ich eh meine haussteuerung neu aufsetz werd ich mir das dann doch nochmal wieder ansehen. Hatte es nicht mehr nachdem nichs mehr weiter ging.
Raspberry PI mod B (Wheezy), Fhem 5.4, CUL868, CUL433 , RfxTrx, HM-USB-CFG2, Wlan, HomeEasy, IT, FS20, TFA, HomeMatic, Oregon Scientific, HMLand auf Fritzbox
Raspberry PI mod B (RaspBMC)

infeliz

Eine Uhr gefällig?  ;)

Die dhtml.js muss ebenfalls in das Verzeichnis der index.html

Wie immer alles ohne Gewähr!  ;D
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

Update: neu Parameter!

attr viewFHEM_config item36 clockviewlabel|color|000000
attr viewFHEM_config item37 clockviewlabel|textcolor|CC6699
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

Kann mir jemand helfen? Ich würde gern ein einfache Balken- oder Liniendiagramm einbinden, bin aber noch nicht so firm in Java.
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

kleine optische Änderungen. Die dazugehörigen Parameter folgen noch.
Wenn jemand ein paar Anregungen hat, dann her damit! ;-)
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

So, hat ein wenig gedauert, aber der Rahmen ist fertig.
Hier nochmal alle Konfigurationparameter inkl. vier neue:

#Konfiguration
define viewFHEM_config dummy
attr viewFHEM_config item00 menubutton|font|Helvetica
attr viewFHEM_config item01 menubuttonselect|font|Helvetica
attr viewFHEM_config item02 menubutton|size|1.5em
attr viewFHEM_config item03 menubuttonselect|size|1.5em
attr viewFHEM_config item04 statusviewlabel|size|1.2em
attr viewFHEM_config item05 statusviewstate|size|1.5em
attr viewFHEM_config item06 background|color|000000
attr viewFHEM_config item07 topleft|color|FF9900
attr viewFHEM_config item08 topmiddle|color|FF9900
attr viewFHEM_config item09 topright|color|FF9900
attr viewFHEM_config item10 bottomleft|color|99CCFF
attr viewFHEM_config item11 bottommiddle|color|99CCFF
attr viewFHEM_config item12 bottomright|color|99CCFF
attr viewFHEM_config item13 menuspace|color|FFCC99
attr viewFHEM_config item14 menubutton|color|FF9900
attr viewFHEM_config item15 menubuttonselect|color|FF9900
attr viewFHEM_config item16 menubutton|textcolor|000000
attr viewFHEM_config item17 menubuttonselect|textcolor|000000
attr viewFHEM_config item18 statusviewleft|color|FFCC99
attr viewFHEM_config item19 statusviewlabel|color|FFCC99
attr viewFHEM_config item20 statusviewstate|color|000000
attr viewFHEM_config item21 statusviewlabel|textcolor|000000
attr viewFHEM_config item22 statusviewstate|textcolor|FFCC99
attr viewFHEM_config item23 onoffviewleft|color_on|9999CC
attr viewFHEM_config item24 onoffviewleft|color_off|9999CC
attr viewFHEM_config item25 onoffviewlabel|color_on|9999CC
attr viewFHEM_config item26 onoffviewlabel|color_off|9999CC
attr viewFHEM_config item27 onoffviewstate|color_on|000000
attr viewFHEM_config item28 onoffviewstate|color_off|000000
attr viewFHEM_config item29 onoffviewlabel|textcolor_on|000000
attr viewFHEM_config item30 onoffviewlabel|textcolor_off|000000
attr viewFHEM_config item31 onoffviewstate|textcolor_on|9999CC
attr viewFHEM_config item32 onoffviewstate|textcolor_off|9999CC
attr viewFHEM_config item33 meinPopupDevice|popup|FFFFFF|FF9900
attr viewFHEM_config item34 groupviewlabel|color|FF9966
attr viewFHEM_config item35 groupviewleft|color|FF9966
attr viewFHEM_config item36 groupviewborder|color|000000
attr viewFHEM_config item37 weatherviewlabel|color|FFCC99
attr viewFHEM_config item38 weatherviewlabel|textcolor|9999FF
attr viewFHEM_config item39 clockviewlabel|color|000000
attr viewFHEM_config item40 clockviewlabel|textcolor|99CCFF
attr viewFHEM_config item41 roomviewlabel|color|6666FF
attr viewFHEM_config item42 roomviewlabel|textcolor|000000

attr viewFHEM_config room 98_viewFHEM

Viel Freude!
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

Icebear

Sieht alles fein aus. Hoff ich komm am we dazu mal zu testen
Raspberry PI mod B (Wheezy), Fhem 5.4, CUL868, CUL433 , RfxTrx, HM-USB-CFG2, Wlan, HomeEasy, IT, FS20, TFA, HomeMatic, Oregon Scientific, HMLand auf Fritzbox
Raspberry PI mod B (RaspBMC)

infeliz

Würde mich freuen mal eine Rückmeldung zu bekommen.

FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

Es wird langsam. Tu mich schwer das richtige Design zu finden!  8)
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV

infeliz

wieder mal zu schnell geklickt. hier das richtig foto.
FHEM, Homebridge auf RaspberryPi2(autom. Backup der fhem.cfg auf NAS), CC1101-USB-Lite 868MHz (CUL), 6x FS20 SU-3, 1x FS20 ST, 1x FS20 AS4-3, 3x FS20 RSU, 1x HM-CFG-LAN 1x HM-WDS-IT, 1x HMS-100-TF, 3x HM-ES-PMSw1-pl, 1x HMS-100-TF, SamsungTV