NEWS
Das Ultimative Wecker-Blockly
-
bei mir sieht es ähnlich aus.
und das Blockly dazu:
-
Super cool, kannst du mir sagen welche Funktionen / Buttons hinter der VIS hinterlegt sind?
Ich mache mich dann mal daran das ganze mit der Homematic zu "syncen"
-
hier der Export der widgets:
[{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.hh_Zehner","visibility-cond":"==","visibility-val":1,"step":"-1","minmax":"0","text":"-","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_remove_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"invert_icon":false,"imageHeight":"0"},"style":{"left":"157px","top":"139px","height":"50px","width":"50px","z-index":"4","background":"transparent","font-size":"xx-large","color":"white"},"widgetSet":"jqui"},{"tpl":"tplFrame","data":{"visibility-cond":"==","visibility-val":1,"title":"Wecker 1","title_color":"black","title_top":"2","title_left":"15","header_height":"22","header_color":"#a0c0ca","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","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"146px","top":"7px","width":"275px","height":"213px","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bold","font-size":"large","z-index":"1","background":"black"},"widgetSet":"basic"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.hh_Zehner","visibility-cond":"==","visibility-val":1,"step":"+1","minmax":"2","text":"+","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_add_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"157px","top":"41px","height":"50px","width":"50px","z-index":"5","background":"transparent","color":"white"},"widgetSet":"jqui"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.hh_Einer","visibility-cond":"==","visibility-val":1,"step":"-1","minmax":"0","text":"-","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_remove_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"invert_icon":false,"imageHeight":"0"},"style":{"left":"218px","top":"139px","height":"50px","width":"50px","z-index":"4","background":"transparent","font-size":"xx-large","color":"white"},"widgetSet":"jqui"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.hh_Einer","visibility-cond":"==","visibility-val":1,"step":"+1","minmax":"9","text":"+","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_add_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"218px","top":"41px","height":"50px","width":"50px","z-index":"5","background":"transparent","color":"white"},"widgetSet":"jqui"},{"tpl":"tplValueFloat","data":{"oid":"javascript.0.Wecker.Wecker1.hh_Einer","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"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","is_comma":false,"is_tdp":false,"factor":"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,"html_prepend":"","html_append_singular":"","html_append_plural":"","digits":"0","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"216px","top":"95px","color":"white","width":"52px","height":"52px","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bolder","font-size":"xx-large","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"javascript.0.Wecker.Wecker1.hh_Zehner","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"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","is_comma":false,"is_tdp":false,"factor":"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,"html_prepend":"","html_append_singular":"","html_append_plural":"","digits":"0","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"159px","top":"95px","color":"white","width":"52px","height":"52px","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bolder","font-size":"xx-large","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.mm_Zehner","visibility-cond":"==","visibility-val":1,"step":"-1","minmax":"0","text":"-","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_remove_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"invert_icon":false,"imageHeight":"0"},"style":{"left":"291px","top":"139px","height":"50px","width":"50px","z-index":"4","background":"transparent","font-size":"xx-large","color":"white"},"widgetSet":"jqui"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.mm_Zehner","visibility-cond":"==","visibility-val":1,"step":"+1","minmax":"5","text":"+","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_add_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"291px","top":"41px","height":"50px","width":"50px","z-index":"5","background":"transparent","color":"white"},"widgetSet":"jqui"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.mm_Einer","visibility-cond":"==","visibility-val":1,"step":"-1","minmax":"0","text":"-","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_remove_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"invert_icon":false,"imageHeight":"0"},"style":{"left":"352px","top":"139px","height":"50px","width":"50px","z-index":"4","background":"transparent","font-size":"xx-large","color":"white"},"widgetSet":"jqui"},{"tpl":"tplIconInc","data":{"oid":"javascript.0.Wecker.Wecker1.mm_Einer","visibility-cond":"==","visibility-val":1,"step":"+1","minmax":"9","text":"+","repeat_delay":"800","repeat_interval":"800","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":"/icons-material-png/content/ic_add_circle_outline_white_48dp.png","visibility-groups-action":"hide","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"352px","top":"41px","height":"50px","width":"50px","z-index":"5","background":"transparent","color":"white"},"widgetSet":"jqui"},{"tpl":"tplValueFloat","data":{"oid":"javascript.0.Wecker.Wecker1.mm_Einer","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"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","is_comma":false,"is_tdp":false,"factor":"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,"html_prepend":"","html_append_singular":"","html_append_plural":"","digits":"0","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"350px","top":"95px","color":"white","width":"52px","height":"52px","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bolder","font-size":"xx-large","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"javascript.0.Wecker.Wecker1.mm_Zehner","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"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","is_comma":false,"is_tdp":false,"factor":"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,"html_prepend":"","html_append_singular":"","html_append_plural":"","digits":"0","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"293px","top":"95px","color":"white","width":"52px","height":"52px","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"normal","font-variant":"normal","font-weight":"bolder","font-size":"xx-large","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplValueString","data":{"oid":"nothing_selected","g_fixed":false,"g_visibility":false,"g_css_font_text":true,"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,"test_html":"","html_prepend":":","html_append":"","lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0},"style":{"left":"250px","top":"95px","color":"white","z-index":"5","text-align":"center","font-family":"Arial, Helvetica, sans-serif","font-style":"italic","font-variant":"normal","font-weight":"bolder","font-size":"xx-large","width":"50px","height":"30px"},"widgetSet":"basic"}]
Warum willst du das mit Homematic "syncen"? Bei mir läuft das alles nur auf iobroker.
-
Warum willst du das mit Homematic "syncen"? Bei mir läuft das alles nur auf iobroker. `
Ich benutze gerne die Tinymatic App auf meinem Android, weil sich damit alles so schnell und einfach bedienen lässt.Hab es hinbekommen nun einen Homematic Wecker und io.broker Wecker in Blockly zu erstellen.
Für den io.broker Wecker habe ich dein Script als Vorlage genommen, vielen Dank.
Homematic funktioniert wie folgt:
Die Systemvariablen per Widgets von der Tinymatic App schnell bedienbar auf dem Handy:
Die Weckzeit direkt über das Widget einstellen:
Wenn der Wecker geklingelt hat, nochmal schnell eine individuelle Schlummerzeit einstellen (Klingeln erfolgt automatisch nach setzen der Zeit in Minuten).
Habe hier eine Variable von 1 Minute bis 60 Minuten gemacht, das muss reichen zum Schlummern
In diesem Beispiel 40 Min einfach ber Schieberegler eingestellt
Der Sync der Homematic Weckzeit läuft über ein kleines Blockly:
Der Schlummermodus ist ebenfalls über ein simples Blockly gelöst:
Es läuft hervorragend - 2 individuelle Wecker über io.broker oder Homematic einstellbar / einsehbar.
Ich lasse mich mit einem Pushover Alarm ans Handy wecken, aber es geht natürlich auch Sonos etc.
Hier einmal alle dafür benötigten Homematic Variablen für 2 Wecker:
Das komplette Wecker Script ist in der .txt Datei Wecker-Blockly.txt
Was folgt als nächstes?
Eine Anti - Verschlafen Funktion für meine Freundin: Wenn nach X Minuten nach Weckerklingeln der Haustürkontakt <u>nicht</u> ausgelöst hat, dann läuft über Sonos "Highway to Hell" auf 90% Lautstärke :mrgreen: :twisted:
-
Timestamp - für Zeitverzögerte Aktionen vor oder nach Weckerklingeln.
Wie ihr oben in dem Script gesehen habt lasse ich mir auch einen Timestamp ausrechnen. In Sekunden ab Tagesanfang.
So kann ich zeitverzögert dafür beispielsweise 1 Stunde vorher mein Schlafzimmer Rollo schonmal langsam hochfahren lassen:
Hab es nur mit Timestamp hinekommen, vielleicht geht es auch über andere Zeit / Datum Blocks, habe ich aber nicht gefunden.
Kann natürlich auch auf alles mögliche andere angewandt werden, Kaffemaschine, Licht, Alarmanlage etc.
Viel Spaß damit
-
Wird auf dem Handy selber auch ein Wecker ausgelöst oder geht es nur um die Steuerung der Weckzeit im ioBroker?
Letzteres habe ich bereits realisiert, nur soll mein Handy jetzt auch mit der Weckzeit aus meinem ioBroker klingeln.
-
Ja natürlich klingelt das Handy, dafür ist ja das Pushover Modul verantwortlich.
Mit Pushover kannst du dir Push Nachrichten an dein Handy schicken lassen.
Und ich habe mir eine schöne Weckmelodie als Klingelton für Pushover eingestellt.
Um den Wecker auszuschalten tippst du dann in der Pushover App einfach auf "Acknowledge Notification".
-
Guten Abend!
Ich habe hier eine ähnliche Thematik, allerdings komme ich mit meinem Blockly nicht weiter, an irgendeiner Stelle bin ich zu doof!
Ich würde gerne im Vis einen Wecker stellen und durch ein Blockly einen separaten Datenpunkt auf 30 Minuten vorher setzen.
Ziel ist es 30 Minuten vor meinem Wecker das Licht in Schritten hoch zu fahren.
Bei eingestellten Minutenwerten von 0 bis 29 entstehen als Minutenwerte nur 00 ( wenn ich anstatt + mit - (-30) rechne funktioniert es)
Bei Minutenwerten von 30 bis 39 kommt als Zeitausgabe nur NaN:NaN
Und bei Minutenwerten von 40 bis 59 funktioniert es.
Vielleicht hat ja jemand eine gute Idee?
https://ibb.co/rG0Y0NV ~~````
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="~rMUvTxj{DNzimbd#sd*" x="13" y="-187"><mutation items="1"></mutation>
<field name="CONDITION">any</field><value name="OID0"><shadow type="field_oid" id="F0sv1/mGZ7qj0{}b0_Tw"><field name="oid">javascript.0.scriptEnabled.common.Szenen.Wecker_Schlafzimmer.Weckzeit_1_Eingabe</field></shadow></value> <statement name="STATEMENT"><block type="variables_set" id="G3{yOqZj{Rk{FL_:=7TG"><field name="VAR">Zeittext</field> <value name="VALUE"><block type="get_value" id="v%xo~`5C3K/S*!63uTew"><field name="ATTR">val</field> <field name="OID">javascript.0.scriptEnabled.common.Szenen.Wecker_Schlafzimmer.Weckzeit_1_Eingabe</field></block></value> <next><block type="variables_set" id="iL354U+k(%vL8iQGn#`:"><field name="VAR">Weckzeit_hh</field> <value name="VALUE"><block type="text_getSubstring" id="r^%CJY+y#r+:UF8yimZ8"><mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"><block type="variables_get" id="M*nya^YPJuMobx7dbTjy"><field name="VAR">Zeittext</field></block></value> <value name="AT1"><block type="math_number" id="P2@OsJM08dtM48W:qqaz"><field name="NUM">1</field></block></value> <value name="AT2"><block type="math_number" id="[1hva~r~f)~oTN]qM3G4"><field name="NUM">2</field></block></value></block></value> <next><block type="variables_set" id="V+x*{sqQV}+#h.c%j@R-"><field name="VAR">Weckzeit_mm</field> <value name="VALUE"><block type="text_getSubstring" id="EPbw/U+JH!h8^7[|Sh@o"><mutation at1="true" at2="true"></mutation> <field name="WHERE1">FROM_START</field> <field name="WHERE2">FROM_START</field> <value name="STRING"><block type="variables_get" id="T,}+i+-R,(_3g*KfB/yy"><field name="VAR">Zeittext</field></block></value> <value name="AT1"><block type="math_number" id="MtmTVmaT{M?Mvhk3OTzy"><field name="NUM">4</field></block></value> <value name="AT2"><block type="math_number" id="Wh|vYK-R!`lJ+#ip3vF("><field name="NUM">5</field></block></value></block></value> <next><block type="controls_if" id="N^jAYSK-A}2-7brMs9,z"><value name="IF0"><block type="logic_compare" id="v*_Sf@2wT7N:MlDMd!qU"><field name="OP">GTE</field> <value name="A"><block type="variables_get" id="hC_twV3`B/pKj,1F9?{1"><field name="VAR">Weckzeit_mm</field></block></value> <value name="B"><block type="math_number" id="e%k`W2afKY@]q{1B?9-^"><field name="NUM">30</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id=".CS^qdPV7KCW=[K%Jy/s"><field name="VAR">Startzeit_hh</field> <value name="VALUE"><block type="variables_get" id="*qF5~xu|lT##l26Q+/UP"><field name="VAR">Weckzeit_hh</field></block></value> <next><block type="variables_set" id="uzX(c9+^+Gb;K`Ulgge;"><field name="VAR">Startzeit_mm</field> <value name="VALUE"><block type="math_arithmetic" id="xz|TPjI5U*71Zksd!:4["><field name="OP">MINUS</field> <value name="A"><shadow type="math_number" id="8qgf#_|;e);iNT?kt_aD"><field name="NUM">1</field></shadow> <block type="variables_get" id="b|wI6H{=N~hgv)w9AC+m"><field name="VAR">Weckzeit_mm</field></block></value> <value name="B"><shadow type="math_number" id="=wE8e.bAfGc:JOrICgj}"><field name="NUM">30</field></shadow></value></block></value></block></next></block></statement> <next><block type="controls_if" id="sOhWtG|7H`k(GxAC5mig"><value name="IF0"><block type="logic_compare" id="Drd!/ohcIxh-P~5]`O-."><field name="OP">LT</field> <value name="A"><block type="variables_get" id="~-u|lbrj3!R(QLl@;5R|"><field name="VAR">Weckzeit_mm</field></block></value> <value name="B"><block type="math_number" id="hDc3NYiY{`5^SjZ[XGyP"><field name="NUM">30</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id="6?F(Wn8CHI]Ef53y42i!"><field name="VAR">Startzeit_hh</field> <value name="VALUE"><block type="math_arithmetic" id="raeHP*6Ums#m7d;)lI1f"><field name="OP">MINUS</field> <value name="A"><shadow type="math_number" id="8qgf#_|;e);iNT?kt_aD"><field name="NUM">1</field></shadow> <block type="variables_get" id="dd{*O`fxV8y|)4AzrPHA"><field name="VAR">Weckzeit_hh</field></block></value> <value name="B"><shadow type="math_number" id="gONZ=CfYq@yi:ZS3A}Jq"><field name="NUM">1</field></shadow></value></block></value> <next><block type="variables_set" id="fvY^M/~:6C)1x==Hxec;"><field name="VAR">Startzeit_mm</field> <value name="VALUE"><block type="math_arithmetic" id="1vcGv0aEY;%8BSR#gV5R"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="8qgf#_|;e);iNT?kt_aD"><field name="NUM">1</field></shadow> <block type="variables_get" id="gG-SK{Qmt`4.egFG3Eu{"><field name="VAR">Weckzeit_mm</field></block></value> <value name="B"><shadow type="math_number" id="Tf5/6/.-:V1!SCzD@]E2"><field name="NUM">30</field></shadow></value></block></value></block></next></block></statement> <next><block type="control" id="6CiehcE}JYA,JUD`hS8-"><mutation delay_input="false"></mutation> <field name="OID">javascript.0.scriptEnabled.common.Szenen.Wecker_Schlafzimmer.Weckzeit_1_Start</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_from_date" id="W,(il.;_LhQeaP(2CXI-"><mutation format="false" language="false"></mutation> <field name="OPTION">hh:mm</field> <value name="VALUE"><block type="text_join" id="G@[B.ZQZ/F0!t{cSBplQ"><mutation items="3"></mutation> <value name="ADD0"><block type="variables_get" id=".6.|uTYZjR41z7Td;lE:"><field name="VAR">Startzeit_hh</field></block></value> <value name="ADD1"><block type="text" id="F!nG4EbSo)fW9o`Obc]F"><field name="TEXT">:</field></block></value> <value name="ADD2"><block type="variables_get" id="fwhVha5UVw0@n3GF}nHs"><field name="VAR">Startzeit_mm</field></block></value></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>
-
Ja, das habe ich bei mir umgesetzt, nur mit einem Rolladen statt Licht:
Hier der Code:
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="P[%PBk3mHs9Gp{SAP]`{" x="-368" y="-726"><field name="COMMENT">Wecker 1</field> <next><block type="on_ext" id="+eqsx,~6h{IV`~pA%A~A"><mutation items="3"></mutation> <field name="CONDITION">ne</field> <value name="OID0"><shadow type="field_oid" id="h0%JbZYJe@khrGIAu]`."><field name="oid">hm-rega.0.11157</field></shadow></value> <value name="OID1"><shadow type="field_oid" id="-m`}a`Bm_`k,vD5}d~%`"><field name="oid">hm-rega.0.11158</field></shadow></value> <value name="OID2"><shadow type="field_oid" id="ZGM8]{6BYU_S{w~Y9/6e"><field name="oid">hm-rega.0.11264</field></shadow></value> <statement name="STATEMENT"><block type="controls_if" id="j.FJqkprVLy84~+BJgsj"><mutation else="1"></mutation> <value name="IF0"><block type="logic_operation" id="QUO!~HPvjNlI|)~bQs*Y" inline="false"><field name="OP">OR</field> <value name="A"><block type="logic_compare" id="YzYp(6J^E.xuXb%IypkS"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="7u9XZx]bexHq{E3#s^QB"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11157</field></block></value> <value name="B"><block type="logic_boolean" id="|+,WINgfLmr)dv/AgjDH"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="I/j4^%bul#E#}Vt~,duj"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="V|OxbFo-u^+#.1=lPy:u"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11264</field></block></value> <value name="B"><block type="logic_boolean" id="L{kik97y=s?s[8i)1/c{"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="variables_set" id="#]Lj!xdwA.a#F!?l_1zR"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="4Ff,7dEeX-;DzIv/~yR7"><field name="TEXT">bereit</field></block></value> <next><block type="timeouts_setinterval" id="w]@Q-euO!IgUGjG7wrea"><field name="NAME">Intervall</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="controls_if" id="iV1+VCR9Em1=*41X=}5-"><value name="IF0"><block type="logic_operation" id="o^NF5U1W(oZ-Y@(WVQ|o" inline="false"><field name="OP">OR</field> <value name="A"><block type="logic_compare" id="-R)[T+b;Q|z5!;bq.2:b"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="#2TEEwJ^r?_%C%NqycB7"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11157</field></block></value> <value name="B"><block type="logic_boolean" id="tqe31*wHOF)ZQ{9[-1?z"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="Qop7.:vm~r?hR+lnCgt%"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="u=LT((#]H}B?89qth#B]"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11264</field></block></value> <value name="B"><block type="logic_boolean" id="7+Xz%=e5X%m{Q^8E|uFi"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="controls_if" id=")ntf.iFx-rNd+:y9`GGq"><value name="IF0"><block type="logic_operation" id="Z8~A/R6-1!~3_3#lHhsZ" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id=".]N_?(%`1CG[rTkOeM|?" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="/D@lUro_Bexe%zUuyNMp"><field name="OP">GTE</field> <value name="A"><block type="math_arithmetic" id="U/mD^U@vf,tu.k?eiBlB"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="e,@=::E^8Yc#+ROBxj_;"><field name="NUM">1</field></shadow> <block type="time_get" id="Cq*flW]wl,dejHHQ3X00"><mutation format="false" language="false"></mutation> <field name="OPTION">sid</field></block></value> <value name="B"><shadow type="math_number" id="y4ECs:WiE!}QnBvz!Wul"><field name="NUM">3600</field></shadow></value></block></value> <value name="B"><block type="get_value" id="0(#(}96C0k7C0?qswho)"><field name="ATTR">val</field> <field name="OID">javascript.0.Wecker.Timestamp</field></block></value></block></value> <value name="B"><block type="logic_compare" id="bYB1lY(0cQHZJAhm]~1P"><field name="OP">LTE</field> <value name="A"><block type="math_arithmetic" id="~K((!q_mz[0DPZ0AOUlR"><field name="OP">MINUS</field> <value name="A"><shadow type="math_number" id="e,@=::E^8Yc#+ROBxj_;"><field name="NUM">1</field></shadow> <block type="time_get" id="G)]Rk4=(KKXkb(hKB2,|"><mutation format="false" language="false"></mutation> <field name="OPTION">sid</field></block></value> <value name="B"><shadow type="math_number" id="[}qS%^V!vTlmjjB=cC@f"><field name="NUM">3600</field></shadow></value></block></value> <value name="B"><block type="get_value" id="?jA+s:@[[7E}3)ydi0qH"><field name="ATTR">val</field> <field name="OID">javascript.0.Wecker.Timestamp</field></block></value></block></value></block></value> <value name="B"><block type="logic_compare" id="56ubv]3j=gV]k/aZ,Ku:"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="I!3~7BifFVR}0rGRwt|-"><field name="VAR">Wecklauf</field></block></value> <value name="B"><block type="text" id="q|gItJ0IDmjv/--9pN[/"><field name="TEXT">bereit</field></block></value></block></value></block></value> <statement name="DO0"><block type="variables_set" id="THTK#Y#%{gRKJQYva|i-"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="4eN@W,D(Sf|n,o`h4iY+"><field name="TEXT">Wecker1</field></block></value> <next><block type="timeouts_clearinterval" id="Z0MZ%m9??O`0f*%Ao2N/"><field name="NAME">Intervall</field> <next><block type="controls_if" id="n[5!sD6)7G2JT*UiNGk^"><value name="IF0"><block type="logic_compare" id="(Q|x9h+%pt,k!%%WyoJW"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="ra=d!;2--e_yb`,u=(C!"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><block type="math_number" id="P9-w~AdJ~:CFqh+-b5u!"><field name="NUM">25</field></block></value></block></value> <statement name="DO0"><block type="control" id="zMjr,%RSBVuC=9}UJ;?J"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_arithmetic" id="UZyrU`8ggO;.S2U:RC#Z"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="A#4_#cD*Yd^|-lsuv@#S"><field name="NUM">1</field></shadow> <block type="get_value" id="m3+:w5l7dfv5m7}V!FeD"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><shadow type="math_number" id="fJ1Sb1yKv`=rLn3)%Xt-"><field name="NUM">25</field></shadow></value></block></value> <next><block type="debug" id="cdh^NsAr?nMqs1(F5YlF"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="su*Z75F~%`q:MU*ykESC"><field name="TEXT">Rollo läuft</field></shadow></value></block></next></block></statement> <next><block type="timeouts_settimeout" id="j=2Efbv7oc|Aa#:/INli"><field name="NAME">timeout</field> <field name="DELAY">20</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="controls_if" id="dtLPg}+RPU_/L7pk]QeZ"><value name="IF0"><block type="logic_compare" id="SSvmg-5vRdO10*xg|PCj"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="vr]~3b{;@]|tJE[IhvCY"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><block type="math_number" id="idJ(|W25C5-0;=pX?JWF"><field name="NUM">45</field></block></value></block></value> <statement name="DO0"><block type="control" id="[b_uBKd/mdqvyuyeViae"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_arithmetic" id="Hk.:r43,G/DY[S)0M(Ub"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="A#4_#cD*Yd^|-lsuv@#S"><field name="NUM">1</field></shadow> <block type="get_value" id="3ny;eF0F:S=mZlm|[bdn"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><shadow type="math_number" id="4-eot^ssv2)@K=V,AQ}5"><field name="NUM">20</field></shadow></value></block></value> <next><block type="debug" id="2TP.hpm#6(wTopLy[2~%"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="mOhs6V::iz5+KjW_RE4#"><field name="TEXT">Rollo läuft Stufe 2</field></shadow></value></block></next></block></statement> <next><block type="timeouts_settimeout" id="4]dB_RpqfW]ro2Iw0Nd6"><field name="NAME">timeout2</field> <field name="DELAY">20</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="controls_if" id="6!*sZRnP89m(){RebvS]"><value name="IF0"><block type="logic_compare" id=";-nsy!a;Or+g~ue33LK6"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="Hv=4|_pOZ;a2m1|p~LpS"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><block type="math_number" id="_:b~oa`!~kLS{!{f7}{w"><field name="NUM">65</field></block></value></block></value> <statement name="DO0"><block type="control" id="w[YshdZ(hpM-E+Pf%5Zj"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_arithmetic" id="Zi*|,_6,89*+s)X#o.Rz"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="A#4_#cD*Yd^|-lsuv@#S"><field name="NUM">1</field></shadow> <block type="get_value" id=")(.t%P(-agnJmq^MiRc4"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><shadow type="math_number" id="Rgkl}rT|W=31n!*s(#J/"><field name="NUM">20</field></shadow></value></block></value> <next><block type="debug" id="L*N3=L6F9D=OszM_tAh%"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="Q63_5W7,V23d6`2sVQR|"><field name="TEXT">Rollo läuft Stufe 3</field></shadow></value></block></next></block></statement> <next><block type="variables_set" id="1YFN:(Fx@o?WCOt!LDd_"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="iTxoz2z)x]FJXJJ|E;VE"><field name="TEXT">bereit</field></block></value> <next><block type="control" id="Y)8l-wzIzHaq``*C*?2f"><mutation delay_input="false"></mutation> <field name="OID">hm-rega.0.11264</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="F/glKTC`.1SxVIx)Am=E"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></statement></block></next></block></statement></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></next></block></statement> <statement name="ELSE"><block type="timeouts_clearinterval" id="G!q8Nw/o]oyb5bM(KP}q"><field name="NAME">Intervall</field> <next><block type="controls_if" id="13,KKP)Vp+6ZN03F0te~"><value name="IF0"><block type="logic_compare" id="}[vb~E`nZ`BN_cpfOD23"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="@,Yq)#mf`2`@/)o:S?Wp"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11159</field></block></value> <value name="B"><block type="logic_boolean" id=":.!vcqZ.i?uYD~Bxxcg="><field name="BOOL">FALSE</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id="cc13FqobwQ/UTi:z+n^G"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="/6?+b}ce+7:#5KLkB,P|"><field name="TEXT">bereit</field></block></value></block></statement></block></next></block></statement></block></statement> <next><block type="comment" id="atI@[-Af8{4s}v*Ha@RQ"><field name="COMMENT">Wecker 2</field> <next><block type="on_ext" id="j0O;B,t6@K7p?m+li|VC"><mutation items="2"></mutation> <field name="CONDITION">ne</field> <value name="OID0"><shadow type="field_oid" id="UB1LY0X,oPYzMbint|nd"><field name="oid">hm-rega.0.11159</field></shadow></value> <value name="OID1"><shadow type="field_oid" id="ns~9JJH4h-SQM9krXC@U"><field name="oid">hm-rega.0.11156</field></shadow></value> <statement name="STATEMENT"><block type="controls_if" id="f`pmOD=GcIs;XPqb?*!C"><mutation else="1"></mutation> <value name="IF0"><block type="logic_compare" id="g*lF+5kRD+E-kP)gy90+"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="l%7GXLzw`#^P[:7l?u|w"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11159</field></block></value> <value name="B"><block type="logic_boolean" id="E{UI`*w|^BM}S#.F~YlR"><field name="BOOL">TRUE</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id="Ln/Oi?R:,/SD-cPwnP7~"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="R1|;(uk@Ev)A=T|Jgi+e"><field name="TEXT">bereit</field></block></value> <next><block type="timeouts_setinterval" id="VQdLa!]BJb{:%co-l8:1"><field name="NAME">Intervall2</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="debug" id="cgJZa%uijNxPBVxG[5X:" disabled="true"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="9#wnDEppH1WEcOj4+Na^"><field name="TEXT">test</field></shadow> <block type="time_get" id="[Q!5i;1#2!/NVF/i}fRS"><mutation format="false" language="false"></mutation> <field name="OPTION">sid</field></block></value> <next><block type="controls_if" id="jj2Rmqk.6x]ucEElu_fH"><value name="IF0"><block type="logic_compare" id="7fHul%SypVp=xs^k-Ptn"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="DC(}a5-ejB+;hIb*iWQo"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11159</field></block></value> <value name="B"><block type="logic_boolean" id="?0RXNq:q/*hWQ/|a*Ez7"><field name="BOOL">TRUE</field></block></value></block></value> <statement name="DO0"><block type="controls_if" id="B*OIkn8pt%FYo=Z`X2w6"><value name="IF0"><block type="logic_operation" id="@rc8VL!epzRgkC|A7/Oc" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id="3Vo~2SZ|V)#O81GP~K}D" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="ML@VFEIF6ia~Ds?JA2{P"><field name="OP">GTE</field> <value name="A"><block type="math_arithmetic" id=":lbKv7QJ|2E!L0]n)P`M"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="e,@=::E^8Yc#+ROBxj_;"><field name="NUM">1</field></shadow> <block type="time_get" id="mQfU/%1:e*rV,T{N~p/x"><mutation format="false" language="false"></mutation> <field name="OPTION">sid</field></block></value> <value name="B"><shadow type="math_number" id="C)C2|eUzz*k~G*X}3s`l"><field name="NUM">3600</field></shadow></value></block></value> <value name="B"><block type="get_value" id="xS!K,a2Aen)k3LI=YO:."><field name="ATTR">val</field> <field name="OID">javascript.0.Wecker.Timestamp2</field></block></value></block></value> <value name="B"><block type="logic_compare" id="JIr7h|;c@L:D{W?X7dn}"><field name="OP">LTE</field> <value name="A"><block type="math_arithmetic" id="u]?v%8rIA*2DMgQctkCL"><field name="OP">MINUS</field> <value name="A"><shadow type="math_number" id="e,@=::E^8Yc#+ROBxj_;"><field name="NUM">1</field></shadow> <block type="time_get" id="yB4qTOkLx5`^*719e^nE"><mutation format="false" language="false"></mutation> <field name="OPTION">sid</field></block></value> <value name="B"><shadow type="math_number" id="X8+2sN{eY1YJKbH^%|L0"><field name="NUM">3600</field></shadow></value></block></value> <value name="B"><block type="get_value" id="|+JZ2/rWg]`Kc`i3p]~F"><field name="ATTR">val</field> <field name="OID">javascript.0.Wecker.Timestamp2</field></block></value></block></value></block></value> <value name="B"><block type="logic_compare" id="SExZxd!A%F)I}O%F!~^|"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="(P*Ne0=:l~Oc(sdc?89z"><field name="VAR">Wecklauf</field></block></value> <value name="B"><block type="text" id=";I`WI9b?4H4C+DoR}EKj"><field name="TEXT">bereit</field></block></value></block></value></block></value> <statement name="DO0"><block type="variables_set" id="w+pRaudTGM{K97@!Ac)h"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="LL[YH[DDaJUdVgmW(BHK"><field name="TEXT">Wecker2</field></block></value> <next><block type="timeouts_clearinterval" id=".x]`1HMw([,;WJ,z6A+o"><field name="NAME">Intervall2</field> <next><block type="controls_if" id="/GwEMl0g0s=F*@43{^YN"><value name="IF0"><block type="logic_compare" id="[%7xYkNZt.d3}*4I~lOC"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="z5oBEmGT3GbLTEeZ7Fs3"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299851.1.LEVEL</field></block></value> <value name="B"><block type="math_number" id="%ilt9To}yEODEkJ2uB(b"><field name="NUM">25</field></block></value></block></value> <statement name="DO0"><block type="control" id="z6G0tnN4KY1JIX[~e@!M"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_arithmetic" id="nZ,a%}IWSvbM8!?h3k**"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="A#4_#cD*Yd^|-lsuv@#S"><field name="NUM">1</field></shadow> <block type="get_value" id="?5=fsS98=#m@zi2/5ZPp"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><shadow type="math_number" id="9]|IV:wnYDjW,+YcGdYx"><field name="NUM">25</field></shadow></value></block></value> <next><block type="debug" id="DA|YQKh4SjD_4k0;Rp4/"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="|04x+~?6KqrHE~PGMPW."><field name="TEXT">Rollo läuft</field></shadow></value></block></next></block></statement> <next><block type="timeouts_settimeout" id="ENTA0.E?NL|ku4tw:80J"><field name="NAME">timeout3</field> <field name="DELAY">20</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="controls_if" id="63,5Ed?-,rYYs:?bG%yP"><value name="IF0"><block type="logic_compare" id="%TDBf{=}i8ODNN%j_B]@"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="4sz#.R4D2Qk(iu78W99X"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><block type="math_number" id=")-xYN[}^Rd3%JKbH^b5@"><field name="NUM">45</field></block></value></block></value> <statement name="DO0"><block type="control" id="KDU~`~E(|KI@Zj[yP7dg"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_arithmetic" id="cK6]rwY-=UBBG)PVzr1T"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="A#4_#cD*Yd^|-lsuv@#S"><field name="NUM">1</field></shadow> <block type="get_value" id="_i!]~_r0o%Hp2YXd`;f*"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><shadow type="math_number" id="=V+jpwmERmYn|PHzIGFH"><field name="NUM">20</field></shadow></value></block></value> <next><block type="debug" id="{_A2sG/Gc*axH0)S:aj2"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="/nkLnyDe.Pp]IXZob0)I"><field name="TEXT">Rollo läuft Stufe 2</field></shadow></value></block></next></block></statement> <next><block type="timeouts_settimeout" id="ynm*Xx(gR*}EwM,HEKEe"><field name="NAME">timeout4</field> <field name="DELAY">20</field> <field name="UNIT">min</field> <statement name="STATEMENT"><block type="controls_if" id="LfTvss)QO!#XA#0p`zLs"><value name="IF0"><block type="logic_compare" id="/fM8DD!T3Q]AHD+p]87s"><field name="OP">LTE</field> <value name="A"><block type="get_value" id="Zf^!Uz/e8xTvG=F|;Iey"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><block type="math_number" id="[SnT[Elj{tuDqQ:o0M_v"><field name="NUM">65</field></block></value></block></value> <statement name="DO0"><block type="control" id="ob!1X*7U;E6(kR#Nztbt"><mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1000</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"><block type="math_arithmetic" id="85J!G8nw~X2:5|X]vNW`"><field name="OP">ADD</field> <value name="A"><shadow type="math_number" id="A#4_#cD*Yd^|-lsuv@#S"><field name="NUM">1</field></shadow> <block type="get_value" id="|BM.6J,(g*ITq8[^f%4o"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.JEQ0299862.1.LEVEL</field></block></value> <value name="B"><shadow type="math_number" id="vplJ!gi1Hf+m-0m19mEH"><field name="NUM">20</field></shadow></value></block></value> <next><block type="debug" id=")YCNuWm9:D-=E9425_n5"><field name="Severity">log</field> <value name="TEXT"><shadow type="text" id="rcH2q9FMTC]//#[(9a)0"><field name="TEXT">Rollo läuft Stufe 3</field></shadow></value></block></next></block></statement> <next><block type="variables_set" id="B%U(7~6*zs~COcy},r1w"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="vEk(=.ET|9aA!,SgxL.X"><field name="TEXT">bereit</field></block></value></block></next></block></statement></block></next></block></statement></block></next></block></next></block></next></block></statement></block></statement></block></next></block></statement></block></next></block></statement> <statement name="ELSE"><block type="timeouts_clearinterval" id="CNtrGYJHjU^.cIFE4x?O"><field name="NAME">Intervall2</field> <next><block type="controls_if" id="~5m%(83+958OiiUda@r`"><value name="IF0"><block type="logic_compare" id="90)1x_j:jNaw3Bp%b?y%"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="P`bGMtCh/lr;5oE/^y{3"><field name="ATTR">val</field> <field name="OID">hm-rega.0.11157</field></block></value> <value name="B"><block type="logic_boolean" id="d9rRy1NR286ldhf1)aE`"><field name="BOOL">FALSE</field></block></value></block></value> <statement name="DO0"><block type="variables_set" id="rK[v!i,4Q:q.FK89D*RA"><field name="VAR">Wecklauf</field> <value name="VALUE"><block type="text" id="j:c+I{|Am2c}s(CtP_bO"><field name="TEXT">bereit</field></block></value></block></statement></block></next></block></statement></block></statement></block></next></block></next></block></next></block></xml>
Ob das Wecker stellen dabei über VIS oder über die Homematic läuft ist dabei ja relativ irrelevant.
Wie du siehst mache ich das bei mir über einen Timestamp. Die Scripte dazu findest du weiter oben im Thread.
-
Update 12.06.2019:
- Variable hinzugefügt, die das "Weckerklingeln" signalisiert. z.B. um verschiedene Aktionen beim Aufstehen zu triggern.
- Prüfung ob noch Licht im Gebäude an ist, falls ja --> Pushover Nachricht
- Kleinere Fehlerkorrekturen
Export:
Wecker-Blockly 1.1.txt -
@smile sagte in Das Ultmiative Wecker-Blockly (Mit Alarmanlage integriert) + VIS:
Update 12.06.2019:
- Variable hinzugefügt, die das "Weckerklingeln" signalisiert. z.B. um verschiedene Aktionen beim Aufstehen zu triggern.
- Prüfung ob noch Licht im Gebäude an ist, falls ja --> Pushover Nachricht
- Kleinere Fehlerkorrekturen
Export:
Wecker-Blockly 1.1.txtHallo, Danke mal dafür.............
So jetzt habe ich es mir mal importiert. Hinweis: Import fehlerhaft da der Pushover Adapter nicht installiert war.
Egal, hab es nachinstalliert, dann funktionierte der Import.Ich hab noch nicht alles gelesen, aber vorab ist es sehr mächtig.
Gibt es eine Step by Step Anleitung? So wie ich es sehe muss man auf jeden Fall 5 Sys-Variable in der CCU anlegen.
Dann auf die eigenen DP anpassen.Werde statt Pushover Alexa verwenden, mal sehen.
-
Ich versuche es mal:
Wecker Blockly per iobroker / homematic steuerbar:
Das fertige Script ist so aufgebaut, dass man den Wecker sowohl per Homematic bedienen kann (sehr bequem über die App "Tinymatic und entsprechende Widgets), als auch über iobroker direkt (z.B. über VIS).
Wer das ganze über Homematic steuern möchte, der lese ab hier, wer das ganze nur über iobroker steuern möchte, der gehe direkt zu Schritt 2.Grundlegendes:
Im Script wird viel von z.B.. "Wecker" und "Wecker2" gesprochen, das liegt daran dass das Script für 2 Personen mit individuellen Weckzeiten ausgelegt ist, und sich daraus auch Abhängigkeiten ergeben.1. Homematic Systemvariablen anlegen
Wir legen die Systemvariablen wie folgt für 2 Wecker an
2. iobroker Systemvariablen anlegen
Wir legen die Systemvariablen wie folgt für 2 Wecker in iobroker an
3. Pushover Adapter installieren
Das Weckersignal wird über den Pushover ans Handy versendet. Natürlich kann hier jeder seine eigene Meldung definieren, wenn der Adapter jedoch nicht installiert ist, dann wirft der Import des Scripts einen fehler aus.4. Wecker Script importieren
Aktueller Stand vom 13.06.2019
Wecker-Blockly 1.1.txt5. Script testen
Wenn man nun in der iobroker die Variablein für einer, zehner und so weiter testet, sollte sich der timestamp verändern. Im folgenden Beispiel wurden die Variablen einer, zehner etc. mit den Zahlen für die Uhrzeiten 01:12 und 10:15 eingegeben. Das Wecker Script funktioniert, wenn sich dann die Timestamp mit 5100 und 36900 aktualisieren:
Als Homematic - User sollte man nun auf der Homematic die Systemvariablen ändern, oder idealerweise in der App Tinymatic:
Danach überprüfen, ob die "weckzeit_io" bzw. "weckzeit_io2" auf derselben Uhrzeit steht wie die in der Homematic eingegebene Uhrzeit.
Und dann natürlich einfach mal einen Testlauf machen. Es empfiehlt sich 2 - 3 Minuten Vorlauf zu geben.Zusatzfunktionen:
- Die Variable "weckerklingeln" ist lediglich dafür da, um eine globale Variable dafür zu haben dass nun vermutlich eine Person aufsteht. Damit kann man die Kaffeemaschine triggern, den Lüfter steuern, die Alarmanlage deaktivieren etc.
- Der Timestamp bietet die Möglichkeit andere Funktionen zeitverzögert vor dem Weckerklingeln auszuführen. Ich lasse z.B. 1 Stunde vor Weckerklingeln das Rolle schrittweise alle 20 Minuten ein Stück hochfahren. Macht das Aufstehen deutlich erholsamer. Hier das Script dazu:
Schlafzimmer Rollo Wecker.txt
Wichtiger Hinweis: Das Script ist auf die Benutzung mit 2 Weckern ausgelegt, damit z.B. nicht das Rollo doppelt so schnell hochfährt, nur weil 2 Leute zur selben oder ähnlichen Zeit aufstehen. Es kann aber auch genauso gut mit nur einem Wecker ohne Anpassungen betrieben werden. - Schlummermodus: Hiermit kann man einfach bis 60 Minuten "quick & dirty" hinten dranhängen. Also einfach gewünschte Minutenzahl einstellen, und dann klingelt der Wecker nochmal.