Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Frage wegen Warnings in Blockly Prg

    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

    Frage wegen Warnings in Blockly Prg

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

      Hier ist das Raw. Werteliste kann ich nicht beantworten.

      {
        "_id": "fhem.0.myHPSU.HPSU~Aktive_Betriebsart",
        "type": "state",
        "common": {
          "name": "myHPSU HPSU.Aktive_Betriebsart",
          "type": "string",
          "role": "text",
          "read": true,
          "write": false,
          "custom": {
            "history.0": {
              "enabled": true,
              "aliasId": "",
              "changesOnly": true,
              "debounce": 0,
              "changesRelogInterval": "0",
              "changesMinDelta": 0,
              "maxLength": 10,
              "retention": "31536000"
            }
          }
        },
        "native": {
          "Name": "myHPSU",
          "Attribute": "HPSU.Aktive_Betriebsart",
          "Readings": true,
          "type": "string",
          "role": "text"
        },
        "value": {
          "val": "Standby"
        },
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        },
        "from": "system.adapter.admin.0",
        "user": "system.user.admin",
        "ts": 1622098457713
      }
      
      Homoran 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @hg6806 last edited by paul53

        @hg6806
        Du triggerst auf "...Aktive_Betriebsart", vergleichst dann aber "...Betriebsart". Besser so für Beginn:

        Bild_2021-11-11_184938.png

        und so für Ende Abtauen:

        Bild_2021-11-11_185150.png

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

          @hg6806 sagte in Frage wegen Warnings in Blockly Prg:

          "type": "string",

          nein, ist wirklich ein String

          dann schreib mal zusätzliche einen debug Baustein rein, der die den WERT ausgibt, damit man sieht was da wirklich ankommt, wenn da Abtauen steht,
          Wert ist ein Menüpunkt des Pulldownmenüs in dem Baustein aus der Gruppe Trigger

          hg6806 1 Reply Last reply Reply Quote 0
          • hg6806
            hg6806 Most Active @Homoran last edited by

            @homoran
            Welcher Baustein ist das?

            paul53 Homoran 2 Replies Last reply Reply Quote 0
            • paul53
              paul53 @hg6806 last edited by paul53

              @hg6806 sagte: Welcher Baustein ist das?

              Wert? Es steht zuerst "Objekt ID" drin:

              Blockly_DP_Props.JPG

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

                @hg6806 sagte in Frage wegen Warnings in Blockly Prg:

                @homoran
                Welcher Baustein ist das?

                System -> debug

                1 Reply Last reply Reply Quote 0
                • hg6806
                  hg6806 Most Active last edited by

                  Sorry, brauch da immer etwas länger.
                  740542cb-bbc9-4775-877a-b5bbff03a017-image.png
                  So wahrscheinlich.

                  Gibt folgendes aus:

                  19:08:38.278	info	javascript.0 (996) script.js.common.Heizung.Letztes_Abtauen_ermitteln: Heizen
                  19:08:54.779	info	javascript.0 (996) script.js.common.Heizung.Letztes_Abtauen_ermitteln: Standby
                  

                  Abtauen an sich kann ich nicht provozieren.
                  Aber in der History-Liste steht definitiv "Abtauen" drin.

                  paul53 1 Reply Last reply Reply Quote 0
                  • hg6806
                    hg6806 Most Active last edited by

                    Standby	true		2021-11-11 19:08:54.776	
                    Heizen	true		2021-11-11 19:08:38.275	
                    Warmwasserbereitung	true		2021-11-11 19:07:45.955	
                    Standby	true		2021-11-11 18:52:23.234	
                    Heizen	true		2021-11-11 17:51:12.529	
                    Standby	true		2021-11-11 17:38:27.045	
                    Heizen	true		2021-11-11 17:21:08.841	
                    Standby	true		2021-11-11 17:18:00.298	
                    Warmwasserbereitung	true		2021-11-11 16:26:45.422	
                    Standby	true		2021-11-11 16:25:50.573	
                    Warmwasserbereitung	true		2021-11-11 15:37:24.787	
                    Standby	true		2021-11-11 15:32:05.956	
                    Warmwasserbereitung	true		2021-11-11 14:59:48.208	
                    Heizen	true		2021-11-11 11:58:37.692	
                    Standby	true		2021-11-11 11:57:46.281	
                    Heizen	true		2021-11-11 11:48:37.578	
                    Standby	true		2021-11-11 11:44:30.094	
                    Abtauen	true		2021-11-11 11:39:29.353	
                    Heizen	true		2021-11-11 09:57:30.358	
                    Standby	true		2021-11-11 09:49:26.442	
                    Abtauen	true		2021-11-11 09:44:39.438
                    
                    1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @hg6806 last edited by

                      @hg6806 sagte: History-Liste steht definitiv "Abtauen" drin.

                      Dann hast Du hier nur den falschen Datenpunkt für den Vergleich mit "Abtauen" verwendet.

                      1 Reply Last reply Reply Quote 0
                      • hg6806
                        hg6806 Most Active last edited by

                        Funktioniert!
                        Sorry, hatte dein Post ganz übersehen.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        813
                        Online

                        31.8k
                        Users

                        80.0k
                        Topics

                        1.3m
                        Posts

                        8
                        63
                        2038
                        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