Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. asynchron, callback, promise, await -> Hilfe

    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

    asynchron, callback, promise, await -> Hilfe

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active @sigi234 last edited by

      @sigi234 sagte in asynchron, callback, promise, await -> Hilfe:

      @bahnuhr

      Hallo, muss da nicht der alte FB-Adapter installiert sein?

      Diesen DP fritzbox.0.history.allTableJSON gibt es im Community Adapter nicht.

      Ja, stimmt. hab ich ja auch.
      Vom TR hab ich aber doch auch nichts geschrieben.

      In meinem anderen thread hab ich auch gerade festgestellt, dass die Duration beim community TR nicht stimmt.
      Oder es ist bewusst so.

      mfg
      Dieter

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

        @bahnuhr sagte in asynchron, callback, promise, await -> Hilfe:

        So die Idee war nun, die json Tabelle der fritzbox als cacheselektor zu nehmen; die Nr. raus zu holen, eingeben in query um den Namen zu holen und dann wieder ein json in einem seperaten DP zu erzeugen.

        Und für was brauche ich das jetzt? Stehe auf der Leitung.

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

          @sigi234
          Ich lasse mir in vis die Anrufe anzeigen. (wie so viele andere auch).

          Und bei dieser Tabelle möchte ich den Namen angezeigt bekommen; und nicht die Nr..
          Weiterhin wollte ich das Datum sowie die Duration verändert angezeigt bekommen.

          sieht dann so aus:
          ef4eea7b-d88a-4e39-a80c-2f83a95581e2-image.png

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

            @bahnuhr sagte in asynchron, callback, promise, await -> Hilfe:

            Vom TR hab ich aber doch auch nichts geschrieben.

            Also du meinst diesen:

            https://github.com/ruhr70/ioBroker.fritzbox/blob/master/README.md

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

              @sigi234

              Der, der bei den Adaptern aufgelistet ist:
              3fb1ed02-385d-43c8-9c07-1cebbcb54377-image.png

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

                @bahnuhr sagte in asynchron, callback, promise, await -> Hilfe:

                @sigi234

                Der, der bei den Adaptern aufgelistet ist:
                3fb1ed02-385d-43c8-9c07-1cebbcb54377-image.png

                Ok, den habe ich nicht mehr. Nur mehr den TR-064 Community.
                Muss mal @apollon77 fragen ob der noch betreut wird.

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

                  @sigi234 sagte in asynchron, callback, promise, await -> Hilfe:

                  @bahnuhr sagte in asynchron, callback, promise, await -> Hilfe:

                  @sigi234

                  Der, der bei den Adaptern aufgelistet ist:
                  3fb1ed02-385d-43c8-9c07-1cebbcb54377-image.png

                  Ok, den habe ich nicht mehr. Nur mehr den TR-064 Community.
                  Muss mal @apollon77 fragen ob der noch betreut wird.

                  Der fritz.box funktioniert ja.
                  Frag lieber mal warum die duration im tr nicht stimmt.
                  Danke.

                  mfg

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

                    @bahnuhr sagte in asynchron, callback, promise, await -> Hilfe:

                    Frag lieber mal warum die duration im tr nicht stimmt.

                    Ich GLAUBE mal was gelesen zu haben , das diese erst ab min. 30 Sekunden gezählt wird. Auch hängt es mit dem Einstellungen vom Anrufbeantworter zusammen.

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

                      @sigi234 sagte in asynchron, callback, promise, await -> Hilfe:

                      @bahnuhr sagte in asynchron, callback, promise, await -> Hilfe:

                      Frag lieber mal warum die duration im tr nicht stimmt.

                      Ich GLAUBE mal was gelesen zu haben , das diese erst ab min. 30 Sekunden gezählt wird. Auch hängt es mit dem Einstellungen vom Anrufbeantworter zusammen.

                      Wäre für mich unlogisch.
                      Die Daten kommen doch hier auch von der fritzbox.

                      Und im Fritzbox Adapter werden sie ja auch richtig übermittelt.

                      Komisch.

                      1 Reply Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active last edited by

                        Wir hatte heute mittag einen Anruf:

                        Im DP fritzbox.0.history.allTableJSON steht (stark gekürzt wg. Lesbarkeit):

                        [{"date":"04.01.20 15:39:44","externalNumber":"066xxxx35","callSymbolColor":"<span style=\"color:green\"><b> ->></b></span>","extensionLine":"12","ownNumber":"066xxxx1","lineType":"SIP0","durationForm":"   2:54"}...]
                        

                        Im DP tr-064-community.0.calllists.all.json steht (stark gekürzt wg. Lesbarkeit):

                        [{"id":2235,"type":"1","caller":"066xxx35","called":"SIP: 3681","callednumber":"3681","name":"","numbertype":"sip","device":"Büro","port":"12","date":"04.01.20 15:36","duration":"0:03","count":"","path":"","sym":">","external":"066xxx35"}, ...]
                        

                        Fazit:
                        FB: 15:39 und 2:54
                        TR: 15:36 und 0:03

                        Für mich sieht das so aus, dass die Daten in FB erst übermittelt werden, wenn der Anruf erledigt ist. Und dies wäre m.E. auch richtig.

                        mfg

                        1 Reply Last reply Reply Quote 0
                        • bahnuhr
                          bahnuhr Forum Testing Most Active last edited by

                          Nachtrag:
                          jetzt wirds interessant.

                          In der Fritze unter Anrufe steht:
                          abae760f-9124-4d88-8625-4df3fab44ebd-image.png

                          Richtig wäre analog Fritze:
                          15:36 und 2:54

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

                            Es gibt ein issue dazu schon beim tr-064. muss nur Zeit finden mir das mal anzusehen.

                            bahnuhr 1 Reply Last reply Reply Quote 1
                            • bahnuhr
                              bahnuhr Forum Testing Most Active @apollon77 last edited by

                              @apollon77 sagte in asynchron, callback, promise, await -> Hilfe:

                              Es gibt ein issue dazu schon beim tr-064. muss nur Zeit finden mir das mal anzusehen.

                              Sehr gut, wollte eben auch ein issue erstellen.
                              Aber wenn es schon da ist, dann alles gut.

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @bahnuhr last edited by

                                @bahnuhr sagen wir es so: es ist in nem andern Thema aufgefallen und daher dir mit drin.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                836
                                Online

                                31.8k
                                Users

                                79.9k
                                Topics

                                1.3m
                                Posts

                                javascript
                                7
                                60
                                4444
                                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