NEWS
Einfach mal zeigen will….. :-) - Teil 1
-
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.
-
Danke für die schnelle Antwort. Muss ich zu Hause Mal probieren.[SMILING FACE WITH SMILING EYES]
-
Moin,
so. Nach komplettem Redesign, siehts auf meinem Handy nun so aus:
MfG
dna909
-
Hallo,
sehr schöne Ansichten fürs Smartphone.
Eine Frage zur Navigation: Ich sehe links und rechts Pfeiltasten. Scrollst du damit durch die Navigationsleiste oder bewirken die Pfeile gleich einen Seitenwechsel?
Gruß
Pix
-
@pix:Hallo,
sehr schöne Ansichten fürs Smartphone.
Eine Frage zur Navigation: Ich sehe links und rechts Pfeiltasten. Scrollst du damit durch die Navigationsleiste oder bewirken die Pfeile gleich einen Seitenwechsel?
Gruß
Pix ` Hallo Pix,
Die Pfeile zählen einfach eine Variable hoch und runter. Und die Icons sind dann über den entsprechenden Zustand sichtbar/unsichtbar.
Hoffe das ist einigermassen verständlich [emoji4]
Gruß
dna909
-
:idea: Interessante Lösung!
-
Hallo,
nach längerem frickeln und dank der großartigen Community hier (DANKE!) bin ich nun mit Version 1 meiner persönlichen Views fertig und möchte diese hier auch bereitstellen. Als Inspiration und Basis hat mir eHome von Bluefox gedient. Dafür auch vielen Dank an dieser Stelle!
Die Views laufen bei mir auf einem Galaxy Tab A 10.1 (2016) welches voraussichtlich im September einen Wandeinbau spendiert bekommt. Für V2 habe ich bereits einige Ideen im Kopf, die ich zusätzlich bzw als Erweiterung der vorhandenen Views einbinden möchte.
Ich hoffe damit auch etwas an die Community zurückgeben zu können und vielleicht andere dabei zu unterstützen ihre eigenen Views zu verwirklichen. Für Fragen und Feedback/Anregungen stehe ich gerne zur Verfügung.
Viele Grüße
Boris
-
Schick. Wie hast du denn die schöne Wettervorhersage realisiert? Würdest da mal einen Export liefern?
-
Schick. Wie hast du denn die schöne Wettervorhersage realisiert? Würdest da mal einen Export liefern?
Danke und gerne… Ich verwende den "DasWetter" Adapter für die Anzeige des Tages, des Icons, Temperatur und Vorhersagetext. Die Regenwahrscheinlichkeit kommt vom "Weather Underground" Adapter.
Über ein Javascript generiere ich eine URL für die Wetter-Icons, die bei mir lokal abgelegt sind. Bei Interesse kann ich dir die Icons und das Script gerne zukommen lassen.
Hier der Export des Views:
-
Danke. Icons und Skript gerne auch….
-
Danke. Icons und Skript gerne auch….
Hier das Script…
createState('daswetter.WeatherNow', ''); createState('daswetter.WeatherSymbol0', ''); createState('daswetter.WeatherSymbol1', ''); createState('daswetter.WeatherSymbol2', ''); createState('daswetter.WeatherSymbol3', ''); createState('daswetter.WeatherSymbol4', ''); on("daswetter.0.hourly.0d.0h.SymbolID", function(obj) { var symbol = parseInt(obj.newState.val, 10); var temp = '[http://192.168.XXX.XX:8082/vis.0/bluefo … daswetter/](http://192.168.XXX.XX:8082/vis.0/bluefox_ehome/wetter/daswetter/)' + symbol + '.svg'; log (temp); setState('daswetter.WeatherNow', temp ); }); on("daswetter.0.NextDaysDetailed.0d.SymbolID", function(obj) { var symbol = parseInt(obj.newState.val, 10); var temp = '[http://192.168.XXX.XX:8082/vis.0/bluefo ... daswetter/](http://192.168.XXX.XX:8082/vis.0/bluefox_ehome/wetter/daswetter/)' + symbol + '.svg'; log (temp); setState('daswetter.WeatherSymbol0', temp ); }); on("daswetter.0.NextDaysDetailed.1d.SymbolID", function(obj) { var symbol = parseInt(obj.newState.val, 10); var temp = '[http://192.168.XXX.XX:8082/vis.0/bluefo ... daswetter/](http://192.168.XXX.XX:8082/vis.0/bluefox_ehome/wetter/daswetter/)' + symbol + '.svg'; log (temp); setState('daswetter.WeatherSymbol1', temp ); }); on("daswetter.0.NextDaysDetailed.2d.SymbolID", function(obj) { var symbol = parseInt(obj.newState.val, 10); var temp = '[http://192.168.XXX.XX:8082/vis.0/bluefo ... daswetter/](http://192.168.XXX.XX:8082/vis.0/bluefox_ehome/wetter/daswetter/)' + symbol + '.svg'; log (temp); setState('daswetter.WeatherSymbol2', temp ); }); on("daswetter.0.NextDaysDetailed.3d.SymbolID", function(obj) { var symbol = parseInt(obj.newState.val, 10); var temp = '[http://192.168.XXX.XX:8082/vis.0/bluefo ... daswetter/](http://192.168.XXX.XX:8082/vis.0/bluefox_ehome/wetter/daswetter/)' + symbol + '.svg'; log (temp); setState('daswetter.WeatherSymbol3', temp ); }); on("daswetter.0.NextDaysDetailed.4d.SymbolID", function(obj) { var symbol = parseInt(obj.newState.val, 10); var temp = '[http://192.168.XXX.XX:8082/vis.0/bluefo ... daswetter/](http://192.168.XXX.XX:8082/vis.0/bluefox_ehome/wetter/daswetter/)' + symbol + '.svg'; log (temp); setState('daswetter.WeatherSymbol4', temp ); });
Und hier noch die Icons…
2436_daswetter.zip -
Hi ACE76,
vielen Dank für deine Views.
Wie prüfst du den Online Status deiner Geräte wie zb Fritzbox oder NAS?
Mfg
-
Hi ACE76,
vielen Dank für deine Views.
Wie prüfst du den Online Status deiner Geräte wie zb Fritzbox oder NAS?
Mfg `
ich schätze wie ich durch Ping
-
-
Hallo zusammen,
ich benutze den Ping-Adapter.
Grüße Ingo