Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Tankerkönig funktioniert nicht

    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

    Tankerkönig funktioniert nicht

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

      Hallo,

      du könntest in der Admin Instanzenasicht mal auf den Experten Modus wechseln und dann die tankerkönig Instanz von info auf Debug stellen.

      Mal sehen, was das Log dann ausspuckt.

      Gruß,

      Pix

      1 Reply Last reply Reply Quote 0
      • T
        Thaibodo last edited by

        Danke für den Tip.

        Dann sieht das Log so aus:

        ankerkoenig.0 2018-12-11 05:20:48.839 debug system.adapter.admin.0: logging false

        tankerkoenig.0 2018-12-11 05:20:48.709 debug API Key Länge: 36 Zeichen

        tankerkoenig.0 2018-12-11 05:20:48.709 debug Option <reset values="">is true

        tankerkoenig.0 2018-12-11 05:20:48.709 debug initializing objects

        tankerkoenig.0 2018-12-11 05:20:48.706 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.tankerkoenig, node: v8.14.0

        tankerkoenig.0 2018-12-11 05:20:48.342 debug statesDB connected

        tankerkoenig.0 2018-12-11 05:20:48.318 debug objectDB connected

        tankerkoenig.0 2018-12-11 05:20:25.307 debug API Key Länge: 36 Zeichen

        tankerkoenig.0 2018-12-11 05:20:25.306 debug Option <reset values="">is true

        tankerkoenig.0 2018-12-11 05:20:25.306 debug initializing objects

        tankerkoenig.0 2018-12-11 05:20:25.303 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.tankerkoenig, node: v8.14.0

        Warum das Log eine falsche Uhrzeit anzeigt weiß ich auch nicht. Hier (Thailand) ist es jetzt 12:24 Uhr</reset></reset>

        1 Reply Last reply Reply Quote 0
        • T
          Thaibodo last edited by

          Das habe ich noch im History-Log gefunden:

          history.0 2018-12-11 06:06:46.097 info enabled logging of tankerkoenig.0.stations.1.station_id (Count=4), Alias=false

          history.0 2018-12-11 06:06:46.096 info enabled logging of tankerkoenig.0.stations.1.e5.short (Count=3), Alias=false

          history.0 2018-12-11 06:06:46.096 info enabled logging of netatmo.0.Thaibodo.Wohnzimmer.CO2.CO2 (Count=2), Alias=false

          history.0 2018-12-11 06:06:46.096 info enabled logging of Temp Wohnz (Count=1), Alias=true

          Alias=false macht mich stutzig. Ich weiß aber nicht, was ich da ändern muss.

          1 Reply Last reply Reply Quote 0
          • T
            Thaibodo last edited by

            Hat keiner mehr eine Idee?

            1 Reply Last reply Reply Quote 0
            • T
              Thaibodo last edited by

              Ich habe mich jetzt schon ein wenig in den ioBroker eingearbeitet, aber den Tankerkönig bekomme ich immer noch nicht hin. Wenn ich doch wenigsten EIN MAL Daten bekommen würde. :oops: Was braucht der Adapter eigentlich für Voraussetzungen. Der ioBroker läuft auf einer Synology DS916+

              Das Ist die Log-Datei von Tankerkönig.de:

              14.207.79.212 - - [19/Dec/2018:09:40:21 +0100] "GET /json/list.php?lat=52.52099975265203&lng=13.43803882598877&rad=4&sort=price&type=diesel&apikey=***** HTTP/1.1" 200 1533 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0) Gecko/20100101 Firefox/64.0" 0.005

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

                Servus Thaibodo,

                bitte entferne den API Key aus Deinem Beitrag, sonst wird dieser bei Tankerkönig ganz schnell gesperrt…

                Herzliche Grüße

                Equilora aka Harald

                1 Reply Last reply Reply Quote 0
                • T
                  Thaibodo last edited by

                  Hallo equilora,

                  Danke für den Hinweis. Ist mir gar nicht aufgefallen. 😮

                  Gruß

                  Thaibodo

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

                    Poste doch mal einen Screenshot der Adapter Einstellungen und Tankstellen ID‘s.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Thaibodo last edited by

                      Das mache ich gerne.

                      12121_bildschirmfoto_2018-12-30_um_13.50.56.png
                      12121_bildschirmfoto_2018-12-30_um_13.50.01.png

                      Gruß Bodo

                      1 Reply Last reply Reply Quote 0
                      • D
                        dondaik last edited by

                        was ist den bei cron */5 * * * * ?

                        und was steht in "json"

                        1 Reply Last reply Reply Quote 0
                        • T
                          Thaibodo last edited by

                          12121_bildschirmfoto_2018-12-30_um_16.35.47.png

                          So sieht es bei mir aus.

                          Wo finde ich "json"?

                          Gruß Bodo

                          1 Reply Last reply Reply Quote 0
                          • G
                            Grafschi last edited by

                            Hallo zusammen,

                            ich habe jetzt auch schon alles durchprobiert aber bei mir zeigt es immer kurz die Werte an und anschließend werden die Felder mit null gefüllt. Vielleicht kann mir hier jemand helfen. Das Log sieht folgendermaßen aus:

                            host.ioBroker-RasPi 2019-01-02 01:06:36.961 info instance system.adapter.tankerkoenig.0 terminated with code 0 (OK)

                            tankerkoenig.0 2019-01-02 01:06:36.646 info objects written

                            1 Reply Last reply Reply Quote 0
                            • T
                              Thaibodo last edited by

                              Hallo Grafschi,

                              sei zufrieden, dass bei dir überhaupt mal etwas angezeigt wird. 😉

                              Hast du im Adapter mal den Haken bei "Werte nullen" rausgenommen?

                              12121_bildschirmfoto_2019-01-02_um_13.02.07.png

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

                                Stell die Instanz mal auf logstufe debug und starte sie dann neu.

                                Was steht dann im log?

                                Gruß

                                Rainer

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dondaik last edited by

                                  und erst mal wieder alle 5 minuten abfragen…

                                  json sollte der letzte DP in der liste: objekte - tankerkönig.0 sein

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

                                    NIcht zu oft abfragen, dann kann der Account bei Tankerkoenig gesperrt werden!

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      Grafschi last edited by

                                      Haken setzen, Zeitwert krumm wählen, neu installieren habe ich alles ausprobiert, funktioniert aber leider nicht.

                                      Aus Debug sieht das Log folgendermaßen aus:

                                      ! host.ioBroker-RasPi 2019-01-02 11:00:16.958 info instance system.adapter.tankerkoenig.0 terminated with code 0 (OK)
                                      ! tankerkoenig.0 2019-01-02 11:00:16.662 debug objects written
                                      ! tankerkoenig.0 2019-01-02 11:00:16.661 debug Billigster Diesel: 0. Tankstelle esso, Preis: 1.309
                                      ! tankerkoenig.0 2019-01-02 11:00:16.659 debug Billigster E10: 0. Tankstelle esso, Preis: 1.349
                                      ! tankerkoenig.0 2019-01-02 11:00:16.658 debug Billigster E5: 0. Tankstelle esso, Preis: 1.369
                                      ! tankerkoenig.0 2019-01-02 11:00:16.657 debug Diesel: Station 0 teurer als bisher billigste Station 0
                                      ! tankerkoenig.0 2019-01-02 11:00:16.657 debug Diesel-Preis-Feld 0 gefüllt
                                      ! tankerkoenig.0 2019-01-02 11:00:16.656 debug E10: Station 0 teurer als bisher billigste Station 0
                                      ! tankerkoenig.0 2019-01-02 11:00:16.656 debug E10-Preis-Feld 0 gefüllt
                                      ! tankerkoenig.0 2019-01-02 11:00:16.654 debug E5: Station 0 teurer als bisher billigste Station 0
                                      ! tankerkoenig.0 2019-01-02 11:00:16.654 debug E5-Preis-Feld 0 gefüllt
                                      ! tankerkoenig.0 2019-01-02 11:00:16.652 debug Station K E Y entfernt esso wird bearbeitet …
                                      ! tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 1 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 2 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 3 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 4 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 5 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 6 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 7 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 8 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 9 ist leer
                                      ! tankerkoenig.0 2019-01-02 11:00:16.648 debug JSON ok
                                      ! tankerkoenig.0 2019-01-02 11:00:16.647 debug Typ Body: string >>> Body Inhalt: {"ok":true,"license":"CC BY 4.0 - https://creativecommons.tankerkoenig.de","data":"MTS-K","prices":{"K E Y entfernt":{"status":"open","e5":1
                                      ! tankerkoenig.0 2019-01-02 11:00:16.424 debug API Key Länge: 36 Zeichen
                                      ! tankerkoenig.0 2019-01-02 11:00:16.424 debug Option <reset values="">is false
                                      ! tankerkoenig.0 2019-01-02 11:00:16.423 debug initializing objects
                                      ! tankerkoenig.0 2019-01-02 11:00:16.416 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.tankerkoenig, node: v8.11.1
                                      ! tankerkoenig.0 2019-01-02 11:00:15.837 info States connected to redis: 127.0.0.1:6379
                                      ! tankerkoenig.0 2019-01-02 11:00:15.831 debug statesDB connected
                                      ! tankerkoenig.0 2019-01-02 11:00:15.796 debug objectDB connected
                                      ! host.ioBroker-RasPi 2019-01-02 11:00:14.041 info instance system.adapter.tankerkoenig.0 started with pid 7273</reset>

                                      15770_unbenannt.png

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

                                        Habe deinen Key aus dem Log entfernt - gibt sonst Ärger mit dem Tankerkoenig!

                                        tankerkoenig.0 2019-01-02 11:00:16.661 debug Billigster Diesel: 0\. Tankstelle esso, Preis: 1.309
                                        tankerkoenig.0 2019-01-02 11:00:16.659 debug Billigster E10: 0\. Tankstelle esso, Preis: 1.349
                                        tankerkoenig.0 2019-01-02 11:00:16.658 debug Billigster E5: 0\. Tankstelle esso, Preis: 1.369
                                        

                                        Diese würde er anzeigen, allerdings:

                                        tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 1 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 2 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 3 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 4 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.651 debug Einstellung/Eintrag Nr. 5 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 6 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 7 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 8 ist leer
                                        tankerkoenig.0 2019-01-02 11:00:16.650 debug Einstellung/Eintrag Nr. 9 ist leer
                                        

                                        Mach mal die Instanz neu (löschen, neu anlegen! - vorher die IDs in einen EDITOR kopieren)

                                        EDIT:

                                        stimmen denn die Tankstellen IDs??

                                        ich habe leider keinen Gruber, München gefunden, nur einen in Ottobrunn.

                                        Der hat die ID 64cc4dd1-1473-4404-83e8-bb816df582c9

                                        Gruß

                                        Rainer

                                        Gruß

                                        Rainer

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dondaik last edited by

                                          vergessen 😞 … (Thailand) - nicht das die daten da gar nicht ankommen.

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            Grafschi last edited by

                                            Als ich jetzt die ID von dir verwendet habe kam folgendes Problem:

                                            tankerkoenig.0 2019-01-02 11:48:49.556 error Spritpreise einlesen (gezielte Stationen via ID) - Parse Fehler: TypeError: Cannot read property '1' of undefined

                                            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

                                            906
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            89
                                            7824
                                            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