Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] iobrocker Wertevariable nach CCU schreiben

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    [gelöst] iobrocker Wertevariable nach CCU schreiben

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      @schneidy76:

      Helf mir mal, wie füge ich Bilder hier ein? `

      Liesmich

      http://forum.iobroker.net/viewtopic.php?f=8&t=404

      Gruß

      Rainer

      1 Reply Last reply Reply Quote 0
      • S
        schneidy76 last edited by

        also jetzt mal die Variable in der CCU
        2631_2017-08-02_19_22_54-microsoft_edge.jpg

        im iobroker
        2631_2017-08-02_19_21_37-microsoft_edge.jpg

        als Object
        2631_2017-08-02_19_21_06-microsoft_edge.jpg

        und hier der Wert in der CCU
        2631_2017-08-02_19_22_15-microsoft_edge.jpg

        hier das Script für die Variable aus smartmeter
        2631_2017-08-02_19_20_21-microsoft_edge.jpg

        könnt ihr was finden?

        VG Torsten

        1 Reply Last reply Reply Quote 0
        • rantanplan
          rantanplan last edited by

          Nimm den Baustein "Steuere….."

          NICHT "Aktualisiere....."

          Grüße

          1 Reply Last reply Reply Quote 1
          • Homoran
            Homoran Global Moderator Administrators last edited by

            Aber der Wert ist in ioBroker doch vorhanden, also muss das auch mit aktualisiere klappen.

            nur die CCU bekommt den Wert nicht mit.

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • rantanplan
              rantanplan last edited by

              @Homoran:

              nur die CCU bekommt den Wert nicht mit. `
              Deswegen "steuere…" 😉

              Grüße

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                again what learned 😄

                Danke

                Rainer

                1 Reply Last reply Reply Quote 1
                • S
                  schneidy76 last edited by

                  Kaum macht man es richtig, funktioniert es. :lol:

                  Worin liegt der Unterschied?

                  super, jetzt Punkt 2:

                  ich möchte den Punkt Falls: Object -> Object ID "Name"

                  dahin gehend erweitern zwei Objecte zu vergleichen und dann zu triggern oder zwei Objecte subtrahieren und abhängig zum Ergebnis zu triggern

                  Vielleicht machen wir dann auch hier weiter http://forum.iobroker.net/viewtopic.php?f=21&t=7444%5Burl%5D~~[[/url] ?

                  VG und vielen Dank](</s><LINK_TEXT text=)~~[" target="_blank">](</s><LINK_TEXT text=)[<link_text text="http://forum.iobroker.net/viewtopic.php … =7444<a href=" "="">http://forum.iobroker.net/viewtopic.php?f=21&t=7444[url]</link_text>[/url]" target="_blank">">http://forum.iobroker.net/viewtopic.php?f=21&t=7444](</s><LINK_TEXT text=) ?

                  VG und vielen Dank

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 last edited by

                    @schneidy76:

                    Kaum macht man es richtig, funktioniert es. :lol:

                    Worin liegt der Unterschied? `

                    setState("Object ID", );  // steuere
                    
                    setState("Object ID", , true);  // aktualisiere
                    
                    

                    Der Unterschied liegt im "ack" flag. setState(id, val, ack) mit ack = true, bedeutet für den Adapter, dass schon gesendet und dies bestätigt wurde.
                    @bluefox:

                    We should distinguish between commands and statuses, when we are talking about states. "Command" has ack flag as false and will be sent by user (over vis, javascript-adapter, admin) to control the devices or specific adapter. Normally adapters (e.g. homematic) are subscribed on all own changes and if some state changes with ack=false, they will try to execute this command (e.g. light on).

                    "Status" has "ack" flag as true and indicate that it is from device or service. E.g. if the weather adapter got new weather forecast, it will be published with ack=true or if homematic thermometer measures new temperature, it will be published with ack=true too. Even if the user physically will switch the light on, the new state will be published with ack=true.

                    Ack=false will be normally overwritten by execution after the response from device.

                    E.g. if the user in "vis" has pressed the button and sent command "hm-rpc.0.kitchen.light"=ON. The Socketio adapter will send to the hm-rpc.0 instance the new state with "kitchen.light" = {val: 1, ack: false}.

                    Homematic adapter is subscribed for all states of hm-rpc.0 and if the new state will be received with ack=false, it sends the new value to the physical switch.

                    Physical switch executes the command and sends to hm-rpc adapter the new own state ON. The hm-rpc.0 adapter publishes the new status of state "hm-rpc.0.kitchen.light"={val: 1, ack: true} (with time stamps).

                    This change will not be executed by hm-rpc adapter, because ack is true. And this is an acknowledgment from physical device. `

                    1 Reply Last reply Reply Quote 0
                    • rantanplan
                      rantanplan last edited by

                      @schneidy76:

                      Kaum macht man es richtig, funktioniert es. `

                      Dann mach bitte ein [gelöst] im Betreff Deines ersten Beitrags.

                      @schneidy76:

                      dahin gehend erweitern zwei Objecte zu vergleichen und dann zu triggern oder zwei Objecte subtrahieren und abhängig zum Ergebnis zu triggern `
                      Das wird so nicht gehen. Man kann nur Ereignisse triggern, nicht abhängig vom Ergebnis.
                      @schneidy76:

                      Vielleicht machen wir dann auch hier weiter [http://forum.iobroker.net/viewtopic.php?f=21&t=7444[url]? Gute Idee.
                      Wobei ich habe da Deine Anforderung immer noch nicht verstanden :oops:

                      Grüße" target="_blank">http://forum.iobroker.net/viewtopic.php?f=21&t=7444%5Burl]?

                      Gute Idee.

                      Wobei ich habe da Deine Anforderung immer noch nicht verstanden :oops:

                      Grüße](<URL url=) `

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

                        Hallo Forum,

                        ich verzweifel ... habe es fast genau so versucht habe nur eine Zeitplanung eingebaut ... aber er aktualisiert den Wert nicht....

                        Systemvariable ist "Maxtemp", ich möchte die maximale Temperatur in die CCU kriegen, um damit ggf. die Rolläden unten lassen zu können morgens. Die Temperatur bekommt er aus dem Adapter yr.no

                        Die Fehlermeldung des Log tauchen jede Minute auf (habe es zu Testzwecken mal minütlich gemacht, später dann einmal am Tag in der Nacht)

                        Sysvar.JPG

                        Script.JPG Log.JPG

                        Dank euch,

                        Frank

                        sigi234 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @Guest last edited by sigi234

                          @FrankDCE

                          cd /opt/iobroker/
                          iobroker stop tr-064
                          cd /opt/iobroker/node_modules/iobroker.tr-064
                          npm install soef
                          

                          Oder diesen Adapter installieren:
                          https://forum.iobroker.net/topic/22782/aufruf-test-community-version-vom-tr-064-adapter

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          886
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          8
                          20
                          8987
                          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