Test Adapter TrashSchedule
-
@sigi234 Wie meinst Du? Dort stehen doch keine Müllpläne drin
-
@haus-automatisierung sagte in Test Adapter TrashSchedule v0.0.x:
@sigi234 Wie meinst Du? Dort stehen doch keine Müllpläne drin
Na ja, hast Recht. Aber ich nehme deinen Adapter auch für andere Zecke.
-
@JB_Sullivan sagte in Test Adapter TrashSchedule v0.0.x:
@darkiop sagte in Test Adapter TrashSchedule v0.0.x:
Falls es hier jemand braucht, habe auf die schnelle mal ein Blockly für eine json-Tabelle mit den DPs erstellt:
<block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="zH:a+Y|{4CrduNF1VUTG" x="-387" y="13"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"00:05"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control_ex" id="$7jAIT_mnpzNLP]~NJy{"> <field name="TYPE">false</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="sbu^)eqpdG=koC2q;ZDd"> <field name="oid">Object ID</field> </shadow> <block type="text" id="2Jn.QUiZj?ycCTjRK_W("> <field name="TEXT">javascript.0.VIS.Kalender_Tabelle_Muell</field> </block> </value> <value name="VALUE"> <shadow type="logic_boolean" id="C3xZGWbRz.8%NyHztTAC"> <field name="BOOL">TRUE</field> </shadow> <block type="convert_object2json" id="pu+4RS*`r:#QRXX(d|1I"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="lists_create_with" id="ZdEEwT){@[oWz7}6T|:6"> <mutation items="4"></mutation> <value name="ADD0"> <block type="lists_create_with" id="$UUL3})|H~26WlgPAR}}"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="69`+m2b?ah727]cb4b5m"> <field name="TEXT">Bio</field> </block> </value> <value name="ADD1"> <block type="text_join" id="ErQ7M!ikghZ`#n9pZRgZ"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="Mu|`W9bXFB;_0SX!nvgu"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="P#+:y_a5je5/#)4SO^L~"> <field name="TEXT">trashschedule.0.type.Bio.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id=".5ka+V$wB[[i4LiF3Dch"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="w)`88fd-tS~uSu$)4=N%"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="puB=e5tWv:s95)2|m63d"> <field name="TEXT">trashschedule.0.type.Bio.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="lists_create_with" id="z-XsI{)vm#5U/X{jxJhJ"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="w`QASfUph?E*g6}`1K?B"> <field name="TEXT">Papier</field> </block> </value> <value name="ADD1"> <block type="text_join" id="QI#7R02;o6yhi)k*GUWH"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="d%;U*%+S^(/j-C(|f3_6"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="g}Fhsd_#kL-;`ckEn|E$"> <field name="TEXT">trashschedule.0.type.Papier.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id="]qySTY/w/@JC$^$1T;{G"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="0){KH+1P@u-*9.*ptmtw"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="I/GJo^!Mp+AJ3=])tG{u"> <field name="TEXT">trashschedule.0.type.Papier.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="lists_create_with" id="`.xF_srwKF%7{ISkZ9SS"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="x%CaEm(Er0k@RdJmwY6|"> <field name="TEXT">Glas</field> </block> </value> <value name="ADD1"> <block type="text_join" id="p}a2rlQ,oC%-6POTT1.n"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="WMBSm@,}P(h-*tsb2dmG"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="+2IANn@_+1Bu_a97kr/P"> <field name="TEXT">trashschedule.0.type.Glas.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id="27btsxWYG5;!kT^ypS(w"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="TXLvr-L9O$^^#IgE7r8/"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="5RS-i8]2v|k98c(IL4jg"> <field name="TEXT">trashschedule.0.type.Glas.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <value name="ADD3"> <block type="lists_create_with" id="T;;$gR}hB|ZO{5bqJK6C"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="JW[g,${io?zI03+bo_dO"> <field name="TEXT">GelberSack</field> </block> </value> <value name="ADD1"> <block type="text_join" id="QrX3i+Vd?s2f](@F!Ie,"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="^Oe/%|U|fQkkLsicq87|"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="+{@)/]CLs+Rj{SCJaBI{"> <field name="TEXT">trashschedule.0.type.GelberSack.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id="kN@MK8x6Td!$z~Z0lQ|g"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="F}3W/b(.](8I.VC=5jzy"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="SKqQ1Wjl;z7^4z_o{Nyz"> <field name="TEXT">trashschedule.0.type.GelberSack.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="T#OSxS{}/L9EbZB6%*;i"> <field name="NUM">0</field> </shadow> </value> </block> </statement> </block>
Gibt es bei Euch keine Restmüll Leerung?
Schaut cool aus, kannst du das hier posten welches Widget und wie hast Du das Icon oben hinbekommen?
Danke Dir.Gruß Saboti
-
@Saboti bin erst Donnerstag wieder Zuhause. Ich versuche es nicht zu vergessen
Das ist nichts spezielles, Tabellen widget von den material design widgets.
-
Hier ist es ja ziemlich ruhig geworden.
Kann ich verstehen, bei mir läuft es auch unauffällig.
Habe noch an den Widgets und dem Skript zum "Alarmstatus" gefeilt.Bei den Widgets habe ich bei der Anzahl Tage das String-Widget gegen ein number-Widget getauscht. Da kann man Singular und Pluralformen anhängen:
"in 1 Tagen" hat mein Feng Shui gestört
-
@darkiop
Sry für off-topic
Hast Du diese Tabelle selber aufgebaut oder ist das ein Widget? -
@Termina sagte in Test Adapter TrashSchedule v0.0.x:
oder ist das ein Widget?
Das sind mehrere Widgets:
[{"tpl":"tplImage","data":{"g_fixed":true,"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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"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,"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,"src":"/vis.0/braune_tonne.png","stretch":true,"name":"Icon Altpapier","filterkey":"Icon","title":"Altpapier & Gelber Sack","class":"{val:trashschedule.0.type.Papier.daysleft; val<=1? \"mdui-red-flash\": val>=2? \"\": \"yellowgreen\"}"},"style":{"left":"1651px","top":"247px","width":"50px","height":"66px","z-index":"5","color":"white"},"widgetSet":"basic"},{"tpl":"tplValueStringRaw","data":{"oid":"trashschedule.0.type.Biotonne.nextdateformat","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,"g_last_change":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,"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,"html_prepend":"am ","title":"Altpapier & Gelber Sack"},"style":{"left":"1725px","top":"271px","width":"160px","height":"18px","z-index":"5","font-size":"","font-family":"RobotoCondensed-Regular","color":"{wert:trashschedule.0.type.Biotonne.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","text-align":"right","font-weight":"bold"},"widgetSet":"basic"},{"tpl":"tplImage","data":{"g_fixed":true,"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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"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,"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,"src":"/vis.0/schwarze_tonne.png","stretch":true,"name":"Icon Altpapier","filterkey":"Icon","title":"Altpapier & Gelber Sack","class":"{val:trashschedule.0.type.Papier.daysleft; val<=1? \"mdui-red-flash\": val>=2? \"\": \"yellowgreen\"}"},"style":{"left":"1651px","top":"176px","width":"50px","height":"68px","z-index":"5","color":"white"},"widgetSet":"basic"},{"tpl":"tplValueStringRaw","data":{"oid":"trashschedule.0.type.Restmüll.nextdateformat","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,"g_last_change":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,"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,"html_prepend":"am ","title":"Altpapier & Gelber Sack"},"style":{"left":"1725px","top":"201px","width":"160px","height":"18px","z-index":"5","font-size":"","font-family":"RobotoCondensed-Regular","color":"{wert:trashschedule.0.type.Restmüll.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","text-align":"right","font-weight":"bold"},"widgetSet":"basic"},{"tpl":"tplImage","data":{"g_fixed":true,"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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"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,"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,"src":"/vis.0/gelbe_tonne.png","stretch":true,"name":"Icon Altpapier","filterkey":"Icon","title":"Altpapier & Gelber Sack","class":"{val:trashschedule.0.type.Papier.daysleft; val<=1? \"mdui-red-flash\": val>=2? \"\": \"yellowgreen\"}"},"style":{"left":"1651px","top":"105px","width":"50px","height":"68px","z-index":"5","color":"white"},"widgetSet":"basic"},{"tpl":"tplValueStringRaw","data":{"oid":"trashschedule.0.type.Gelbe Tonne.nextdateformat","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,"g_last_change":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,"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,"html_prepend":"am ","title":"Altpapier & Gelber Sack"},"style":{"left":"1725px","top":"131px","width":"160px","height":"18px","z-index":"5","font-size":"","font-family":"RobotoCondensed-Regular","color":"{wert:trashschedule.0.type.Gebe Tonne.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","text-align":"right","font-weight":"bold"},"widgetSet":"basic"},{"tpl":"tplFrame","data":{"visibility-cond":"==","visibility-val":1,"title":"","title_color":"#d7cec1","title_top":"-30","title_left":"10","header_height":"0","header_color":"","gestures-offsetX":0,"gestures-offsetY":0,"signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"","signals-icon-size-0":"20","signals-blink-0":false,"signals-horz-0":"","signals-vert-0":"80","signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"","signals-icon-size-1":"30","signals-blink-1":false,"signals-horz-1":"90","signals-vert-1":"76","signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"","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,"signals-oid-0":"","signals-oid-1":"","name":"Border Altpapier","filterkey":"Border"},"style":{"left":"1643px","top":"6px","width":"247px","height":"310px","font-family":"RobotoCondensed-Light","font-style":"normal","font-variant":"normal","font-weight":"","font-size":"large","z-index":"2","background":"rgba(100, 100, 100, 30)","border-width":"1px","box-shadow":"2px 2px 3px rgba(20, 20, 20, 50)","color":"white","border-radius":"10px"},"widgetSet":"basic"},{"tpl":"tplImage","data":{"g_fixed":true,"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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"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,"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,"src":"/vis.0/blaue_tonne.png","stretch":true,"name":"Icon Altpapier","filterkey":"Icon","title":"Altpapier & Gelber Sack","class":"{val:trashschedule.0.type.Papier.daysleft; val<=1? \"mdui-red-flash\": val>=2? \"\": \"yellowgreen\"}"},"style":{"left":"1651px","top":"33px","width":"50px","height":"68px","z-index":"5","color":"white"},"widgetSet":"basic"},{"tpl":"tplHtml","data":{"g_fixed":true,"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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"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,"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,"html":"Nächste Leerung","name":"Text1","filterkey":"text","title":"Altpapier & Gelber Sack"},"style":{"left":"1717px","top":"9px","width":"150px","height":"22px","z-index":"5","font-size":"large","font-family":"RobotoCondensed-Regular","color":"white","text-align":"center","font-weight":"bold"},"widgetSet":"basic"},{"tpl":"tplValueStringRaw","data":{"oid":"trashschedule.0.type.Altpapier.nextdateformat","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,"g_last_change":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,"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,"html_prepend":"am ","title":"Altpapier & Gelber Sack"},"style":{"left":"1725px","top":"60px","width":"160px","height":"18px","z-index":"5","font-size":"","font-family":"RobotoCondensed-Regular","color":"{wert:trashschedule.0.type.Altpapier.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","text-align":"right","font-weight":"bold"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"trashschedule.0.type.Altpapier.daysleft","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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","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,"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,"html_append_singular":" Tag","html_append_plural":" Tagen","html_prepend":"in "},"style":{"left":"1711px","top":"60px","width":"85px","height":"18px","color":"{wert:trashschedule.0.type.Altpapier.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","font-weight":"bold","font-family":"RobotoCondensed-Regular","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"trashschedule.0.type.Biotonne.daysleft","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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","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,"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,"html_append_singular":" Tag","html_append_plural":" Tagen","html_prepend":"in "},"style":{"left":"1711px","top":"270px","width":"85px","height":"18px","color":"{wert:trashschedule.0.type.Biotonnn.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","font-weight":"bold","font-family":"RobotoCondensed-Regular","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"trashschedule.0.type.Restmüll.daysleft","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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","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,"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,"html_append_singular":" Tag","html_append_plural":" Tagen","html_prepend":"in "},"style":{"left":"1711px","top":"200px","width":"85px","height":"18px","color":"{wert:trashschedule.0.type.Restmüll.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","font-weight":"bold","font-family":"RobotoCondensed-Regular","z-index":"5"},"widgetSet":"basic"},{"tpl":"tplValueFloat","data":{"oid":"trashschedule.0.type.Gelbe Tonne.daysleft","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,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","is_comma":"true","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,"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,"html_append_singular":" Tag","html_append_plural":" Tagen","html_prepend":"in "},"style":{"left":"1711px","top":"130px","width":"85px","height":"18px","color":"{wert:trashschedule.0.type.Gelbe Tonne.daysleft; wert<2 ? \"#ff0000\" :: wert == 2 ? \"#f3f60e\" :: \"#ffffff\"}","font-weight":"bold","font-family":"RobotoCondensed-Regular","z-index":"5"},"widgetSet":"basic"}]
-
@darkiop sagte in Test Adapter TrashSchedule v0.0.x:
Falls es hier jemand braucht, habe auf die schnelle mal ein Blockly für eine json-Tabelle mit den DPs erstellt:
<block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="zH:a+Y|{4CrduNF1VUTG" x="-387" y="13"> <field name="SCHEDULE">{"time":{"exactTime":true,"start":"00:05"},"period":{"days":1}}</field> <statement name="STATEMENT"> <block type="control_ex" id="$7jAIT_mnpzNLP]~NJy{"> <field name="TYPE">false</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="OID"> <shadow type="field_oid" id="sbu^)eqpdG=koC2q;ZDd"> <field name="oid">Object ID</field> </shadow> <block type="text" id="2Jn.QUiZj?ycCTjRK_W("> <field name="TEXT">javascript.0.VIS.Kalender_Tabelle_Muell</field> </block> </value> <value name="VALUE"> <shadow type="logic_boolean" id="C3xZGWbRz.8%NyHztTAC"> <field name="BOOL">TRUE</field> </shadow> <block type="convert_object2json" id="pu+4RS*`r:#QRXX(d|1I"> <field name="PRETTIFY">FALSE</field> <value name="VALUE"> <block type="lists_create_with" id="ZdEEwT){@[oWz7}6T|:6"> <mutation items="4"></mutation> <value name="ADD0"> <block type="lists_create_with" id="$UUL3})|H~26WlgPAR}}"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="69`+m2b?ah727]cb4b5m"> <field name="TEXT">Bio</field> </block> </value> <value name="ADD1"> <block type="text_join" id="ErQ7M!ikghZ`#n9pZRgZ"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="Mu|`W9bXFB;_0SX!nvgu"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="P#+:y_a5je5/#)4SO^L~"> <field name="TEXT">trashschedule.0.type.Bio.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id=".5ka+V$wB[[i4LiF3Dch"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="w)`88fd-tS~uSu$)4=N%"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="puB=e5tWv:s95)2|m63d"> <field name="TEXT">trashschedule.0.type.Bio.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <value name="ADD1"> <block type="lists_create_with" id="z-XsI{)vm#5U/X{jxJhJ"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="w`QASfUph?E*g6}`1K?B"> <field name="TEXT">Papier</field> </block> </value> <value name="ADD1"> <block type="text_join" id="QI#7R02;o6yhi)k*GUWH"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="d%;U*%+S^(/j-C(|f3_6"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="g}Fhsd_#kL-;`ckEn|E$"> <field name="TEXT">trashschedule.0.type.Papier.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id="]qySTY/w/@JC$^$1T;{G"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="0){KH+1P@u-*9.*ptmtw"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="I/GJo^!Mp+AJ3=])tG{u"> <field name="TEXT">trashschedule.0.type.Papier.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="lists_create_with" id="`.xF_srwKF%7{ISkZ9SS"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="x%CaEm(Er0k@RdJmwY6|"> <field name="TEXT">Glas</field> </block> </value> <value name="ADD1"> <block type="text_join" id="p}a2rlQ,oC%-6POTT1.n"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="WMBSm@,}P(h-*tsb2dmG"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="+2IANn@_+1Bu_a97kr/P"> <field name="TEXT">trashschedule.0.type.Glas.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id="27btsxWYG5;!kT^ypS(w"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="TXLvr-L9O$^^#IgE7r8/"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="5RS-i8]2v|k98c(IL4jg"> <field name="TEXT">trashschedule.0.type.Glas.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> <value name="ADD3"> <block type="lists_create_with" id="T;;$gR}hB|ZO{5bqJK6C"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="JW[g,${io?zI03+bo_dO"> <field name="TEXT">GelberSack</field> </block> </value> <value name="ADD1"> <block type="text_join" id="QrX3i+Vd?s2f](@F!Ie,"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="^Oe/%|U|fQkkLsicq87|"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="+{@)/]CLs+Rj{SCJaBI{"> <field name="TEXT">trashschedule.0.type.GelberSack.daysleft</field> </shadow> </value> </block> </value> </block> </value> <value name="ADD2"> <block type="text_join" id="kN@MK8x6Td!$z~Z0lQ|g"> <mutation items="1"></mutation> <value name="ADD0"> <block type="get_value_var" id="F}3W/b(.](8I.VC=5jzy"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="SKqQ1Wjl;z7^4z_o{Nyz"> <field name="TEXT">trashschedule.0.type.GelberSack.nextdateformat</field> </shadow> </value> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <value name="DELAY_MS"> <shadow type="math_number" id="T#OSxS{}/L9EbZB6%*;i"> <field name="NUM">0</field> </shadow> </value> </block> </statement> </block>
Sry, ich meinte diese Tabelle
-
@Homoran sagte in Test Adapter TrashSchedule v0.0.x:
"in 1 Tagen" hat mein Feng Shui gestört
IMHO noch besseres Feng Shui: HTML-Widget + Binding = mach aus in 1 Tag am 05.12.3019 einfach Morgen
-
@SBorg sagte in Test Adapter TrashSchedule v0.0.x:
HTML-Widget + Binding = mach aus in 1 Tag am 05.12.3019 einfach Morgen
und wie???
Auch wenn alle denken ich sei Profi - bin nur ein (etwas aktiver) User
-
@Homoran sagte in Test Adapter TrashSchedule v0.0.x:
bin nur ein (etwas aktiver) User
{tage:trashschedule.0.type.Biotonne.daysleft;datum:trashschedule.0.type.Biotonne.nextdateformat; tage != 1 ? "in "+tage+" Tagen am "+datum :: "<div style='color: yellow'>Morgen</div>"}
Musst natürlich noch den Datenpunkt anpassen. Auch mal zur Demo "Morgen" in gelb gefärbt.
...und vertippt bei meinem Post. Im Jahr 3019 brauch ich bestimmt keinerlei Feng Shui mehr -
@SBorg sagte in Test Adapter TrashSchedule v0.0.x:
und vertippt bei meinem Post. Im Jahr 3019
Hatte ich stillschweigend akzeptiert
und Danke für das Binding
-
@SBorg danke für das binding
hast du nicht mal lust, einen thread mit deinen binding beispielen zu machen - so in der art - oder gibt es das schon
https://forum.iobroker.net/topic/24179/vorlage-hilfreiche-javascript-funktionen
ps: iobroker läuft ewig - noch die ur-ur-ur-... enkel werden es nutzen - also immer auf das feng shui achten !
-
@liv-in-sky sagte in Test Adapter TrashSchedule v0.0.x:
einen thread mit deinen binding beispielen
@SBorg
oder ein Tutorial für die Website.Büddä!
-
Die liebe Zeit...
Ich stecke gerade in so vielen (eigenen) Projekten fest, dazu noch kpl. Renovierung Badezimmer (natürlich smart).
Dann kam ich auf die Idee nur noch eine Tonne (als Übersicht zur nächsten Leerung) zu nehmen und die per Binding zu färben...
Klar, könnte man auch alle übereinander legen und per "Sichtbarkeit" regeln, wo bleibt aber dann der Spaß/die Herausforderung? -
@SBorg sagte in Test Adapter TrashSchedule v0.0.x:
Klar, könnte man auch alle übereinander legen und per "Sichtbarkeit" regeln, wo bleibt aber dann der Spaß/die Herausforderung?
Frust!!!
Natürlich habe ich sie übereinandergelegt.
Dafür bastel ich gerade an einem Icon als Button um es wieder verschwinden zu lassen wenn man draufklickt, nachdem die Tonne an die Straße gestellt wurde.
-
view (du brauchst aber uhlas material design)
{ "settings": { "style": { "background_class": "" }, "theme": "redmond", "sizex": "", "sizey": "", "gridSize": "10", "useAsDefault": false, "snapType": 2, "class": "", "useBackground": false }, "widgets": { "e00001": { "tpl": "tplHtml", "data": { "g_fixed": true, "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", "refreshInterval": "0", "signals-cond-0": "==", "signals-val-0": true, "signals-icon-0": "/vis.0/material-temp/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.0/material-temp/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.0/material-temp/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": "", "class": "mdui-abar mdui-bluegrey-bg", "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, "comment": "", "name": "app-bar" }, "style": { "left": "0px", "top": "0px", "width": "100%", "height": "50px", "z-index": "0", "color": "#ffffff", "text-align": "center", "font-family": "RobotoCondensed-Light" }, "widgetSet": "basic" }, "e00002": { "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": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "refreshInterval": "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, "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, "src": "/icons-mfd-png/message_garbage_3.png" }, "style": { "left": "0", "top": "0", "width": "50px", "height": "50px", "font-family": "RobotoCondensed-Light" }, "widgetSet": "basic" }, "e00003": { "tpl": "tplHtml", "data": { "g_fixed": true, "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", "refreshInterval": "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, "html": "Müllkalender", "class": "mdui-title", "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": "calc(0% + 50px)", "top": "14px", "width": "160px", "height": "23px", "z-index": 1, "font-family": "RobotoCondensed-Light" }, "widgetSet": "basic" }, "e00004": { "tpl": "tplJquiButtonLinkBlank", "data": { "g_fixed": true, "g_visibility": true, "g_css_font_text": false, "g_css_background": false, "g_css_shadow_padding": false, "g_css_border": false, "g_gestures": false, "g_signals": false, "g_last_change": false, "visibility-cond": "==", "visibility-val": "true", "visibility-groups-action": "hide", "buttontext": "EDIT", "padding": "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, "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, "href": "http://iobroker-master.birkenweg.walk-steinweiler.de:8082/vis/edit.html?material-temp#{view}", "no_style": false, "class": "mdui-flatbutton", "visibility-oid": "javascript.0.VIS.Edit_Mode" }, "style": { "left": "calc(100% - 80px)", "top": "10px", "width": "auto", "height": "30px" }, "widgetSet": "jqui" }, "e00005": { "tpl": "tplVis-materialdesign-Table", "data": { "oid": "javascript.0.VIS.Kalender_Tabelle_Muell", "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, "g_last_change": false, "visibility-cond": "==", "visibility-val": 1, "visibility-groups-action": "hide", "countCols": "2", "tableLayout": "standard", "showHeader": "true", "headerTextSize": "16px", "showColumn0": "true", "colType0": "text", "textAlign0": "right", "showColumn1": "true", "colType1": "text", "textAlign1": "center", "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, "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, "showColumn2": "true", "colType2": "text", "textAlign2": "center", "showColumn3": "true", "colType3": "text", "textAlign3": "center", "showColumn4": "true", "colType4": "text", "textAlign4": "center", "showColumn5": "true", "colType5": "text", "textAlign5": "center", "label0": " ", "label1": "Nächste Leerung<br><em style=\"font-size: 14px\">(in Tagen)</em>", "label2": "Nächste Leerung", "colorBackground": "transparent", "fontFamily0": "RobotoCondensed-Light", "fontFamily1": "RobotoCondensed-Light", "fontFamily2": "RobotoCondensed-Light", "colTextColor2": "#ffffff", "colTextColor1": "#ffffff", "colTextColor0": "#ffffff", "colorHeaderRowText": "#ffffff", "headerFontFamily": "RobotoCondensed-Bold", "colTextSize0": "16px", "colTextSize1": "16px", "colTextSize2": "16px", "colNoWrap0": false, "dividers": "transparent", "columnWidth0": "100" }, "style": { "left": "10px", "top": "60px", "width": "calc(100% - 20px)", "height": "calc(100% - 90px)" }, "widgetSet": "materialdesign" } }, "name": "3_card_Kalender_Muell_new", "filterList": [] }
-
Guten Abend,
ich möchte mich auch für den Adapter bedanken!! Habe damit jetzt auch mein altes Script deaktiviert und gleichzeitig eure Widgets mit eingebaut!!
Vielen Dank!
Gruß
ktsalti -
hier stand Stuss -> kann gelöscht werden
-
Vielen Dank für den Adapter, ich habe diesen nun auch in Betrieb genommen, aber leider scheint bei mir noch nicht allles zu passen. Ich habe keine aktuellen Werte für Gelbe Tonne, obwohl diese als nächstes Event erkannt wird. Die nächste Leerung wäre diesen Freitag, aber wie gesagt unter den Typen-Objekten wird nichts angezeigt.
Zusätzlich fehlen mir noch die Werte für den Restmüll, hier habe ich absolut nichts an Daten. Wie weit schaut der Adapter denn in die Zukunft? Ich könnte mir vorstellen, das hier einfach der nächste Wert zu weit in der Zukunft ist, denn die nächste Leerung wäre am 14.1.2020
Edit: Ok hat sich erledigt, nun sind alle Daten da, warum auch immer das so ewig gedauert hat. Ein Teil der Daten war sofort da, der andere hat 10-15 Minuten gedauert.