NEWS
Einfach mal zeigen will….. :-) - Teil 1
-
Heizung Iphone.JPG `
Hallo Marco,könntest du für das Widget Heizung IPhone ebenfalls den Code Export bereit stellen?!
Die UHD Ansicht ist schon ziemlich geil, passt nur leider nicht auf mein Tablet.
Vielen Dank im Voraus.
Gruß Dennis
-
Hallo Dennis,
na klar kann ich das machen
[{"tpl":"tplJquiIconNav","data":{"hm_id":65535,"digits":6,"factor":1,"nav_view":"Menü_Handy","src":"/icons-mfd-png/it_pc.png","alt":" ","text":"Home","class":"nexus-nav","filterkey":"","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"views":null},"style":{"left":"0px","top":"372px","border-radius":"0px","width":"321px","height":"60px","font":"normal normal normal 17px/normal Arial, Arial, sans-serif","text-align":"center"},"widgetSet":"jqui"},{"tpl":"tplFrame","data":{"visibility-cond":"==","visibility-val":1,"title":"Schlafzimmerzimmer","title_color":"black","title_top":"5","title_left":"15","header_height":"30","header_color":"#47aaff","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","name":"Wohnzimmer HK1"},"style":{"left":"3px","top":"3px","width":"319px","height":"370px","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"large","z-index":"0","background":"black","border-width":"3px","border-style":"solid","border-color":"#484851","border-radius":"12px"},"widgetSet":"basic"},{"tpl":"tplIconInc","data":{"oid":"hm-rpc.0.LTK0014712.4.SET_TEMPERATURE","visibility-cond":"==","visibility-val":1,"repeat_delay":"800","repeat_interval":"800","src":"/vis.0/main/weiß/control_plus.png","step":"+0.5","minmax":"30","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"text":"","visibility-groups-action":"hide","name":"Wohnzimmer HK1"},"style":{"left":"180px","top":"199px","background":"black","width":"120px","height":"60px","z-index":"25"},"widgetSet":"jqui"},{"tpl":"tplIconInc","data":{"oid":"hm-rpc.0.LTK0014712.4.SET_TEMPERATURE","visibility-cond":"==","visibility-val":1,"repeat_delay":"800","repeat_interval":"800","src":"/vis.0/main/weiß/control_minus.png","step":"-0.5","minmax":"4.5","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"text":"","visibility-groups-action":"hide","invert_icon":false,"imageHeight":"98","name":"Wohnzimmer HK1"},"style":{"left":"18px","top":"199px","background":"black","width":"120px","height":"60px","z-index":"25"},"widgetSet":"jqui"},{"tpl":"tplValueFloat","data":{"oid":"hm-rpc.0.LTK0014712.4.SET_TEMPERATURE","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" ºC","html_append_plural":" ºC","digits":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"is_tdp":false,"visibility-groups-action":"hide","html_prepend":"Soll ","name":"Wohnzimmer HK1"},"style":{"left":"144px","top":"162px","width":"106px","height":"25px","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"medium","z-index":"25"},"widgetSet":"basic"},{"tpl":"tplValueFloatBar","data":{"oid":"hm-rpc.0.LTK0014712.4.VALVE_STATE","visibility-cond":"==","visibility-val":1,"factor":"1","color":"#47aaff","min":"0","max":"99","orientation":"horizontal","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","name":"Wohnzimmer HK1"},"style":{"left":"47px","top":"124px","width":"216px","height":"16px","border-color":"white","border-radius":"1px","border-width":"1px","border-style":"solid","z-index":"25"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"hm-rpc.0.LTK0014712.4.ACTUAL_TEMPERATURE","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" ºC","html_append_plural":" ºC","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"is_tdp":false,"visibility-groups-action":"hide","html_prepend":"Ist ","name":"Wohnzimmer HK1"},"style":{"left":"86px","top":"72px","width":"144px","height":"39px","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"x-large","z-index":"25","border-width":"1px","border-style":"none","border-color":"white","border-radius":"0px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"hm-rpc.0.LTK0014712.4.VALVE_STATE","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" %","html_append_plural":" %","is_tdp":"false","gestures-offsetX":0,"gestures-offsetY":0,"digits":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","html_prepend":"Heizt mit: ","name":"Wohnzimmer HK1"},"style":{"left":"106px","top":"126px","width":"100px","height":"21px","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"small","z-index":"30","border-width":"1px","border-style":"none","border-color":"white","border-radius":"0px"},"widgetSet":"basic"},{"tpl":"tplImage","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":true,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"0","refreshOnWakeUp":"false","refreshOnViewChange":"false","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"src":"/vis.0/main/Download/metal_background.jpg","name":"Wohnzimmer HK1"},"style":{"left":"2px","top":"41px","width":"314px","height":"317px","z-index":"0","border-color":"#484851","border-radius":"12px","border-style":"solid","border-width":"3px"},"widgetSet":"basic"},{"tpl":"tplMfdCustom10","data":{"oid":"hm-rpc.0.LTK0014712.4.BATTERY_STATE","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","asButton":"true","icon0":"/vis.0/main/rot/measure_battery_0.png","icon1":"/vis.0/main/rot/measure_battery_0.png","icon2":"/vis.0/main/weiß/measure_battery_25.svg","icon3":"/vis.0/main/weiß/measure_battery_25.svg","icon4":"/vis.0/main/weiß/measure_battery_50.svg","icon5":"/vis.0/main/weiß/measure_battery_50.svg","icon6":"/vis.0/main/weiß/measure_battery_50.svg","icon7":"/vis.0/main/weiß/measure_battery_75.svg","icon8":"/vis.0/main/weiß/measure_battery_75.svg","icon9":"/vis.0/main/weiß/measure_battery_100.svg","icon10":"/vis.0/main/weiß/measure_battery_100.svg","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"min":"1.5","max":"3.2","name":"Wohnzimmer HK1"},"style":{"left":"14px","top":"54px","width":"35px","height":"35px"},"widgetSet":"jqui-mfd"},{"tpl":"tplValueListHtml8","data":{"oid":"hm-rpc.0.LTK0014712.4.CONTROL_MODE","visibility-cond":"==","visibility-val":1,"count":"3","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value0":"AUTO","value1":"Hand","style0":"background-color: green; padding-top:3px;","style1":"background-color: red; padding-top:3px;","test_list":"3","visibility-groups-action":"hide","style2":"","value2":"","value3":"Boost","style3":"background-color: blue; padding-top:3px;","name":"Wohnzimmer HK1"},"style":{"left":"65px","top":"161px","z-index":"1","color":"#ffffff","text-align":"center","width":"75px","height":"22px","border-radius":"4px","padding-top":"","line-height":"","font-size":"x-small","background-color":"#FFFFFF"},"widgetSet":"basic"},{"tpl":"tplMfdWindowBool","data":{"oid":"hm-rpc.0.MEQ0614393.1.STATE","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","asButton":"true","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"Wohnzimmer HK1"},"style":{"left":"268px","top":"58px","width":"35px","height":"35px"},"widgetSet":"jqui-mfd"},{"tpl":"tplJquiButtonState","data":{"oid":"hm-rpc.0.LTK0014712.4.AUTO_MODE","visibility-cond":"==","visibility-val":1,"buttontext":"Auto","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value":"true","visibility-groups-action":"hide","no_style":false,"name":"Wohnzimmer HK1"},"style":{"left":"21px","top":"304px","font-size":"small","width":"80px","text-align":"center","z-index":"1","height":"50px"},"widgetSet":"jqui"},{"tpl":"tplJquiButtonState","data":{"oid":"hm-rpc.0.LTK0014712.4.MANU_MODE","visibility-cond":"==","visibility-val":1,"buttontext":"Hand","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value":"20","visibility-groups-action":"hide","name":"Wohnzimmer HK1"},"style":{"left":"119px","top":"304px","font-size":"small","width":"80px","text-align":"center","z-index":"1","height":"50px"},"widgetSet":"jqui"},{"tpl":"tplJquiButtonState","data":{"oid":"hm-rpc.0.LTK0014712.4.BOOST_MODE","visibility-cond":"==","visibility-val":1,"buttontext":"Boost","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value":"true","visibility-groups-action":"hide","name":"Wohnzimmer HK1"},"style":{"left":"220px","top":"304px","font-size":"small","width":"80px","text-align":"center","z-index":"1","height":"50px"},"widgetSet":"jqui"},{"tpl":"tplValueFloatBar","data":{"oid":"hm-rpc.0.LTK0014712.4.BOOST_STATE","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","min":"0","max":"30","orientation":"horizontal","color":"#47aaff","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"Wohnzimmer HK1"},"style":{"left":"133px","top":"270px","width":"49px","height":"27px"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"hm-rpc.0.LTK0014712.4.BOOST_STATE","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" min","html_append_plural":" min","is_tdp":"false","gestures-offsetX":0,"gestures-offsetY":0,"digits":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","html_prepend":"","name":"Wohnzimmer HK1"},"style":{"left":"135px","top":"275px","width":"48px","height":"20px","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"small","z-index":"30","border-width":"1px","border-style":"none","border-color":"white","border-radius":"0px"},"widgetSet":"basic"}]
-
Hallo zusammen,
nachdem ich mir hier und bei den Beispiel-Views so viele Anregungen und Ideen geholt habe, möchte ich euch mein Ergebnis jetzt nicht vorenthalten.
An vielen Stellen musste ich allerdings Kompromisse in der View eingehen, weil die vorhandenen Widgtes nicht immer alle Sachen einstellbar haben usw. Aber da ich des programmieren nicht mächtig bin und des Zeitfaktors wegen, habe ich mich noch nicht daran getraut eigene Widgets zu erstellen.
Bei mir fungiert die Visu "lediglich" zur Anzeige der wichtigsten Daten der Homematic auf meinem Tablet im Flur.
Vielen Dank an alle "Mitwirkenden"!!
Gruß Dennis
-
Hi zusammen,
ich hab meine erste Visu auch fast fertig ich bin eigentlich wohl zufrieden fürs erste aber was ihr da teilweise hinzaubert ist mal richtig Geil.
Gruss Christian
-
Mein Homeview. 7" Tab.
Home.JPG `
Hallo krissi,
ich finde dein View sehr gelungen und bastel grade an den Metro Widgets. Kannst du hier vielleicht einmal die Codes der 3 oben links einstellen?
Und das eine oben rechts
Würde mich sehr freuen.
Gruß Sven
-
Hi Sven, gerade erst gelesen. Danke, freut mich. Code stell ich heute Abend rein.
Gruß,
Krissi
Hallo krissi,
ich finde dein View sehr gelungen und bastel grade an den Metro Widgets. Kannst du hier vielleicht einmal die Codes der 3 oben links einstellen?
Und das eine oben rechts
Würde mich sehr freuen.
Gruß Sven `
-
Wenn man sich hier https://iobroker.net:8080/ die Views holt, fehlen überall die Grafiken
z.B. das von fubo08
Wie krieg ich die Grafiken dort auch runter?
-
Ich musste erst mal lange suchen bis ich fubo gefunden hatte. Steht ja so nicht sichtbar drin!
Dort jabe ich eigentlich nur ein image gefunden
Gruß
Rainer
-
Da sind noch mehr…sieht bei mir importiert so aus. Da sind teilweise eigene Grafiken drin. Die werden auf iobroker.net ja dargestellt.
-
Da sind noch mehr…sieht bei mir importiert so aus. Da sind teilweise eigene Grafiken drin. Die werden auf iobroker.net ja dargestellt.
Ist nur ein Beispiel, ist bei anderen Projekte auch so
-
Ich habe nur das einzige image aus dem Standardordner downgeloaded.
Was du da suchst sind anscheinend Icons.
Du musst dazu mal in die Einstellungen gehen und nachsehen welche das sind ind wo deren Speicherort ist.
Dann kannst du diese entsprechend ebenfalls downloaden.
Gruß
Rainer
-
Ggf. fehlen auch nur die Widget-Sätze (als Adapter).
Das "NaN" zeigt auf einen nicht vorhandenen Datenpunkt.
Gruß,
Eric
-
Nicht Widgetsätze, sondern Iconsätze!
NaN ist klar, die Datenpunkte müssen natürlich nach dem Import noch an die eigene Installation angepasst werden.
Gruß
Rainer
-
Da sind noch mehr…sieht bei mir importiert so aus. Da sind teilweise eigene Grafiken drin. Die werden auf iobroker.net ja dargestellt.
![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201706 ... e1c53b.jpg">https://uploads.tapatalk-cdn.com/20170624/6c4f6aa2faf93a567c5c1d476de1c53b.jpg</link_text>" />` ~~Die meisten sind aus den Standard Iconsets, welches usw. siehst du ja wenn du in die Eigenschaften schaust.Den Hintergrund und ein paar spezielle sind hochgeladen unter vis.0 icons …
Falls du etwas nicht findest sag einfach noch mal Bescheid, dann kann ich es dir auch schicken.
Gruß Dennis~~
-
Hi Sven, sorry hat etwas länger gedauert.
Wetter:
[{"tpl":"tplValueFloat","data":{"hm_id":"10008","digits":"1","factor":1,"min":0,"max":1,"step":0.01,"is_comma":"true","html_prepend":"","html_append_singular":"","html_append_plural":"%","filterkey":"funcHeating","visibility-cond":"==","visibility-val":1,"oid":"","visibility-oid":"","name":"Pooltemperatur","comment":"","is_tdp":"false","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide"},"style":{"left":"95px","top":"175px","width":"139px","height":"34px","color":"rgb(255, 255, 255)","font-family":"Arial","font-size":"26px","font-style":"bold","font-variant":"bold","text-align":"center","z-index":"1"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"hm_id":"10008","digits":"1","factor":1,"min":0,"max":1,"step":0.01,"is_comma":"true","html_prepend":"","html_append_singular":"","html_append_plural":"°C","filterkey":"funcHeating","visibility-cond":"==","visibility-val":1,"oid":"","visibility-oid":"","name":"Pooltemperatur","comment":"","is_tdp":"false","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"gestures-swiping-minimum":"-1","gestures-pinching-maximum":"-1","gestures-swipeUp-limit":"-1","gestures-rotating-delta":"1","visibility-groups-action":"hide"},"style":{"left":"95px","top":"145px","width":"139px","height":"30px","color":"rgb(255, 255, 255)","font-family":"Arial","font-size":"26px","font-style":"bold","font-variant":"bold","text-align":"center","z-index":"1"},"widgetSet":"basic"},{"tpl":"tplMetroTileString","data":{"hm_id":65535,"digits":"","factor":1,"min":0,"max":1,"step":0.01,"icon_class_true":"","icon_class_false":"","icon_badge_true":"","icon_badge_false":"","bg_class_true":"","bg_class_false":"bg-cyan","badge_bg_class_true":"","badge_bg_class_false":"","brand_bg_class_true":"","brand_bg_class_false":"","icon_false":"/icons-mfd-png/temp_outside.png","label_append":"Wetter","label_id":"","filterkey":"funcClimateControl","icon_height":"45","content_append":"","content_prepend":"","transform":false,"select_on_true":false,"hover":false,"icon_width":"45","icon":"","visibility-cond":"==","visibility-val":1,"visibility-oid":"","content_oid":"","icon_top":"17","icon_left":"50","state_oid":"","badge_top":"0","badge_left":"0","gestures-offsetX":"15","gestures-offsetY":"-1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"gestures-swiping-minimum":"0","gestures-pinching-minimum":"-1","gestures-swiping-delta":"1","gestures-swiping-maximum":"1","visibility-groups-action":"hide"},"style":{"left":"90px","top":"90px","font-size":"30px","width":"140px","height":"135px","z-index":"0","font-weight":"","color":"","text-align":""},"widgetSet":"metro"}]
PV:
[{"tpl":"tplValueString","data":{"oid":"","visibility-cond":"==","visibility-val":1,"html_prepend":"","html_append":" MW","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide"},"style":{"left":"365px","top":"170px","width":"139px","height":"34px","color":"white","text-align":"center","font-size":"26px","font-family":"Arial, Helvetica, sans-serif","z-index":"1"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"","visibility-cond":"==","visibility-val":1,"html_prepend":"","html_append":" kW","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide"},"style":{"left":"365px","top":"140px","width":"139px","height":"30px","color":"white","text-align":"center","font-size":"26px","font-family":"Arial, Helvetica, sans-serif","z-index":"1"},"widgetSet":"basic"},{"tpl":"tplMetroTileStringDialogNumber","data":{"visibility-cond":">","visibility-val":"0","hover":"true","transform":"true","bg_class":"bg-emerald","icon_class":"","badge_bg_class":"bg-emerald","brand_bg_class":"bg-emerald","dialog_fontSize":"12px","dialog_padding":"0px 0px 0px 0px","dialog_draggable":"true","dialog_icon_class":"","content_oid":"","dialog_oid":"","number_oid":"","label":"Photovoltaik","visibility-oid":"","hide_on_0":false,"icon_src":"/icons-mfd-png/measure_photovoltaic_inst.png","icon_width":"45","icon_height":"45","icon_top":"17","icon_left":"46","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide"},"style":{"left":"360px","top":"85px","color":"","font-size":"","width":"140px","height":"135px","z-index":"0","text-align":"","text-shadow":"","font-family":"","font-style":"","font-variant":"","font-weight":"","line-height":""},"widgetSet":"metro"}]
Pool:
[{"tpl":"tplValueFloat","data":{"hm_id":"10008","digits":"1","factor":1,"min":0,"max":1,"step":0.01,"is_comma":"true","html_prepend":"","html_append_singular":"°C","html_append_plural":"°C","filterkey":"funcHeating","visibility-cond":"==","visibility-val":1,"oid":"","visibility-oid":"","name":"Pooltemperatur","comment":"","gestures-offsetX":0,"gestures-offsetY":0,"is_tdp":"false","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide"},"style":{"left":"630px","top":"150px","width":"146px","height":"37px","color":"rgb(255, 255, 255)","font-family":"Arial","font-size":"28px","font-style":"bold","font-variant":"bold","text-align":"center","z-index":"1"},"widgetSet":"basic"},{"tpl":"tplMetroTileString","data":{"hm_id":65535,"digits":"","factor":1,"min":0,"max":1,"step":0.01,"icon_class_true":"","icon_class_false":"","icon_badge_true":"","icon_badge_false":"","bg_class_true":"","bg_class_false":"bg-cyan","badge_bg_class_true":"","badge_bg_class_false":"","brand_bg_class_true":"","brand_bg_class_false":"","icon_false":"/icons-mfd-png/scene_swimming.png","label_append":"Temperatur Pool","label_id":"","filterkey":"funcClimateControl","icon_height":"60","content_append":"","content_prepend":"","transform":false,"select_on_true":false,"hover":false,"icon_width":"60","icon":"","visibility-cond":"==","visibility-val":1,"visibility-oid":"","content_oid":"","icon_top":"12","icon_left":"41","state_oid":"","gestures-offsetX":0,"gestures-offsetY":0,"badge_top":"0","badge_left":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide"},"style":{"left":"630px","top":"85px","font-size":"40px","width":"140px","height":"135px","z-index":"0"},"widgetSet":"metro"}]
Nav-Button:
[{"tpl":"tplMetroTileNav","data":{"visibility-cond":"==","visibility-val":1,"hover":"true","transform":"true","label":"Home","bg_class":"bg-indigo","bg_class_active":"bg-magenta","badge_bg_class":"bg-cyan","badge_bg_class_active":"bg-cyan","icon_badge":"icon-star","brand_bg_class":"bg-lime","brand_bg_class_active":"bg-lime","icon_class":"","nav_view":"Home","select_current":true,"icon_src":"/icons-mfd-png/control_building_s_int_all.png","icon_width":"80","icon_height":"80","icon_top":"25","icon_left":"38","badge_top":"0","badge_left":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","gestures-pinchIn-limit":"-13"},"style":{"left":"1195px","top":"75px","width":"100px","height":"95px"},"widgetSet":"metro"}]
Gruß, Krissi
Mein Homeview. 7" Tab.
Home.JPG
Hallo krissi,
ich finde dein View sehr gelungen und bastel grade an den Metro Widgets. Kannst du hier vielleicht einmal die Codes der 3 oben links einstellen?
Und das eine oben rechts
Metro1.png
Würde mich sehr freuen.
Gruß Sven
-
Hallo,
ich bin neu im Forum und stelle auch mal mein View ein. Ich bin erst 2 Wochen damit beschäftigt.
Mein Hauptprojekt ist es meinen Yamaha zu steuern, was schon gut funktioniert. Was ich noch nicht hinbekommen habe ist das steuern der Playlist vom Netradio und Server.
Realisiere alles mit IoBroker.yamaha Adapter.
Neu:
Playlist vom Netradio und Tuner geht schon.
Sigi
-
Habe jetzt Thermostatsteuerung als Gruppe gemacht.
[{"tpl":"_tplGroup","data":{"members":["w00001","w00093","w00094","w00095","w00114","w00115","w00116","w00117","w00118","w00119","w00120","w00121","w00122","w00123","w00124","w00125","w00126","w00127","w00128"],"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","attrCount":"16","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"groupAttr2":"dev1","groupAttr1":"Schlaffzimmer","attrName1":"Header","attrName2":"Set temperature","attrName3":"Control mode","attrType2":"id","attrType3":"id","attrName4":"Valve state","attrType4":"id","attrName5":"Boost state","attrType5":"id","attrName6":"Actual temperature","attrName7":"Window state","attrName8":"Battery state","attrType6":"id","attrType7":"id","attrType8":"id","attrName9":"Auto mode","attrName10":"Manual mode","attrName11":"Boost mode","attrType9":"id","attrType10":"id","attrType11":"id","attrName13":"Dialog view","attrName14":"Batterie min","attrType14":"","attrName12":"Dialog title","attrType13":"views","groupAttr6":"dev2","groupAttr4":"dev3","groupAttr8":"dev4","groupAttr5":"dev5","groupAttr7":"dev6","attrName15":"Batterie max","groupAttr14":"0","groupAttr15":"100","attrName16":"Header color","attrType16":"color","groupAttr16":"#47aaff"},"widgetSet":null,"style":{"top":"23px","left":"528px","width":"453px","height":"250px"}},{"tpl":"tplContainerIconDialog","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"src":"/vis.0/main/thermo/measure_current.svg","contains_view":"groupAttr13","title":"groupAttr12","dialog_width":"705","dialog_height":"325","name":"Wohnzimmer HK2"},"style":{"left":"87.64%","top":"20.8%","width":"7.95%","height":"14%","z-index":"2"},"widgetSet":"jqui","grouped":true,"groupName":"w00001"},{"tpl":"tplValueLastchange","data":{"oid":"groupAttr2","visibility-cond":"==","visibility-val":1,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"format_date":"DD.MM.YYYY um hh:mm:ss Uhr","html_prepend":"**Letzte Einstellung:** ","visibility-groups-action":"hide","name":"Wohnzimmer HK2"},"style":{"left":"9.71%","top":"95.6%","width":"75.06%","font-style":"normal","font-variant":"normal","font-size":"x-small","height":"4%","color":"rgb(38, 179, 247)","z-index":6,"text-align":"center"},"widgetSet":"basic","grouped":true,"groupName":"w00093"},{"tpl":"tplValueFloat","data":{"oid":"groupAttr5","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" min","html_append_plural":" min","is_tdp":"false","gestures-offsetX":0,"gestures-offsetY":0,"digits":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","html_prepend":"","name":"Wohnzimmer HK2"},"style":{"left":"73.95%","top":"82.4%","width":"10.6%","height":"8%","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"small","z-index":"30","border-width":"1px","border-style":"none","border-color":"white","border-radius":"0px"},"widgetSet":"basic","grouped":true,"groupName":"w00094"},{"tpl":"tplValueFloatBar","data":{"oid":"hm-rpc.0.MEQ0579381.4.BOOST_STATE","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","min":"0","max":"30","orientation":"horizontal","color":"#47aaff","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"Wohnzimmer HK2"},"style":{"left":"73.95%","top":"80%","width":"10.82%","height":"10.8%","z-index":"2"},"widgetSet":"basic","grouped":true,"groupName":"w00095"},{"tpl":"tplJquiRadioList","data":{"oid":"groupAttr3","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","values":"0;1;3","texts":"AUTO;MANU;BOOST","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"Wohnzimmer HK2"},"style":{"left":"14.13%","top":"78.4%","height":"0.8%","width":"0.44%","z-index":"2"},"widgetSet":"jqui","grouped":true,"groupName":"w00114"},{"tpl":"tplJquiButtonState","data":{"oid":"groupAttr11","visibility-cond":"==","visibility-val":1,"buttontext":"Boost","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value":"true","visibility-groups-action":"hide","name":"Wohnzimmer HK2"},"style":{"left":"54.53%","top":"79.6%","font-size":"small","width":"15.01%","text-align":"center","z-index":"3","height":"12.4%"},"widgetSet":"jqui","grouped":true,"groupName":"w00115"},{"tpl":"tplJquiButtonState","data":{"oid":"groupAttr10","visibility-cond":"==","visibility-val":1,"buttontext":"Hand","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value":"20","visibility-groups-action":"hide","name":"Wohnzimmer HK2"},"style":{"left":"34%","top":"79.6%","font-size":"small","width":"14.79%","text-align":"center","z-index":"3","height":"12.4%"},"widgetSet":"jqui","grouped":true,"groupName":"w00116"},{"tpl":"tplJquiButtonState","data":{"oid":"groupAttr9","visibility-cond":"==","visibility-val":1,"buttontext":"Auto","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value":"true","visibility-groups-action":"hide","no_style":false,"name":"Wohnzimmer HK2"},"style":{"left":"15.89%","top":"79.6%","font-size":"small","width":"14.13%","text-align":"center","z-index":"3","height":"12.4%"},"widgetSet":"jqui","grouped":true,"groupName":"w00117"},{"tpl":"tplMfdWindowBool","data":{"oid":"groupAttr7","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","asButton":"true","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"name":"Wohnzimmer HK2"},"style":{"left":"86.53%","top":"78.4%","width":"7.73%","height":"14%","z-index":"2"},"widgetSet":"jqui-mfd","grouped":true,"groupName":"w00118"},{"tpl":"tplValueListHtml8","data":{"oid":"groupAttr3","visibility-cond":"==","visibility-val":1,"count":"3","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"value0":"AUTO","value1":"Hand","style0":"background-color: green; padding-top:3px;","style1":"background-color: red; padding-top:3px;","test_list":"3","visibility-groups-action":"hide","style2":"","value2":"","value3":"Boost","style3":"background-color: blue; padding-top:3px;","name":"Wohnzimmer HK2"},"style":{"left":"30.68%","top":"49.2%","z-index":"2","color":"#ffffff","text-align":"center","width":"16.34%","height":"8%","border-radius":"4px","padding-top":"","line-height":"","font-size":"x-small","background-color":"#FFFFFF"},"widgetSet":"basic","grouped":true,"groupName":"w00119"},{"tpl":"tplMfdCustom10","data":{"oid":"groupAttr8","g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","asButton":"true","icon0":"/vis.0/main/thermo/measure_battery_0.png","icon1":"/vis.0/main/thermo/measure_battery_0.png","icon2":"/vis.0/main/thermo/measure_battery_25.svg","icon3":"/vis.0/main/thermo/measure_battery_25.svg","icon4":"/vis.0/main/thermo/measure_battery_50.svg","icon5":"/vis.0/main/thermo/measure_battery_50.svg","icon6":"/vis.0/main/thermo/measure_battery_50.svg","icon7":"/vis.0/main/thermo/measure_battery_75.svg","icon8":"/vis.0/main/thermo/measure_battery_75.svg","icon9":"/vis.0/main/thermo/measure_battery_100.svg","icon10":"/vis.0/main/thermo/measure_battery_100.svg","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"min":"groupAttr14","max":"groupAttr15","name":"Wohnzimmer HK2"},"style":{"left":"4.19%","top":"78.8%","width":"7.73%","height":"14%","z-index":"2"},"widgetSet":"jqui-mfd","grouped":true,"groupName":"w00120"},{"tpl":"tplImage","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":true,"g_gestures":false,"g_signals":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"0","refreshOnWakeUp":"false","refreshOnViewChange":"false","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"src":"/vis.0/main/thermo/metal_background.jpg","name":"Wohnzimmer HK2"},"style":{"left":"3","top":"35px","width":"99.34%","height":"86%","z-index":"1","border-color":"#484851","border-radius":"0 0 12px 12px","border-style":"solid","border-width":"0px"},"widgetSet":"basic","grouped":true,"groupName":"w00121"},{"tpl":"tplValueFloat","data":{"oid":"groupAttr4","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" %","html_append_plural":" %","is_tdp":"false","gestures-offsetX":0,"gestures-offsetY":0,"digits":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","html_prepend":"Heizt mit: ","name":"Wohnzimmer HK2"},"style":{"left":"36.64%","top":"39.2%","width":"22.08%","height":"8.4%","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"small","z-index":"30","border-width":"1px","border-style":"none","border-color":"white","border-radius":"0px"},"widgetSet":"basic","grouped":true,"groupName":"w00122"},{"tpl":"tplValueFloat","data":{"oid":"groupAttr6","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" ºC","html_append_plural":" ºC","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"is_tdp":false,"visibility-groups-action":"hide","html_prepend":"Ist ","name":"Wohnzimmer HK2"},"style":{"left":"35.1%","top":"21.6%","width":"31.79%","height":"15.6%","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"x-large","z-index":"25","border-width":"1px","border-style":"none","border-color":"white","border-radius":"0px"},"widgetSet":"basic","grouped":true,"groupName":"w00123"},{"tpl":"tplValueFloatBar","data":{"oid":"hm-rpc.0.MEQ0579381.4.VALVE_STATE","visibility-cond":"==","visibility-val":1,"factor":"1","color":"#47aaff","min":"0","max":"99","orientation":"horizontal","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","name":"Wohnzimmer HK2"},"style":{"left":"25.83%","top":"38.8%","width":"47.68%","height":"6.4%","border-color":"white","border-radius":"5px","border-width":"1px","border-style":"solid","z-index":"25"},"widgetSet":"basic","grouped":true,"groupName":"w00124"},{"tpl":"tplValueFloat","data":{"oid":"groupAttr2","visibility-cond":"==","visibility-val":1,"is_comma":"true","factor":"1","html_append_singular":" ºC","html_append_plural":" ºC","digits":"1","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"is_tdp":false,"visibility-groups-action":"hide","html_prepend":"Soll ","name":"Wohnzimmer HK2"},"style":{"left":"48.12%","top":"49.6%","width":"23.4%","height":"10.4%","color":"white","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"medium","z-index":"25"},"widgetSet":"basic","grouped":true,"groupName":"w00125"},{"tpl":"tplIconInc","data":{"oid":"groupAttr2","visibility-cond":"==","visibility-val":1,"repeat_delay":"800","repeat_interval":"800","src":"/vis.0/main/thermo/control_plus.png","step":"+0.5","minmax":"30","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"text":"","visibility-groups-action":"hide","name":"Wohnzimmer HK2"},"style":{"left":"78.37%","top":"42.8%","background":"black","width":"11.04%","height":"20%","z-index":"25"},"widgetSet":"jqui","grouped":true,"groupName":"w00126"},{"tpl":"tplFrame","data":{"visibility-cond":"==","visibility-val":1,"title":"groupAttr1","title_color":"black","title_top":"5","title_left":"15","header_height":"30","header_color":"groupAttr16","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"visibility-groups-action":"hide","name":"Wohnzimmer HK3","class":"custom-header"},"style":{"left":"0%","top":"0%","width":"99.34%","height":"100%","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"large","z-index":"0","background":"black","border-width":"3px","border-style":"solid","border-color":"#484851","border-radius":"12px"},"widgetSet":"basic","grouped":true,"groupName":"w00127"},{"tpl":"tplIconInc","data":{"oid":"groupAttr2","visibility-cond":"==","visibility-val":1,"repeat_delay":"800","repeat_interval":"800","src":"/vis.0/main/thermo/control_minus.png","step":"-0.5","minmax":"4.5","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"text":"","visibility-groups-action":"hide","invert_icon":false,"imageHeight":"98","name":"Wohnzimmer HK2"},"style":{"left":"10.38%","top":"42.8%","background":"black","width":"11.04%","height":"20%","z-index":"25"},"widgetSet":"jqui","grouped":true,"groupName":"w00128"}]
Und damit Header auch abgerundet ist, noch das als CSS:
.custom-header div:first-child { border-radius: 9px 9px 0 0 ; }
-
So, dann hier mal ein paar von meinen Views, die aktuell auf einem FIRE HDX 7'' laufen mangels WAF für Ausgaben für was Aktuelles.
Teilweise wie man sieht noch im Werden und entsprechend hässlich. Teilweise nur Platzhalter.
filename="hauptseite.png" index="4">~~
filename="sicherheit.png" index="3">~~
filename="media.png" index="2">~~
filename="licht.png" index="1">~~
filename="klima.png" index="0">~~ -
Sieht schick aus. Wie hast du das mit der Gruppenbildung von Sonos gemacht?
-
Hallo Kirbsi,
dafür nutze ich ein kleines Skript.
Basis ist bei mir die Annahme, dass das Wohnzimmer immer mit gruppiert wird. Dies liegt bei mir an der Raumaufteilung, es gibt keine "sinnige" Gruppierung, bei der das Wohnzimmer nicht mit aufgenommen wird.
Das Skript ist dieses:
// Bildet Gruppen für Sonos im Vis // Führende BOX ist immer "Wohnzimmer" // Trigger für Gruppenbildung über 4 Zustände zum Adden der vier Boxen createState('Sonos.Gruppen.Esszimmer', false, { read: true, write: true, desc: "Trigger Esszimmer", type: "boolean", role: 'state', }); createState('Sonos.Gruppen.Kueche', false, { name: 'Gruppentrigger', dec: 'Kueche zur Gruppe hinzu', type: 'boolean', role: 'state', }); createState('Sonos.Gruppen.Arbeitszimmer', false, { name: 'Gruppentrigger', dec: 'Esszimmer zur Gruppe hinzu', type: 'boolean', role: 'state', }); createState('Sonos.Gruppen.Badezimmer', false, { name: 'Gruppentrigger', dec: 'Badezimmer zur Gruppe hinzu', type: 'boolean', role: 'state', }); createState('Sonos.Gruppen.String', { name: 'String', dec: 'Darstellung der gruppeirten Räume', type: 'string', }); // IDs festlegen var idEssTrigger = "javascript.0.Sonos.Gruppen.Esszimmer"/*Sonos.Gruppen.Esszimmer*/; var idKuecheTrigger = "javascript.0.Sonos.Gruppen.Kueche"/*Gruppentrigger*/; var idArbeitTrigger = "javascript.0.Sonos.Gruppen.Arbeitszimmer"/*Gruppentrigger*/; var idBadTrigger ="javascript.0.Sonos.Gruppen.Badezimmer"/*Gruppentrigger*/; // Pfad IDs var EssPfad = "sonos.0.root.192_168_2_6.", BadPfad = "sonos.0.root.192_168_2_7.", WohnPfad = "sonos.0.root.192_168_2_9.", ArbeitPfad = "sonos.0.root.192_168_2_8.", KuechePfad = "sonos.0.root.192_168_2_10."; // Variablen für [vorige] Lautstärke var volKuecheOld, volBadOld, volEssOld, volArbeitOld, volWohn = getState(WohnPfad+ "volume"/*volume*/).val; // Variable für Volume Wohnzimmer als Masterlautstärke // **************************************************************************** // GRUPPIERUNGSFUNKTIONEN UND ANGLEICHUNG LAUTSTÄRKE // **************************************************************************** // Esszimmer hinzufügen on(idEssTrigger, function(obj) { volWohn = getState(WohnPfad+ "volume"/*volume*/).val; // Groupvolume wird vom Wohnzimmer bestimmt, neu einlesen falls zwischenzeitlich geändert if (obj.state.val === true) { volEssOld = getState(EssPfad +"volume"/*volume*/).val; // alte Lautstärke speichern setState(EssPfad+ "volume", volWohn); // Lautstärke an Wohnzimmer anpassen setState(WohnPfad+ "add_to_group","192_168_2_6"); // zur Wohnzimmergruppe hinzufügen } else{ setState(WohnPfad+ "remove_from_group","192_168_2_6"); setState(EssPfad+ "volume", volEssOld); // bei Auflösung alte Lautstärke wieder herstellen } }); // Kueche hinzufügen on(idKuecheTrigger, function(obj) { volWohn = getState(WohnPfad+ "volume"/*volume*/).val; // Groupvolume wird vom Wohnzimmer bestimmt, neu einlesen falls zwischenzeitlich geändert if (obj.state.val === true) { volKuecheOld = getState(KuechePfad +"volume"/*volume*/).val; // alte Lautstärke speichern setState(KuechePfad+ "volume", volWohn); // Lautstärke an Wohnzimmer anpassen setState(WohnPfad+ "add_to_group","192_168_2_10"); // zur Wohnzimmergruppe hinzufügen } else{ setState(WohnPfad+ "remove_from_group","192_168_2_10"); setState(KuechePfad+ "volume", volKuecheOld); // bei Auflösung alte Lautstärke wieder herstellen } }); // Arbeitszimmer hinzufügen on(idArbeitTrigger, function(obj) { volWohn = getState(WohnPfad+ "volume"/*volume*/).val; // Groupvolume wird vom Wohnzimmer bestimmt, neu einlesen falls zwischenzeitlich geändert if (obj.state.val === true) { volArbeitOld = getState(ArbeitPfad +"volume"/*volume*/).val; // alte Lautstärke speichern setState(ArbeitPfad+ "volume", volWohn); // Lautstärke an Wohnzimmer anpassen setState(WohnPfad+ "add_to_group","192_168_2_8"); // zur Wohnzimmergruppe hinzufügen } else{ setState(WohnPfad+ "remove_from_group","192_168_2_8"); setState(ArbeitPfad+ "volume", volArbeitOld); // bei Auflösung alte Lautstärke wieder herstellen } }); // Badezimmer hinzufügen on(idBadTrigger, function(obj) { volWohn = getState(WohnPfad+ "volume"/*volume*/).val; // Groupvolume wird vom Wohnzimmer bestimmt, neu einlesen falls zwischenzeitlich geändert if (obj.state.val === true) { volBadOld = getState(BadPfad +"volume"/*volume*/).val; // alte Lautstärke speichern setState(BadPfad+ "volume", volWohn); // Lautstärke an Wohnzimmer anpassen setState(WohnPfad+ "add_to_group","192_168_2_7"); // zur Wohnzimmergruppe hinzufügen } else{ setState(WohnPfad+ "remove_from_group","192_168_2_7"); setState(BadPfad+ "volume", volBadOld); // bei Auflösung alte Lautstärke wieder herstellen } }); // Funktion zum Anpassen der Lautstärke bei gruppierten Räumen var volTrigger = "sonos.0.root.192_168_2_9.volume"/*volume*/; on({id: volTrigger, change: 'ne'}, function fGroupVol(){ volWohn = getState("sonos.0.root.192_168_2_9.volume"/*volume*/).val; var triggerKueche = getState(idKuecheTrigger).val; if(triggerKueche === true){setState(KuechePfad+ "volume", volWohn); } var triggerArbeit = getState(idArbeitTrigger).val; if(triggerArbeit === true){setState(ArbeitPfad+ "volume", volWohn); } var triggerEss = getState(idEssTrigger).val; if(triggerEss === true){setState(EssPfad+ "volume", volWohn); } var triggerBad = getState(idBadTrigger).val; if(triggerBad === true){setState(BadPfad+ "volume", volWohn); } });
Mit Sonos 1.6 ist auch die Funktion "coordinator" möglich. Mein Skript ist aber vorher geschrieben und da es die alten Datenpunkte noch gibt, bleibt es für mich dabei. Never change a running system.
Neu ist auch Group_Volume, das es vorher nicht gab und ich künstlich nachbaue im Skript.