Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. ts020339

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    T
    • Profile
    • Following 1
    • Followers 0
    • Topics 8
    • Posts 90
    • Best 5
    • Groups 1

    ts020339

    @ts020339

    7
    Reputation
    31
    Profile views
    90
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    ts020339 Follow
    Starter

    Best posts made by ts020339

    • RE: Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

      @s-bormann said in Test Adapter iqontrol v0.2.x:

      @Roberto-Gresia sagte in Test Adapter iqontrol v0.2.x:

      @ ts020339 e @s-bormann @simatec
      You could use a value given by an application like OpenWheaterMap, which gives a value that changes. Or accept that the Icons can be inserted via URL.

      Schermata 2020-04-20 alle 00.14.48.png

      It is possible to define external urls already - you can use the drop-down menu, but you can also use any url you like.

      In the next version it will be possible to add variables into these urls, that will be replaced by an ioBroker state.

      Syntax will be:
      path/to/preloadedimage.png|anotherpath/to/{iobrokerstate|fallback}.png

      iobrokerstate is sth. like javascript.0.myweather-icon-url and will be replaced by the value of this state. If the state is not present fallback will be used.

      Hey @s-bormann :
      Toll dass Du den Vorschlag mit dem variablen Pfad/Bild so schnell umsetzt! Sehr cool, vielen Dank! Echt krass, wie Du die ganzen "Wünsche" hier immer so schnell integrierst!

      posted in Tester
      T
      ts020339
    • RE: Zigbee Adapter und Conbee Unterstützung

      Hallo,
      ich habe jetzt mal getestet, wie gut der Adapter mit dem Deconz Raspbee 2 bereits funktioniert (nachdem ich in den changelogs gelesen hatte: "ConBee/RaspBee (experimental support)").

      Bei mir läuft der Raspbee auf einem Raspberry 3b und wird in einen Docker Container in dem iobroker läuft weitergereicht.
      Für alle, die auch das testen wollen: Bei mir hat das erst funktioniert, nachdem ich auf dem Raspberry (Host seite, NICHT im Docker Container) noch folgenden Sachen gemacht habe habe (inklusive verschieben des Bluetooth)


      Configuring Raspbian for RaspBee

      Raspbian defaults Bluetooth to /dev/ttyAMA0 and configures a login shell over serial (tty). You must disable the tty login shell and enable the serial port hardware, and swap Bluetooth to /dev/S0, to allow RaspBee to work properly under Docker.

      To disable the login shell over serial and enable the serial port hardware:

      sudo raspi-config
      Select Interfacing Options
      Select Serial
      “Would you like a login shell to be accessible over serial?” Select No
      “Would you like the serial port hardware to be enabled?” Select Yes
      Exit raspi-config and reboot
      

      To swap Bluetooth to /dev/S0 (moving RaspBee to /dev/ttyAMA0), run the following command and then reboot:

      echo 'dtoverlay=pi3-miniuart-bt' | sudo tee -a /boot/config.txt

      After running the above command and rebooting, RaspBee should be available at /dev/ttyAMA0.


      (siehe auch https://hub.docker.com/r/marthoc/deconz, den container von marthoc nutze ich allerdings nicht).

      /dev/ttyAMA0 habe ich dann in den iobroker container weitergereicht und im Adapter eingestellt:
      876fa329-6ba2-4dbf-8d7a-a077c4edb1ee-grafik.png

      Alles in Allem funktioniert das bereits erstaunlich gut! Ich habe 3 Aqara Sensoren am Laufen und 2 Osram Smart Plugs:
      aaa7f719-74fb-4ddf-94c5-3b9e2546c262-grafik.png

      Bei den Osram Smart Plugs gibt es allerdings noch Probleme:

      • die Nutzung dieser als Repeater funktioniert nicht (zu erkennen auch an den echt schlechten Verbindungen)
      • Firmware Check funktionert nicht (vermutlich bisher nicht implementiert, hätte ich auch absolut nicht erwartet)
      • außerdem habe ich hin und wieder noch die Fehlermeldung " plug01 configuration failed" (oder so ähnlich) vom zigbee adapter im log. Gerade ist das allerdings leer und ich finde keinen Eintrag zum posten.
        Aber Schalten der Osram Plugs funktioniert ohne Probleme!

      Außerdem wird die Netzwerkkarte nicht erstellt:
      11ff4362-06a8-47aa-b4cb-44c95e849dc2-grafik.png

      Alles in Allem also bereits sehr vielversprechend aus meiner Sicht!

      Tausend Dank an @arteck!

      posted in Tester
      T
      ts020339
    • RE: Test Adapter Calendar v1.2.x

      @D3ltoroxp said in Test Adapter Calendar v1.2.x:

      @J-A-R-V-I-S said in Test Adapter Calendar v1.2.x:

      @D3ltoroxp du könntest das mit einem Skript lösen. Aktuell bietet der Adapter eine solche Funktion nicht. Ebenso gibt es auch keine Unterstützung für Trash schedule Adapter.

      Könntest du mir helfen, wie so ein Script aussehen sollte ? Das Script sucht dann nach bestimmten Wörtern, wie z.b. Gelber Sack, Papiertonne ? Das muss ich in den einzelne DP's prüfen ? Tag 1 , 2 , 3 usw. Und wenn z.b. Gelber Sack an Tag 3 steht, könnte ich dann einen Text erstellen lassen und dann immer auf den Tag prüfen und mit schreiben lassen, Quasi dann in 3 in 2 morgen...

      Hi,
      ich habe das mit einem (programmiertechnisch sehr unschön aufgebauten 😉 ) Blockly-Skript quick-and-dirty gelöst. Es geht mit Sicherheit eleganter, aber bei mir funktioniert es:
      0288e96f-2096-4f80-ae87-c97b4a60ac11-grafik.png

      Hier der Export des Skripts, musst du über die Import-Funktion im Blockly-Modus wieder importieren und danach die ganzen Datenpunkte korrekt anpassen:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</variable>
          <variable id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</variable>
          <variable id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</variable>
        </variables>
        <block type="on_ext" id="::h9y24TVAGz[FtSo{t|" x="-62" y="-237">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="ZAY6,?b^Z{9@*d-3,q*r">
              <field name="oid">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.0.events</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="variables_set" id="pVZcd9/m(?B$)5-l`[cp">
              <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
              <value name="VALUE">
                <block type="get_value" id="03L5k6HOb|Q3^Z},~X,U">
                  <field name="ATTR">val</field>
                  <field name="OID">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.1.events</field>
                </block>
              </value>
              <next>
                <block type="variables_set" id="Cvgsdi;55kxt~E.mxF$l">
                  <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                  <value name="VALUE">
                    <block type="get_value" id="Q_5/H9/[J0^QcJO;U[!H">
                      <field name="ATTR">val</field>
                      <field name="OID">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.2.events</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="vHH20oCr0EG(^;]DjqQ`">
                      <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                      <value name="VALUE">
                        <block type="get_value" id="aH.W#8Y%~U~4WoE/{kNJ">
                          <field name="ATTR">val</field>
                          <field name="OID">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.3.events</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="d`Kr`NNgN+K+-NR{J|d:">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">javascript.0.blaue_tonne</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="Y7Md(1^h17WOe%w_`@TV">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="reT~O^XpYo+Fs[tu8iw:">
                              <value name="IF0">
                                <block type="math_number_property" id="X2Me,vme^BLkr-/p5~G=">
                                  <mutation divisor_input="false"></mutation>
                                  <field name="PROPERTY">POSITIVE</field>
                                  <value name="NUMBER_TO_CHECK">
                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                      <field name="NUM">0</field>
                                    </shadow>
                                    <block type="text_indexOf" id="speN0grHA38fp44;#b}-">
                                      <field name="END">FIRST</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="L?XX]{~2LHozN,M[Ne}E">
                                          <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                                        </block>
                                      </value>
                                      <value name="FIND">
                                        <shadow type="text" id=")UGm;(Al80?Qe$jV2|IZ">
                                          <field name="TEXT">Papier</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="EMG+cc4B6bet6@[[PWd[">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">javascript.0.blaue_tonne</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="+0uBw{-T[4Rmc@?Wad}v">
                                      <field name="NUM">3</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="tyYw*9wR#,Qs`aA$zp$7">
                                  <value name="IF0">
                                    <block type="math_number_property" id="oA])+4U80NvxNt!(@g?S">
                                      <mutation divisor_input="false"></mutation>
                                      <field name="PROPERTY">POSITIVE</field>
                                      <value name="NUMBER_TO_CHECK">
                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                          <field name="NUM">0</field>
                                        </shadow>
                                        <block type="text_indexOf" id="r-)kqYJVjPO5d-C/C.+A">
                                          <field name="END">FIRST</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="G`1t._6fuZD`V|ZtAk|[">
                                              <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                                            </block>
                                          </value>
                                          <value name="FIND">
                                            <shadow type="text" id="MkI;ApMu^`.6DX^}gj7e">
                                              <field name="TEXT">Papier</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="j_6qzB%=Y^;_u$LmxYl5">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">javascript.0.blaue_tonne</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="zY}NaNC`O|SFLHSZ$3O6">
                                          <field name="NUM">2</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="{g%.!5tUKWyYmpof}$#C">
                                      <value name="IF0">
                                        <block type="math_number_property" id="Fg|$$FSs7%*f//hq1P]o">
                                          <mutation divisor_input="false"></mutation>
                                          <field name="PROPERTY">POSITIVE</field>
                                          <value name="NUMBER_TO_CHECK">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                              <field name="NUM">0</field>
                                            </shadow>
                                            <block type="text_indexOf" id="G|,ub$/6Yypr!WZt]K.,">
                                              <field name="END">FIRST</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="4Z3(tAg[+cS~jSeAEEvS">
                                                  <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
                                                </block>
                                              </value>
                                              <value name="FIND">
                                                <shadow type="text" id="d-nzR{K@ocarrCRxI5A]">
                                                  <field name="TEXT">Papier</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="F;b@+R){AISOJ^0``YF/">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.blaue_tonne</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="W5ENk85EMi.)N3IRHSAu">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="control" id="{+]Krfa=T15A_ORqaRJZ">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.gelbe_tonne</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id=")C@CG8?G]B{|GUv=1$@|">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="controls_if" id="78gh/g5cCJ}`%4si.T[u">
                                              <value name="IF0">
                                                <block type="math_number_property" id="=fK.qMLlu=o!|x_P|`8$">
                                                  <mutation divisor_input="false"></mutation>
                                                  <field name="PROPERTY">POSITIVE</field>
                                                  <value name="NUMBER_TO_CHECK">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                    <block type="text_indexOf" id="+-fzJ)K@}`yZhFvA6m/Q">
                                                      <field name="END">FIRST</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="dgM.I$?TPozYH;NF5%~P">
                                                          <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                                                        </block>
                                                      </value>
                                                      <value name="FIND">
                                                        <shadow type="text" id=";BaXtBk:uo$9e/DP!c%C">
                                                          <field name="TEXT">Gelbe Tonne</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="*Ii+`MFIjT}ai=Pd2#v;">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.gelbe_tonne</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="rJIQNIKvjTtEsU,azc#)">
                                                      <field name="NUM">3</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="controls_if" id="BPQ*?}|(x(~,6OpqsGop">
                                                  <value name="IF0">
                                                    <block type="math_number_property" id="EAO?RGC~(8:NVzoa!ejP">
                                                      <mutation divisor_input="false"></mutation>
                                                      <field name="PROPERTY">POSITIVE</field>
                                                      <value name="NUMBER_TO_CHECK">
                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                          <field name="NUM">0</field>
                                                        </shadow>
                                                        <block type="text_indexOf" id="bw$pXuGuhataW1bF0RjS">
                                                          <field name="END">FIRST</field>
                                                          <value name="VALUE">
                                                            <block type="variables_get" id="HeZ~=Yyk#35:6$gLd~Zl">
                                                              <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                                                            </block>
                                                          </value>
                                                          <value name="FIND">
                                                            <shadow type="text" id="yCvyrB~UyoSvoTpL%[N[">
                                                              <field name="TEXT">Gelbe Tonne</field>
                                                            </shadow>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="?7AnyziEB~PPC?8B%(Ea">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.gelbe_tonne</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="wSXJcyoh;fY2KK-F9Fy(">
                                                          <field name="NUM">2</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="controls_if" id="l%yimr!`Y4P@|Ms7-)t!">
                                                      <value name="IF0">
                                                        <block type="math_number_property" id="GW{@7|~0=GK8R;:b|)]K">
                                                          <mutation divisor_input="false"></mutation>
                                                          <field name="PROPERTY">POSITIVE</field>
                                                          <value name="NUMBER_TO_CHECK">
                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                              <field name="NUM">0</field>
                                                            </shadow>
                                                            <block type="text_indexOf" id="-098|?ncu-myAn#?ccqk">
                                                              <field name="END">FIRST</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="r1m]HVVvhV,mnxy)%,f.">
                                                                  <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
                                                                </block>
                                                              </value>
                                                              <value name="FIND">
                                                                <shadow type="text" id=":?u3,xt!v~O71J_r6d2f">
                                                                  <field name="TEXT">Gelbe Tonne</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="5.o:ZigzT2#jw^7n$jRH">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.gelbe_tonne</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="JoJP}~=UgP86Oi5rI])[">
                                                              <field name="NUM">1</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="control" id="pCjO3TX~,JM2Ef]xcWBW">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.restmuell_tonne</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="koQRv$/%escC#.1@8wuY">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="controls_if" id="@.HqEy),J0U5+P{,C2S{">
                                                              <value name="IF0">
                                                                <block type="math_number_property" id="]zYJN@9{lB2GRe_T%H=N">
                                                                  <mutation divisor_input="false"></mutation>
                                                                  <field name="PROPERTY">POSITIVE</field>
                                                                  <value name="NUMBER_TO_CHECK">
                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                                      <field name="NUM">0</field>
                                                                    </shadow>
                                                                    <block type="text_indexOf" id="`]?e%1Qo9Sr[e`xX8PGN">
                                                                      <field name="END">FIRST</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="QEbSH{d`TRXP^ZH4B-tD">
                                                                          <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="FIND">
                                                                        <shadow type="text" id="g.m(YS:CMKOWs9^J:U{T">
                                                                          <field name="TEXT">Restmüll</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="Q[r8U=PCBc-~kVsfCrmZ">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">javascript.0.restmuell_tonne</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id=".WqN_5X7XI%4B@%z+{G7">
                                                                      <field name="NUM">3</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id=".sMIt;rGFzIx{t3iOn@5">
                                                                  <value name="IF0">
                                                                    <block type="math_number_property" id="l(y*~]fzkQ:+M9x6T;Vy">
                                                                      <mutation divisor_input="false"></mutation>
                                                                      <field name="PROPERTY">POSITIVE</field>
                                                                      <value name="NUMBER_TO_CHECK">
                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                                          <field name="NUM">0</field>
                                                                        </shadow>
                                                                        <block type="text_indexOf" id="e:Xw{*ukZ!q-q/:CoO3S">
                                                                          <field name="END">FIRST</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="xi_sb23_GskpI{Rv#cTu">
                                                                              <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="FIND">
                                                                            <shadow type="text" id="z[)K]{h!aPwH`?^JuoQ#">
                                                                              <field name="TEXT">Restmüll</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="~U|}HT4Ig?(_.$]VaGD2">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">javascript.0.restmuell_tonne</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id="fDRrwx/C9vF;^DF(?Zbg">
                                                                          <field name="NUM">2</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="0As4KpHi@C[C9dCtjD-I">
                                                                      <value name="IF0">
                                                                        <block type="math_number_property" id="B$k#iBIOrPZP)F0iB~xN">
                                                                          <mutation divisor_input="false"></mutation>
                                                                          <field name="PROPERTY">POSITIVE</field>
                                                                          <value name="NUMBER_TO_CHECK">
                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                                              <field name="NUM">0</field>
                                                                            </shadow>
                                                                            <block type="text_indexOf" id=":=2Ca`pkw}]z*XRv#Pos">
                                                                              <field name="END">FIRST</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="8Fn}CMG98wf539gT;bA-">
                                                                                  <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="FIND">
                                                                                <shadow type="text" id="`VLIXa*TSE-`3L78totp">
                                                                                  <field name="TEXT">Restmüll</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="FTc;H?92%IAej2SIeM9K">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">javascript.0.restmuell_tonne</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="2jAP+dz=hTMx5QD!(?=8">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      

      Vielleicht hilft es Dir ja. Ich suche in den Kalenderdatenpunkten der nächsten 2 Tage (calendar.0.XXX.1.events=heute, calendar.0.XXX.2.events=morgen,calendar.0.XXX.3.events=übermorgen) nach dem Vorkommen bestimmter Einträge (z.B. "Papier") und schreibe den kurzfristigsten Eintrag dann in einen eigenen Datenpunkt (z.B. "javascript.0.blaue_tonne"). Diese eigenen Datenpunkte haben eine Liste:
      251b0e1b-e4ca-470f-b04a-4fba48d137f5-grafik.png
      ,die die Zahlen 0-4 wieder in Begriffe ("heute","morgen", etc.) übersetzen. Diese eigenen Datenpunkte kannst Du dann in Deiner Visualisierung referenzieren (ich mache das in iQontrol).
      03e4fd3e-76a8-4f15-b00e-b6e5fe7ce9a9-grafik.png

      Aber wie gesagt, das ganze geht mit Sicherheit eleganter, wenn man sich ein richtiges Skript bastelt!
      Grüße!

      posted in Tester
      T
      ts020339
    • RE: Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

      @dslraser said in Test Adapter iQontrol 1.5.x:

      @ts020339 sagte in Test Adapter iQontrol 1.5.x:

      Wenn ich das im Skript richtig verstehe, hast Du aber auch keine unterschiedlich großen Bilder hinterlegt? Ich habe in Deinem Skript noch die folgenden Sachen angepasst, da meine Bilder an einer anderen Stelle liegen:

      nein, ich habe keine Unterschiedlichen Bilder. Sieht im Moment so aus.

      Screenshot_20210214-163917_Chrome.jpg

      Zur zweiten Frage, hast Du denn den Trigger in iQontrol verlinkt ? Also bei inakticer/aktiver Kachel ?

      PS: das Script ist nicht von mir...

      okay, die richtige Skalierung der Bilder musste ich im Skript tatsächlich manuell anpassen. Entweder hat man hier vermutlich zufällig die richtigen Größen oder muss im Skript dann korrekt skalieren.

      Durch deine Rückfrage zur Verlinkung des Triggers habe ich jetzt erst verstanden, wie das funktionieren soll. Danke 🙂 Ich dachte zuerst, dass das Ein-/Aublenden der Wetterkachel im Skript selber im html passieren soll... Dass man das ganze auch durch die "Enlarge"-Funktion in IQontrol hinbekommt, habe ich erst jetzt verstanden.

      So funktioniert es bei mir jetzt auch.

      posted in Tester
      T
      ts020339
    • RE: Test Adapter Calendar v1.2.x

      @glasfaser ok, hab zwar nicht ganz verstanden was der Satz "issue ein Adapter bitte" bedeutet 🙂 aber ich habe mal im github des calendar Adapters ein issue aufgemacht.
      https://github.com/WLAN-Kabel/ioBroker.calendar/issues/63

      hoffe das war so gemeint.

      ts617284 created this issue in WLAN-Kabel/ioBroker.calendar

      open error messages: wrong data type #63

      posted in Tester
      T
      ts020339

    Latest posts made by ts020339

    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      @giermann said in Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda:

      Sollte das nicht einfacher sein, die Blockierungen in der Firewall zu prüfen?

      mein IOT Netz hat nur über eine Whitelist Zugang zum Internet, also nein.

      Es sind einige (viele) - suche im Script mal nach "https://", die kannst du dann alle freigeben.
      Um nur einige zu nennen:
      *.elli.eco
      *.skoda-auto.cz
      *.skoda-connect.com
      *.volkswagen.de
      *.vwapps.io
      *.vwg-connect.com
      *.vwgroup.com
      *.vwgroup.io

      Danke Dir! Mit haben jetzt die vw-Urls gereicht plus zusätzlich noch *.cariad.digital (im Skript main.js gefunden wie Du vorgeschlagen hast) um die Daten für meinen VW ID4 abzurufen.

      Gruß,
      Tim

      posted in Tester
      T
      ts020339
    • RE: Test Adapter VW Connect für VW, ID, Audi, Seat, Skoda

      Hi,

      kann mir jemand sagen wie die Website/Url ist, die der Adapter nutzt um die Daten abzurufen? Ich müsste die in meiner Firewall noch freischalten, finde die Info aber in der Dokumentation bisher nicht.

      Vielen Dank!

      Tim

      posted in Tester
      T
      ts020339
    • RE: solved: fritzdect adapter error

      @boonekampxxl Tut mir leid, war lange nicht im Forum eingelogged. Für den Fall, dass es Dich noch interessiert: VErsion 2.2.6 aus github hat die meisten Probleme gelöst.
      GRüße

      posted in Error/Bug
      T
      ts020339
    • solved: fritzdect adapter error

      Hallo Zusammen,

      ich habe das folgende Problem mit dem fritzdect Adapter (installiert v2.2.3), ich erhalte beim Auslesen keine Daten und es werden keine Objekte angelegt:

      fritzdect.0
      	2022-03-30 20:18:17.531	error	no response part in returned message
      fritzdect.0
      	2022-03-30 20:18:17.531	error	fritzbox returned this {}
      fritzdect.0
      	2022-03-30 20:18:17.530	error	errorHandlerTypeError: Converting circular structure to JSON --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle
      fritzdect.0
      	2022-03-30 20:18:17.520	info	checking user permissions
      fritzdect.0
      	2022-03-30 20:18:17.223	info	fritzdect uses USER: ioBroker
      fritzdect.0
      	2022-03-30 20:18:17.204	info	fritzdect entered ready
      fritzdect.0
      	2022-03-30 20:18:17.179	info	starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.19.1, js-controller: 4.0.21
      

      ABER:
      wenn ich in den Einstellungen mir die Debug Outputs anschauen, habe ich dort alle notwendigen Daten und diese sind auch korrekt. Z.B. Debug Output "Meine Geräte":

      [{"identifier":"11960 0255392","id":"16","functionbitmask":"320","fwversion":"03.54","manufacturer":"AVM","productname":"Comet DECT","present":"1","txbusy":"0","name":"Heizung Dachgeschoss Nebenraum","battery":"100","batterylow":"0","temperature":{"celsius":"190","offset":"0"},"hkr":{"tist":"38","tsoll":"28","absenk":"28","komfort":"28","lock":"0","devicelock":"0","errorcode":"0","windowopenactiv":"0","windowopenactiveendtime":"0","boostactive":"0","boostactiveendtime":"0","batterylow":"0","battery":"100","nextchange":{"endperiod":"1648706400","tchange":"28"},"summeractive":"0","holidayactive":"0"}},{"identifier":"11960 0137176","id":"17","functionbitmask":"320","fwversion":"03.54","manufacturer":"AVM","productname":"Comet DECT","present":"1","txbusy":"0","name":"Heizung Dachgeschoss Hauptraum","battery":"100","batterylow":"0","temperature":{"celsius":"185","offset":"0"},"hkr":{"tist":"37","tsoll":"28","absenk":"28","komfort":"28","lock":"0","devicelock":"0","errorcode":"0","windowopenactiv":"0","windowopenactiveendtime":"0","boostactive":"0","boostactiveendtime":"0","batterylow":"0","battery":"100","nextchange":{"endperiod":"1648706400","tchange":"28"},"summeractive":"0","holidayactive":"0"}},{"identifier":"11960 0128936","id":"18","functionbitmask":"320","fwversion":"03.54","manufacturer":"AVM","productname":"Comet DECT","present":"1","txbusy":"0","name":"Heizung Bad Handtuchhalter","battery":"100","batterylow":"0","temperature":{"celsius":"210","offset":"0"},"hkr":{"tist":"42","tsoll":"32","absenk":"32","komfort":"44","lock":"0","devicelock":"0","errorcode":"0","windowopenactiv":"0","windowopenactiveendtime":"0","boostactive":"0","boostactiveendtime":"0","batterylow":"0","battery":"100","nextchange":{"endperiod":"1648702800","tchange":"44"},"summeractive":"0","holidayactive":"0"}}]
      

      Auch die anderne Debug-Outputs ("meine Gruppen", "meine Templates") liefern die korrekten Daten.
      Das heißt für mich doch, dass der Adapter die Daten korrekt auslesen kann? Nur warum sagt er dann im "normalen" Log, dass das erhaltene Objekt leer ist?

      Kann mir hier jemand weiterhelfen?

      Danke schonmal!

      Tim

      Systemdata xx
      Hardwaresystem: Docker Container auf QNAP NAS-HS-453DX
      Arbeitsspeicher: 8GB
      Festplattenart: SSD
      Betriebssystem: buanet docker Container
      Node-Version: 10.x.x
      Nodejs-Version: v14.19.1
      NPM-Version: 6.14.16
      posted in Error/Bug
      T
      ts020339
    • RE: Test Adapter Calendar v1.2.x

      @glasfaser ok, hab zwar nicht ganz verstanden was der Satz "issue ein Adapter bitte" bedeutet 🙂 aber ich habe mal im github des calendar Adapters ein issue aufgemacht.
      https://github.com/WLAN-Kabel/ioBroker.calendar/issues/63

      hoffe das war so gemeint.

      ts617284 created this issue in WLAN-Kabel/ioBroker.calendar

      open error messages: wrong data type #63

      posted in Tester
      T
      ts020339
    • RE: Test Adapter Calendar v1.2.x

      Hi,

      habe seit einigen Tagen einige Fehlermeldungen im Log zu einem falschen erwarteten Datenformat. Zeitlich im Zusammenhang mit dem Update auf die neue Admin-Adapter Version. Ob das ursächlich tatsächlich zusammenhängt, ist mir aber unklar. Ich habe zwei Kalender definiert, die sich mit einer Caldav Abfrage an meine Nextcloud Instanz anmelden. Das Log zeigt die folgenden Fehlermeldungen:
      d6bf3517-c8fe-4a93-8247-cf96875792b9-grafik.png

      Jemand eine Idee?
      Danke für eure Hilfe!
      Tim

      posted in Tester
      T
      ts020339
    • RE: Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

      @dslraser said in Test Adapter iQontrol 1.5.x:

      @ts020339 sagte in Test Adapter iQontrol 1.5.x:

      Wenn ich das im Skript richtig verstehe, hast Du aber auch keine unterschiedlich großen Bilder hinterlegt? Ich habe in Deinem Skript noch die folgenden Sachen angepasst, da meine Bilder an einer anderen Stelle liegen:

      nein, ich habe keine Unterschiedlichen Bilder. Sieht im Moment so aus.

      Screenshot_20210214-163917_Chrome.jpg

      Zur zweiten Frage, hast Du denn den Trigger in iQontrol verlinkt ? Also bei inakticer/aktiver Kachel ?

      PS: das Script ist nicht von mir...

      okay, die richtige Skalierung der Bilder musste ich im Skript tatsächlich manuell anpassen. Entweder hat man hier vermutlich zufällig die richtigen Größen oder muss im Skript dann korrekt skalieren.

      Durch deine Rückfrage zur Verlinkung des Triggers habe ich jetzt erst verstanden, wie das funktionieren soll. Danke 🙂 Ich dachte zuerst, dass das Ein-/Aublenden der Wetterkachel im Skript selber im html passieren soll... Dass man das ganze auch durch die "Enlarge"-Funktion in IQontrol hinbekommt, habe ich erst jetzt verstanden.

      So funktioniert es bei mir jetzt auch.

      posted in Tester
      T
      ts020339
    • RE: Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

      @dslraser said in Test Adapter iQontrol 1.5.x:

      @mikweb
      oder auch per Script von @blackeagle998

      https://forum.iobroker.net/post/514543

      geschlossene Kachel

      Screenshot_20210121-222601_Chrome.jpg

      geöffnete Kachel (per Klick auf den Mond/Sonne bzw. das rechte Wetter Symbol.)

      Screenshot_20210121-222250_Chrome.jpg

      https://forum.iobroker.net/post/514543

      Hallo @dslraser ,

      ich habe mal das in diesem Post verlinkte Skript ausprobiert, stoße bei der Kachel allerdings noch auf ein paar Probleme:
      Zum einen werden bei mir die hinterlegten Grafiken gestaucht (oben rechts), bzw in der Tabelle nicht "klein gezoomed" 6a0acd95-aa1a-4d2c-852a-48a1c02a8f7f-grafik.png
      Wenn ich das im Skript richtig verstehe, hast Du aber auch keine unterschiedlich großen Bilder hinterlegt? Ich habe in Deinem Skript noch die folgenden Sachen angepasst, da meine Bilder an einer anderen Stelle liegen:
      43ec3fd4-8fc5-4ff2-9dbe-7d6ae3bf5626-grafik.png
      7fe22fdb-a915-438c-889a-a8e5cc43c947-grafik.png
      Müssen die hinterlegtsn Wettericons ein bestimmtes Format/Größe haben, damit das funktioniert? (meine sind 175px x 120px und *.png ).

      Zweite Frage:
      Bei mir wird immer die ganze Kachel angezeigt, ich kann den "Wetterteil" nicht ein-/ausblenden. Ich habe gesehen, dass Du Code für den TRigger hinter dem Bild oben rechts hinterlegt hast, ich habe damit aber zwei Probleme:

      • ein Klick auf das Bild führt nicht zu einem "Umspringen" der Trigger-Variable "Wetter_Vorschau"
        4f44f8c2-d32d-48f0-88ef-b05c110d2058-grafik.png
      • wenn ich den Trigger-Knopf oben im Bild manuell ausführe, dann springt die Trigger-Variable "Wetter_Vorschau" zwar um auff "true", das hat aber keinen Effekt. Ich finde auch gar keinen Code im Skript, der diese Variable auswerten würde? Kenne mich mit javascript aber nicht gut genug aus, um das wirklich beurteilen zu können.

      Danke für Deine Hilfe!

      Tim

      posted in Tester
      T
      ts020339
    • RE: [HowTo] ioBroker unter Docker auf Synology DiskStation

      @andre
      Ich habe seit dem neuesten Image diese FEhlermeldung im Log:
      (node:479) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.

      Sagt Dir das irgendetwas?
      Das einzige Problem, dass ich aktuell sehe, ist dass ich mit dem Ipad nicht mehr auf die ioBroker-Oberfläche zugreifen kann. Mit Android oder PC (Firefox) geht es weiterhin.

      Log:

       
      
      ------------------------------------------------------------
      
      ---------------     2020-07-01 18:30:37      ---------------
      
      ------------------------------------------------------------
      
       
      
      ------------------------------------------------------------
      
      -----       Welcome to your ioBroker-container!        -----
      
      -----          Startupscript is now running.           -----
      
      -----                Please be patient!                -----
      
      ------------------------------------------------------------
      
       
      
      ------------------------------------------------------------
      
      -----              Debugging information               -----
      
      -----                                                  -----
      
      -----                      System                      -----
      
      -----               arch:      x86_64                  -----
      
      -----                                                  -----
      
      -----                     Versions                     -----
      
      -----               image:     v5.0.0                  -----
      
      -----               node:      v12.18.1                -----
      
      -----               npm:       6.14.5                  -----
      
      -----                                                  -----
      
      -----                       ENV                        -----
      
      -----               PACKAGES:  nano                   build-essential libcairo2-dev          libpango1.0-dev libjpeg-dev            libgif-dev librsvg2-dev            -----
      
      -----               SETGID:    1000                    -----
      
      -----               SETUID:    1000                    -----
      
      ------------------------------------------------------------
      
       
      
      ------------------------------------------------------------
      
      -----         Step 1 of 5: Preparing container         -----
      
      ------------------------------------------------------------
      
       
      
      Installing additional packages is set by ENV.
      
      The following packages will be installed: nano build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev...
      
      Done.
      
       
      
      ------------------------------------------------------------
      
      -----   Step 2 of 5: Detecting ioBroker installation   -----
      
      ------------------------------------------------------------
      
       
      
      Existing installation of ioBroker detected in /opt/iobroker.
      
       
      
      ------------------------------------------------------------
      
      -----   Step 3 of 5: Checking ioBroker installation    -----
      
      ------------------------------------------------------------
      
       
      
      (Re)Setting folder permissions (This might take a while! Please be patient!)...
      
      Done.
      
       
      
      Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
      
      Done.
      
       
      
      ------------------------------------------------------------
      
      -----      Step 4 of 5: Applying special settings      -----
      
      ------------------------------------------------------------
      
       
      
      Some adapters have special requirements/ settings which can be activated by the use of environment variables.
      
      For more information take a look at readme.md on Github!
      
       
      
      ------------------------------------------------------------
      
      -----          Step 5 of 5: ioBroker startup           -----
      
      ------------------------------------------------------------
      
       
      
      Starting ioBroker...
      
       
      
      (node:479) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
      
      host.ioBroker-Host check instance "system.adapter.admin.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.calendar.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.daswetter.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.fritzdect.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.harmony.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.hue.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.info.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.iqontrol.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.javascript.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.mihome-vacuum.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.mqtt.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.parser.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.ping.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.simple-api.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.snips.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.socketio.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.text2command.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-bars.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-history.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-hqwidgets.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-jqui-mfd.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-justgage.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-metro.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-players.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis-timeandweather.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.vis.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.web.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.zigbee.1" for host "ioBroker_Client_HomeAutomation"
      
      host.ioBroker-Host check instance "system.adapter.backitup.0" for host "ioBroker-Host"
      
      host.ioBroker-Host check instance "system.adapter.backitup.1" for host "ioBroker_Client_HomeAutomation"
      
      Cannot parse "/Wettericons/vis-views.json
      
      hash changed or no sources cached => force download of new sources
      
      
      
      posted in ioBroker Allgemein
      T
      ts020339
    • RE: Test Adapter Calendar v1.2.x

      @D3ltoroxp said in Test Adapter Calendar v1.2.x:

      @J-A-R-V-I-S said in Test Adapter Calendar v1.2.x:

      @D3ltoroxp du könntest das mit einem Skript lösen. Aktuell bietet der Adapter eine solche Funktion nicht. Ebenso gibt es auch keine Unterstützung für Trash schedule Adapter.

      Könntest du mir helfen, wie so ein Script aussehen sollte ? Das Script sucht dann nach bestimmten Wörtern, wie z.b. Gelber Sack, Papiertonne ? Das muss ich in den einzelne DP's prüfen ? Tag 1 , 2 , 3 usw. Und wenn z.b. Gelber Sack an Tag 3 steht, könnte ich dann einen Text erstellen lassen und dann immer auf den Tag prüfen und mit schreiben lassen, Quasi dann in 3 in 2 morgen...

      Hi,
      ich habe das mit einem (programmiertechnisch sehr unschön aufgebauten 😉 ) Blockly-Skript quick-and-dirty gelöst. Es geht mit Sicherheit eleganter, aber bei mir funktioniert es:
      0288e96f-2096-4f80-ae87-c97b4a60ac11-grafik.png

      Hier der Export des Skripts, musst du über die Import-Funktion im Blockly-Modus wieder importieren und danach die ganzen Datenpunkte korrekt anpassen:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</variable>
          <variable id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</variable>
          <variable id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</variable>
        </variables>
        <block type="on_ext" id="::h9y24TVAGz[FtSo{t|" x="-62" y="-237">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="ZAY6,?b^Z{9@*d-3,q*r">
              <field name="oid">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.0.events</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="variables_set" id="pVZcd9/m(?B$)5-l`[cp">
              <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
              <value name="VALUE">
                <block type="get_value" id="03L5k6HOb|Q3^Z},~X,U">
                  <field name="ATTR">val</field>
                  <field name="OID">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.1.events</field>
                </block>
              </value>
              <next>
                <block type="variables_set" id="Cvgsdi;55kxt~E.mxF$l">
                  <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                  <value name="VALUE">
                    <block type="get_value" id="Q_5/H9/[J0^QcJO;U[!H">
                      <field name="ATTR">val</field>
                      <field name="OID">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.2.events</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="vHH20oCr0EG(^;]DjqQ`">
                      <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                      <value name="VALUE">
                        <block type="get_value" id="aH.W#8Y%~U~4WoE/{kNJ">
                          <field name="ATTR">val</field>
                          <field name="OID">calendar.0.ZW5kYXJzL0FiZmFsbC9wZXJzb25hbC.3.events</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="d`Kr`NNgN+K+-NR{J|d:">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">javascript.0.blaue_tonne</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="Y7Md(1^h17WOe%w_`@TV">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="reT~O^XpYo+Fs[tu8iw:">
                              <value name="IF0">
                                <block type="math_number_property" id="X2Me,vme^BLkr-/p5~G=">
                                  <mutation divisor_input="false"></mutation>
                                  <field name="PROPERTY">POSITIVE</field>
                                  <value name="NUMBER_TO_CHECK">
                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                      <field name="NUM">0</field>
                                    </shadow>
                                    <block type="text_indexOf" id="speN0grHA38fp44;#b}-">
                                      <field name="END">FIRST</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="L?XX]{~2LHozN,M[Ne}E">
                                          <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                                        </block>
                                      </value>
                                      <value name="FIND">
                                        <shadow type="text" id=")UGm;(Al80?Qe$jV2|IZ">
                                          <field name="TEXT">Papier</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="EMG+cc4B6bet6@[[PWd[">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">javascript.0.blaue_tonne</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="+0uBw{-T[4Rmc@?Wad}v">
                                      <field name="NUM">3</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="tyYw*9wR#,Qs`aA$zp$7">
                                  <value name="IF0">
                                    <block type="math_number_property" id="oA])+4U80NvxNt!(@g?S">
                                      <mutation divisor_input="false"></mutation>
                                      <field name="PROPERTY">POSITIVE</field>
                                      <value name="NUMBER_TO_CHECK">
                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                          <field name="NUM">0</field>
                                        </shadow>
                                        <block type="text_indexOf" id="r-)kqYJVjPO5d-C/C.+A">
                                          <field name="END">FIRST</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="G`1t._6fuZD`V|ZtAk|[">
                                              <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                                            </block>
                                          </value>
                                          <value name="FIND">
                                            <shadow type="text" id="MkI;ApMu^`.6DX^}gj7e">
                                              <field name="TEXT">Papier</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="j_6qzB%=Y^;_u$LmxYl5">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">javascript.0.blaue_tonne</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="zY}NaNC`O|SFLHSZ$3O6">
                                          <field name="NUM">2</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="{g%.!5tUKWyYmpof}$#C">
                                      <value name="IF0">
                                        <block type="math_number_property" id="Fg|$$FSs7%*f//hq1P]o">
                                          <mutation divisor_input="false"></mutation>
                                          <field name="PROPERTY">POSITIVE</field>
                                          <value name="NUMBER_TO_CHECK">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                              <field name="NUM">0</field>
                                            </shadow>
                                            <block type="text_indexOf" id="G|,ub$/6Yypr!WZt]K.,">
                                              <field name="END">FIRST</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="4Z3(tAg[+cS~jSeAEEvS">
                                                  <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
                                                </block>
                                              </value>
                                              <value name="FIND">
                                                <shadow type="text" id="d-nzR{K@ocarrCRxI5A]">
                                                  <field name="TEXT">Papier</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="F;b@+R){AISOJ^0``YF/">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.blaue_tonne</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="W5ENk85EMi.)N3IRHSAu">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="control" id="{+]Krfa=T15A_ORqaRJZ">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.gelbe_tonne</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id=")C@CG8?G]B{|GUv=1$@|">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="controls_if" id="78gh/g5cCJ}`%4si.T[u">
                                              <value name="IF0">
                                                <block type="math_number_property" id="=fK.qMLlu=o!|x_P|`8$">
                                                  <mutation divisor_input="false"></mutation>
                                                  <field name="PROPERTY">POSITIVE</field>
                                                  <value name="NUMBER_TO_CHECK">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                    <block type="text_indexOf" id="+-fzJ)K@}`yZhFvA6m/Q">
                                                      <field name="END">FIRST</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="dgM.I$?TPozYH;NF5%~P">
                                                          <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                                                        </block>
                                                      </value>
                                                      <value name="FIND">
                                                        <shadow type="text" id=";BaXtBk:uo$9e/DP!c%C">
                                                          <field name="TEXT">Gelbe Tonne</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="*Ii+`MFIjT}ai=Pd2#v;">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.gelbe_tonne</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="rJIQNIKvjTtEsU,azc#)">
                                                      <field name="NUM">3</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="controls_if" id="BPQ*?}|(x(~,6OpqsGop">
                                                  <value name="IF0">
                                                    <block type="math_number_property" id="EAO?RGC~(8:NVzoa!ejP">
                                                      <mutation divisor_input="false"></mutation>
                                                      <field name="PROPERTY">POSITIVE</field>
                                                      <value name="NUMBER_TO_CHECK">
                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                          <field name="NUM">0</field>
                                                        </shadow>
                                                        <block type="text_indexOf" id="bw$pXuGuhataW1bF0RjS">
                                                          <field name="END">FIRST</field>
                                                          <value name="VALUE">
                                                            <block type="variables_get" id="HeZ~=Yyk#35:6$gLd~Zl">
                                                              <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                                                            </block>
                                                          </value>
                                                          <value name="FIND">
                                                            <shadow type="text" id="yCvyrB~UyoSvoTpL%[N[">
                                                              <field name="TEXT">Gelbe Tonne</field>
                                                            </shadow>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="?7AnyziEB~PPC?8B%(Ea">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.gelbe_tonne</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="wSXJcyoh;fY2KK-F9Fy(">
                                                          <field name="NUM">2</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="controls_if" id="l%yimr!`Y4P@|Ms7-)t!">
                                                      <value name="IF0">
                                                        <block type="math_number_property" id="GW{@7|~0=GK8R;:b|)]K">
                                                          <mutation divisor_input="false"></mutation>
                                                          <field name="PROPERTY">POSITIVE</field>
                                                          <value name="NUMBER_TO_CHECK">
                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                              <field name="NUM">0</field>
                                                            </shadow>
                                                            <block type="text_indexOf" id="-098|?ncu-myAn#?ccqk">
                                                              <field name="END">FIRST</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="r1m]HVVvhV,mnxy)%,f.">
                                                                  <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
                                                                </block>
                                                              </value>
                                                              <value name="FIND">
                                                                <shadow type="text" id=":?u3,xt!v~O71J_r6d2f">
                                                                  <field name="TEXT">Gelbe Tonne</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="5.o:ZigzT2#jw^7n$jRH">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.gelbe_tonne</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="JoJP}~=UgP86Oi5rI])[">
                                                              <field name="NUM">1</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="control" id="pCjO3TX~,JM2Ef]xcWBW">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.restmuell_tonne</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="koQRv$/%escC#.1@8wuY">
                                                              <field name="NUM">0</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="controls_if" id="@.HqEy),J0U5+P{,C2S{">
                                                              <value name="IF0">
                                                                <block type="math_number_property" id="]zYJN@9{lB2GRe_T%H=N">
                                                                  <mutation divisor_input="false"></mutation>
                                                                  <field name="PROPERTY">POSITIVE</field>
                                                                  <value name="NUMBER_TO_CHECK">
                                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                                      <field name="NUM">0</field>
                                                                    </shadow>
                                                                    <block type="text_indexOf" id="`]?e%1Qo9Sr[e`xX8PGN">
                                                                      <field name="END">FIRST</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="QEbSH{d`TRXP^ZH4B-tD">
                                                                          <field name="VAR" id="#Ap]{|xc~^Rv#eFZ4[/`">Abfall_Kalender_3</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="FIND">
                                                                        <shadow type="text" id="g.m(YS:CMKOWs9^J:U{T">
                                                                          <field name="TEXT">Restmüll</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="Q[r8U=PCBc-~kVsfCrmZ">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">javascript.0.restmuell_tonne</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id=".WqN_5X7XI%4B@%z+{G7">
                                                                      <field name="NUM">3</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id=".sMIt;rGFzIx{t3iOn@5">
                                                                  <value name="IF0">
                                                                    <block type="math_number_property" id="l(y*~]fzkQ:+M9x6T;Vy">
                                                                      <mutation divisor_input="false"></mutation>
                                                                      <field name="PROPERTY">POSITIVE</field>
                                                                      <value name="NUMBER_TO_CHECK">
                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                                          <field name="NUM">0</field>
                                                                        </shadow>
                                                                        <block type="text_indexOf" id="e:Xw{*ukZ!q-q/:CoO3S">
                                                                          <field name="END">FIRST</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="xi_sb23_GskpI{Rv#cTu">
                                                                              <field name="VAR" id="ob4oe00h_sL|Cx{zpd4Z">Abfall_Kalender_2</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="FIND">
                                                                            <shadow type="text" id="z[)K]{h!aPwH`?^JuoQ#">
                                                                              <field name="TEXT">Restmüll</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="~U|}HT4Ig?(_.$]VaGD2">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">javascript.0.restmuell_tonne</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_number" id="fDRrwx/C9vF;^DF(?Zbg">
                                                                          <field name="NUM">2</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="0As4KpHi@C[C9dCtjD-I">
                                                                      <value name="IF0">
                                                                        <block type="math_number_property" id="B$k#iBIOrPZP)F0iB~xN">
                                                                          <mutation divisor_input="false"></mutation>
                                                                          <field name="PROPERTY">POSITIVE</field>
                                                                          <value name="NUMBER_TO_CHECK">
                                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="#QaI[..Je5?,AXz:@XCk">
                                                                              <field name="NUM">0</field>
                                                                            </shadow>
                                                                            <block type="text_indexOf" id=":=2Ca`pkw}]z*XRv#Pos">
                                                                              <field name="END">FIRST</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="8Fn}CMG98wf539gT;bA-">
                                                                                  <field name="VAR" id="ms/mac`WD(VseC=8za5r">Abfall_Kalender_1</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="FIND">
                                                                                <shadow type="text" id="`VLIXa*TSE-`3L78totp">
                                                                                  <field name="TEXT">Restmüll</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="control" id="FTc;H?92%IAej2SIeM9K">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">javascript.0.restmuell_tonne</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="math_number" id="2jAP+dz=hTMx5QD!(?=8">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      

      Vielleicht hilft es Dir ja. Ich suche in den Kalenderdatenpunkten der nächsten 2 Tage (calendar.0.XXX.1.events=heute, calendar.0.XXX.2.events=morgen,calendar.0.XXX.3.events=übermorgen) nach dem Vorkommen bestimmter Einträge (z.B. "Papier") und schreibe den kurzfristigsten Eintrag dann in einen eigenen Datenpunkt (z.B. "javascript.0.blaue_tonne"). Diese eigenen Datenpunkte haben eine Liste:
      251b0e1b-e4ca-470f-b04a-4fba48d137f5-grafik.png
      ,die die Zahlen 0-4 wieder in Begriffe ("heute","morgen", etc.) übersetzen. Diese eigenen Datenpunkte kannst Du dann in Deiner Visualisierung referenzieren (ich mache das in iQontrol).
      03e4fd3e-76a8-4f15-b00e-b6e5fe7ce9a9-grafik.png

      Aber wie gesagt, das ganze geht mit Sicherheit eleganter, wenn man sich ein richtiges Skript bastelt!
      Grüße!

      posted in Tester
      T
      ts020339
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo