Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Problem mit PiHole Adapter - deactPiHoleTime

    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

    [gelöst] Problem mit PiHole Adapter - deactPiHoleTime

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

      Hallo,

      bislang nutzte ich ein Script, das über Zuruf an Alexa über den DP - "deactPiHoleTime" den PiHole für 60 Sekunden deaktiviert. Das funktioniert nicht mehr. Das Script funktioniert, es trägt mir einen korrekten Wert in den DP zur Deaktivierung ein.

      Pi-hole v5.8.1 FTL v5.13 Web Interface v5.10.1

      PiHole Adapter ist 1.3.4

      der Broker hat Node.js v14.18.1, NPM 6.14.15

      Das Token habe ich bereits erneuert, der Adapter ist grün und empfängt regelhaft Daten vom PiHole. Nur die Reaktion auf den DP - "deactPiHoleTime" bleibt aus. Kann mir jemand sagen, wo das Problem ist?

      Im Log des PiHole Adapters stehen diese Meldungen

      
      pi-hole.0
      2022-01-09 17:59:28.740	info	State value to set for "pi-hole.0.summary.gravity_last_updated.relative.minutes" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.739	info	State value to set for "pi-hole.0.summary.gravity_last_updated.relative.hours" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.739	info	State value to set for "pi-hole.0.summary.gravity_last_updated.relative.days" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.738	info	State value to set for "pi-hole.0.summary.privacy_level" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.733	info	State value to set for "pi-hole.0.summary.reply_IP" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.733	info	State value to set for "pi-hole.0.summary.reply_CNAME" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.733	info	State value to set for "pi-hole.0.summary.reply_NXDOMAIN" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.733	info	State value to set for "pi-hole.0.summary.reply_NODATA" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.732	info	State value to set for "pi-hole.0.summary.dns_queries_all_types" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.732	info	State value to set for "pi-hole.0.summary.unique_clients" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.732	info	State value to set for "pi-hole.0.summary.clients_ever_seen" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.731	info	State value to set for "pi-hole.0.summary.queries_cached" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.731	info	State value to set for "pi-hole.0.summary.queries_forwarded" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.731	info	State value to set for "pi-hole.0.summary.unique_domains" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.730	info	State value to set for "pi-hole.0.summary.ads_percentage_today" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.730	info	State value to set for "pi-hole.0.summary.ads_blocked_today" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.730	info	State value to set for "pi-hole.0.summary.dns_queries_today" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.729	info	State value to set for "pi-hole.0.summary.domains_being_blocked" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.729	info	State value to set for "pi-hole.0.summaryRaw.gravity_last_updated.relative.minutes" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.729	info	State value to set for "pi-hole.0.summaryRaw.gravity_last_updated.relative.hours" has to be type "string" but received type "number"
      
      pi-hole.0
      2022-01-09 17:59:28.728	info	State value to set for "pi-hole.0.summaryRaw.gravity_last_updated.relative.days" has to be type "string" but received type "number"
      

      Besten Dank Jo

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @XxJooO last edited by

        @xxjooo

        diese fehler habe ich auch - sind eigentlich info's und keine fehler - einfach die instanz auf warn setzen

        Image 1.png

        das hat mit deinem problem nix zu tun

        was passiert, wenn du direkt den datenpunkt nutzt und etwas "von hand" reinschreibst (ohne scripte) - funktioniert das ?

        AApossis (170).gif

        XxJooO 1 Reply Last reply Reply Quote 0
        • XxJooO
          XxJooO @liv-in-sky last edited by

          @liv-in-sky,

          das ist das Problem. Ich kann von Hand einen Wert in den Datenpunkt schreiben. Im zweiten Fenster mit offenem PiHole sehe ich aber, dass der PiHole nicht deaktiviert wird. Adapter und PiHole scheinen aber verbunden, da die DPs regelhaft alle 60 Sekunden Daten empfangen...

          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @XxJooO last edited by

            @xxjooo du machst aber einen refresh der pihole webseite ?

            XxJooO 1 Reply Last reply Reply Quote 0
            • XxJooO
              XxJooO @liv-in-sky last edited by

              @liv-in-sky sagte in Problem mit PiHole Adapter - deactPiHoleTime ohne Funktion:

              @xxjooo du machst aber einen refresh der pihole webseite ?

              definitiv....

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @XxJooO last edited by

                @unltdnetworx - kann es sein, dass du den pihole adapter pflegst ?

                vielleicht kannst du da helfen

                @xxjooo - falls unltdnetworx sich nicht meldet - musst du wohl ein github issue aufmachen - bei mir geht es - zur not stoppe mal pihole instanz - lösche alle dp und starte die instanz neu - oder lösche den adapter und instaliere ihn nochmal

                sorry - mehr fällt mir nicht ein

                XxJooO unltdnetworx 2 Replies Last reply Reply Quote 0
                • XxJooO
                  XxJooO @liv-in-sky last edited by

                  @liv-in-sky

                  Danke, das Ganze läuft unter Proxmox und ich werde mich am WE nochmal damit auseinandersetzen. Dann müssen auch die laufenden Systeme mal wieder ein update bekommen.

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @XxJooO last edited by liv-in-sky

                    @xxjooo ist bei mir auch ein proxmox container

                    kannst du das ausführen im container ?

                    pihole disable 5m
                    
                    1 Reply Last reply Reply Quote 1
                    • unltdnetworx
                      unltdnetworx Developer @liv-in-sky last edited by

                      @liv-in-sky
                      Danke fürs Erwähnen.

                      @XxJooO
                      Das direkte Aktivieren in der Weboberfläche von pihole funktioniert normal? Unabhängig von ioBroker.

                      XxJooO 1 Reply Last reply Reply Quote 2
                      • XxJooO
                        XxJooO @unltdnetworx last edited by

                        @unltdnetworx sagte in Problem mit PiHole Adapter - deactPiHoleTime ohne Funktion:

                        @liv-in-sky
                        Danke fürs Erwähnen.

                        Hallo und danke an Euch Beide.

                        Ich habe jetzt mal das gesamte Proxmox neu gestartet und siehe, es funktioniert wieder!
                        Man sollte das einfach öfter mal machen, wenn was nicht will wie es soll.

                        unltdnetworx 1 Reply Last reply Reply Quote 0
                        • unltdnetworx
                          unltdnetworx Developer @XxJooO last edited by

                          @xxjooo
                          Perfekt. Dann hat sich das Thema geklärt. 😊

                          Bitte als gelöst markieren.

                          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

                          424
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          3
                          11
                          603
                          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