Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. [gelöst] iqontrol und das MAP-Widget

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    [gelöst] iqontrol und das MAP-Widget

    This topic has been deleted. Only users with topic management privileges can see it.
    • s.bormann
      s.bormann Most Active @Guest last edited by

      @dp20eic Hi, schreib mir die Zugangsdaten im Chat, dann schaue ich mal

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @s.bormann last edited by

        @s-bormann

        Hi,
        heute nicht mehr, schauen wir mal morgen, wenn es passt.

        VG
        Bernd

        1 Reply Last reply Reply Quote 0
        • s.bormann
          s.bormann Most Active last edited by

          Fehler ist gefunden. Wird in der nächsten Version gefixed bzw. ist jetzt schon auf Github online.

          Habe bei der Gelegenheit auch ein kleines Tutorial zur Map ins Wiki geladen:
          https://github.com/sbormann/ioBroker.iqontrol/wiki/Map-Widget

          58464899-b9a1-46a2-8a67-09dd3901e666-image.png

          VG

          M 1 Reply Last reply Reply Quote 0
          • M
            Mike Hellracer @s.bormann last edited by Mike Hellracer

            @s-bormann
            HI, ich habe das Widget soweit zum Laufen, aber ich habe noch nicht verstanden wofür die Punkte unter Widget.Position sind?
            Nachtrag:
            bzw habe ich jetzt unter Position 0 und 1 was eingetragen. Aber in Widget.Position bleibt immer die Werte aus 0 und den zoom kann ich gar nicht mehr ändern.

            ? 2 Replies Last reply Reply Quote 0
            • ?
              A Former User @Mike Hellracer last edited by

              @mike-hellracer

              Moin,

              zeig doch mal was Du wie, wo eingetragen hast.

              Also Du brauchst erstmal von irgendwo die Lat. / Log. Koordinaten, die Du dann mittels eines kleinen Skriptes in die passenden Datenpunkte des Widgets unter iqontrol.0 schreibst.

              Blockly:
              0545a1f0-36a7-4ce6-9d34-2614692edf52-grafik.png

              
              <xml xmlns="https://developers.google.com/blockly/xml">
                <block type="direct" id="KS?A[4xEnz{zW]}@2y-K" x="-178" y="-1879">
                  <field name="ONLY_CHANGES">FALSE</field>
                  <value name="OID_SRC">
                    <shadow type="field_oid" id="+aUU7_r-,+s(}t2AmJOe">
                      <field name="oid">google-sharedlocations.0.user.105107681248156624949.lat</field>
                    </shadow>
                  </value>
                  <value name="OID_DST">
                    <shadow type="field_oid" id="djXzq;t@l]F?=U*eQ?=|">
                      <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.0.Position.latitude</field>
                    </shadow>
                  </value>
                  <next>
                    <block type="direct" id="A$+xG:(X(oF`4s|P~p|*">
                      <field name="ONLY_CHANGES">FALSE</field>
                      <value name="OID_SRC">
                        <shadow type="field_oid" id="6Y/~mp7Nj0Y:zC{)HRxx">
                          <field name="oid">google-sharedlocations.0.user.105107681248156624949.long</field>
                        </shadow>
                      </value>
                      <value name="OID_DST">
                        <shadow type="field_oid" id="UfIk2SEoS(]M`9n/+)q1">
                          <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.0.Position.longitude</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="direct" id="xO7f2x8DC`Rqbv(%_f#u">
                          <field name="ONLY_CHANGES">FALSE</field>
                          <value name="OID_SRC">
                            <shadow type="field_oid" id="trPiEyUmP$;!M/3w-2:*">
                              <field name="oid">google-sharedlocations.0.user.109829083446177512160.lat</field>
                            </shadow>
                          </value>
                          <value name="OID_DST">
                            <shadow type="field_oid" id="35B`o;)27()us!/$NpW+">
                              <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.1.Position.latitude</field>
                            </shadow>
                          </value>
                          <next>
                            <block type="direct" id="|81iMQ._3?5XY.KfobTy">
                              <field name="ONLY_CHANGES">FALSE</field>
                              <value name="OID_SRC">
                                <shadow type="field_oid" id="C[h@N%I7_RjY4**sJvZE">
                                  <field name="oid">google-sharedlocations.0.user.109829083446177512160.long</field>
                                </shadow>
                              </value>
                              <value name="OID_DST">
                                <shadow type="field_oid" id="HZAb-!EBF:K6?k^;=@yF">
                                  <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.1.Position.longitude</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="direct" id="^cGrL6.tk+o,=t^lQ@p0">
                                  <field name="ONLY_CHANGES">FALSE</field>
                                  <value name="OID_SRC">
                                    <shadow type="field_oid" id="$%8Dju_Gaj`5v6f@U)CW">
                                      <field name="oid">vw-connect.0.WVWZZZCDZNW.position.latitudeConv</field>
                                    </shadow>
                                  </value>
                                  <value name="OID_DST">
                                    <shadow type="field_oid" id="e[v1u]14va@@icgJ_~xO">
                                      <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.9.Position.latitude</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="direct" id="qjOiY)?_7#3-_;gC|B,5">
                                      <field name="ONLY_CHANGES">FALSE</field>
                                      <value name="OID_SRC">
                                        <shadow type="field_oid" id="4|rTWq6Hru?s.NWhq|ZD">
                                          <field name="oid">vw-connect.0.WVWZZZCDZNW.position.longitudeConv</field>
                                        </shadow>
                                      </value>
                                      <value name="OID_DST">
                                        <shadow type="field_oid" id="?qEa^.l!50Q1w+bjI/.5">
                                          <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.9.Position.longitude</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="on_ext" id="lbSgv(mDUTu-;c_6d!l$">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation>
                                          <field name="CONDITION">ne</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                            <shadow type="field_oid" id="Udd=k6PV7N=s+wZi+%3Q">
                                              <field name="oid">google-sharedlocations.0.user.105107681248156624949.lat</field>
                                            </shadow>
                                          </value>
                                          <value name="OID1">
                                            <shadow type="field_oid" id="YSy:p,9fKMCk5Lvi-0TL">
                                              <field name="oid">google-sharedlocations.0.user.105107681248156624949.long</field>
                                            </shadow>
                                          </value>
                                          <value name="OID2">
                                            <shadow type="field_oid" id="DN,cPy!6j%4RD86-{2W$">
                                              <field name="oid">google-sharedlocations.0.user.109829083446177512160.lat</field>
                                            </shadow>
                                          </value>
                                          <value name="OID3">
                                            <shadow type="field_oid" id="S4RZ:Ehzf1|B3Xr2M7u7">
                                              <field name="oid">google-sharedlocations.0.user.109829083446177512160.long</field>
                                            </shadow>
                                          </value>
                                          <value name="OID4">
                                            <shadow type="field_oid" id="%Byn~!lAe2v5FY{0{O|!">
                                              <field name="oid">vw-connect.0.WVWZZZCDZNW.position.latitudeConv</field>
                                            </shadow>
                                          </value>
                                          <value name="OID5">
                                            <shadow type="field_oid" id="ktVW(=`WbV{b-:ZA-3`=">
                                              <field name="oid">vw-connect.0.WVWZZZCDZNW.position.longitudeConv</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="direct" id=",QU7c;gWDOZD|kFM2a9K">
                                              <field name="ONLY_CHANGES">TRUE</field>
                                              <value name="OID_SRC">
                                                <shadow type="field_oid" id="l-_qKEGa0/V`FQj00Slp">
                                                  <field name="oid">google-sharedlocations.0.user.105107681248156624949.lat</field>
                                                </shadow>
                                              </value>
                                              <value name="OID_DST">
                                                <shadow type="field_oid" id="O^@^%jNtuV~O_h!j_-qG">
                                                  <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.0.Position.latitude</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="direct" id="*^V%rrXdH}mftB.aNvT.">
                                                  <field name="ONLY_CHANGES">TRUE</field>
                                                  <value name="OID_SRC">
                                                    <shadow type="field_oid" id="G5l1.vv40$8n%V{~K68%">
                                                      <field name="oid">google-sharedlocations.0.user.105107681248156624949.long</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="OID_DST">
                                                    <shadow type="field_oid" id="][be3::[;`if1xI%GXfl">
                                                      <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.0.Position.longitude</field>
                                                    </shadow>
                                                  </value>
                                                  <next>
                                                    <block type="direct" id="eb!kX(*Ag5Rq?d%5-!TX">
                                                      <field name="ONLY_CHANGES">TRUE</field>
                                                      <value name="OID_SRC">
                                                        <shadow type="field_oid" id="{[=P*%4nA`q,LN/^nZ#K">
                                                          <field name="oid">google-sharedlocations.0.user.109829083446177512160.lat</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="OID_DST">
                                                        <shadow type="field_oid" id="*wTW;56|jUuoh6-;#0xR">
                                                          <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.1.Position.latitude</field>
                                                        </shadow>
                                                      </value>
                                                      <next>
                                                        <block type="direct" id=",qBgH9xH;.Ia#8h+hS8f">
                                                          <field name="ONLY_CHANGES">TRUE</field>
                                                          <value name="OID_SRC">
                                                            <shadow type="field_oid" id=")GOeta:bk}-w3t$WCz1%">
                                                              <field name="oid">google-sharedlocations.0.user.109829083446177512160.long</field>
                                                            </shadow>
                                                          </value>
                                                          <value name="OID_DST">
                                                            <shadow type="field_oid" id="$]{f-Ds]0n([B,^Zv8m,">
                                                              <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.0.Position.longitude</field>
                                                            </shadow>
                                                          </value>
                                                          <next>
                                                            <block type="direct" id="*-b5}1)soSfU`P.I.=mG">
                                                              <field name="ONLY_CHANGES">TRUE</field>
                                                              <value name="OID_SRC">
                                                                <shadow type="field_oid" id="m}*0rd3-[hK$4.H^%:%`">
                                                                  <field name="oid">vw-connect.0.WVWZZZCDZNW.position.latitudeConv</field>
                                                                </shadow>
                                                              </value>
                                                              <value name="OID_DST">
                                                                <shadow type="field_oid" id="c}ZO2-=dw*TLqMEkt.HL">
                                                                  <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.9.Position.latitude</field>
                                                                </shadow>
                                                              </value>
                                                              <next>
                                                                <block type="direct" id="[T$GOwJx|:awNFxo7SJ;">
                                                                  <field name="ONLY_CHANGES">TRUE</field>
                                                                  <value name="OID_SRC">
                                                                    <shadow type="field_oid" id="5~|C~kpS1^pFw9v|a$b4">
                                                                      <field name="oid">vw-connect.0.WVWZZZCDZNW.position.longitudeConv</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <value name="OID_DST">
                                                                    <shadow type="field_oid" id="oG]$1(km9!5WhgIQOi1/">
                                                                      <field name="oid">iqontrol.0.Widgets.Map.0.Favorites.9.Position.longitude</field>
                                                                    </shadow>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              

              Meine Longitude und Latitude Werte kommen vom Adapter google-sharedlocations. Wenn dann alles eingerichtet ist und Du in iQontrol das MAP-Widget nutzt, dann sieh das in etwas so aus
              9ea094d6-08f2-4419-add6-965ee6c39317-grafik.png

              VG
              Bernd

              P.S.: es ist glaube ich, besser einen eigenen Post aufzumachen, und auf einen schon gelösten Post zu verweisen. Jetzt ist es wieder nicht mehr klar, ob der Thread gelöst ist oder nicht.

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Mike Hellracer last edited by

                @mike-hellracer sagte in [gelöst] iqontrol und das MAP-Widget:

                HI, ich habe das Widget soweit zum Laufen, aber ich habe noch nicht verstanden wofür die Punkte unter Widget.Position sind?

                Moin,

                diese beiden Werte geben die Anfangsposition und den Zoomlevel bekannt, die in iQontrol angezeigt werden.
                Bei den Werten:
                3bd8d0f3-77ab-4433-a7e4-5ef8a93b6dab-grafik.png
                Bekommst Du diese Ansicht:
                92d1370c-bd75-4c6d-9019-57f2607324d6-grafik.png

                Wenn Du da diese Werte einsetzt
                9efdff30-601b-4b52-a70a-ce9117c81bed-grafik.png

                Dann sieht das Ergebnis so aus
                6804af0b-2071-4d3a-a0fd-1bc664f7bbc8-grafik.png

                Ist halt grob die Latitude u. Longitude Deines Wohnorts, Landkreis, Bundesland, was auch immer Du beim Start der VIS sehen willst.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Mike Hellracer @Guest last edited by

                  @dp20eic
                  Danke für die schnelle Antwort.
                  Eine Frage stellt sich mir noch.
                  Kann ich auch einen DP als Quelle für Längen und Breitengrad angeben?
                  Oder geht das nur per Script?

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @Mike Hellracer last edited by

                    @mike-hellracer sagte in [gelöst] iqontrol und das MAP-Widget:

                    Kann ich auch einen DP als Quelle für Längen und Breitengrad angeben?

                    Moin,

                    ähm, wie willste denn die Daten aus Deinem Datenpunkt in die/den Datenpunkt von iQontrol schreiben, wenn nicht per Skript?
                    Vielleicht stehe ich ja auf dem berühmt, berüchtigtem Schlauch, aber das musst Du schon genauer erklären, was Du da wie machen willst!

                    Ich sagte doch, dass meine Quelle die Datenpunkte vom google-sharelocation sind.

                    Ich mache das noch mal mit Bildern:
                    34b58758-274f-43b2-8bea-030827c96804-grafik.png

                    A= Anfangsposition
                    B= Latitude kannst Du einmalig fest eintragen, sollte sich nicht ändern
                    C= Longitude kannst Du einmalig fest eintragen, sollte sich nicht ändern
                    D= Zoomstufe, einmal eintragen, sollte sich nicht änder

                    Unter Favoriten stehen dann die Lat. / Log, Pfad zum Icon in iQontrol und der Name, der beim Mouse over angezeigt werden.
                    a8a5394b-c844-4c4b-8af6-99e19060026f-grafik.png
                    A= Favorit 0 Position
                    B= Latitude, die ändert sich ja, sobald ich mich bewege, sprich sich mein Handy nicht mehr zu Hause befindet
                    C= wie bei Latitude, nur für Longitude
                    D= Pfad zum Icon, das für Favorit 0 angezeigt werden soll, fest ändert sich nicht
                    E= Name, der beim Mouse Over in der VIS angezeigt werden soll, fest ändert sich nicht

                    Dann das Ganze nochmals von meiner Frau und dem Auto, für Favorit 1 u. 2, wobei die Lat./Long., fürs Auto, nicht vom google-sharelocation kommen, sondern, vom VW-Adapter

                    VG
                    Bernd

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Mike Hellracer @Guest last edited by

                      @dp20eic
                      Das mit dem Script ist kein Problem. Ich kann JS und auch Blockly ist kein Thema.
                      Ich hatte mir nur gedacht da es sich eigentlich um die Eigenschaften eines Widgets handelt wäre es für die usability doch schön wenn man dort auch die DPs eingetragen könnte.
                      Wäre dann wohl ein Feature request.
                      Aber ich habe es jetzt auch über ein Script gelöst.

                      ? 1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @Mike Hellracer last edited by

                        @mike-hellracer sagte in [gelöst] iqontrol und das MAP-Widget:

                        ch hatte mir nur gedacht da es sich eigentlich um die Eigenschaften eines Widgets handelt wäre es für die usability doch schön wenn man dort auch die DPs eingetragen könnte.

                        Moin,

                        ah, ich glaube, jetzt habe ich das verstanden, was Du meinst 🙂
                        Bei VIS und dem GEO Widget geht das genau so, dass Du dort den DP auswählst, der die Koordinaten enthält.

                        VG
                        Bernd

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        480
                        Online

                        31.6k
                        Users

                        79.5k
                        Topics

                        1.3m
                        Posts

                        3
                        24
                        1364
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo