Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Tankerkönig Adapter Komplett umbau

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Tankerkönig Adapter Komplett umbau

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Einstein2002 @Issi last edited by

      @issi
      Danke für die Antwort, nun ja mein Fehler!!! Habe nur die Station bearbeitet aber dann nicht unten auf Speichern gedrückt. Hatte die Instanz nur neu gestartet.

      Sorry aber irgendwie den Wald vor lauter Bäumen nicht gesehen. Peinlich!!!
      Danke trotzdem!!

      1 Reply Last reply Reply Quote 0
      • Segway
        Segway @Issi last edited by

        @issi
        Habe von version 3.1 auf die 3.3er geupdatet.
        Auch die Anleitung befolgt. Stationen kopieren / Hinzufügen / Speichern / Adapter neu starten.

        Leider kommt noch folgende Meldung:

        
        tankerkoenig.0
        2023-03-04 19:06:39.974	error	[ Adapter V:3.3.3 requestData axios: 1.2.2 ] response data: {"status":"error","ok":false,"message":"eine oder mehrere Tankstellen-IDs nicht im korrekten Format"}
        
        tankerkoenig.0
        2023-03-04 19:06:39.973	error	[ Adapter V:3.3.3 requestData axios: 1.2.2 ] response not ok
        
        tankerkoenig.0
        2023-03-04 19:06:39.770	info	Start first request
        
        tankerkoenig.0
        2023-03-04 19:04:45.106	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        tankerkoenig.0
        2023-03-04 19:04:45.105	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        tankerkoenig.0
        2023-03-04 19:04:45.105	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        tankerkoenig.0
        2023-03-04 19:04:45.105	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        tankerkoenig.0
        2023-03-04 19:04:45.105	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        tankerkoenig.0
        2023-03-04 19:04:45.105	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        tankerkoenig.0
        2023-03-04 19:04:45.104	warn	Post code type is string in config from station ACCESS must be have type number. Please check your configuration or reconfigure the stations => edit station => save
        
        Issi 1 Reply Last reply Reply Quote 0
        • Issi
          Issi Developer @Segway last edited by

          @segway
          aktualisiere mal auf die 3.3.7 und prüfe noch mal alle Stationen, ob die ID richtig ist

          Segway 1 Reply Last reply Reply Quote 0
          • Segway
            Segway @Issi last edited by

            @issi sagte in Tankerkönig Adapter Komplett umbau:

            @segway
            aktualisiere mal auf die 3.3.7 und prüfe noch mal alle Stationen, ob die ID richtig ist

            Jo mit 3.3.7 sieht besser aus kommt aber beim Beenden noch ein error:

            
            tankerkoenig.0
            2023-03-04 19:29:05.676	info	Sync time set to 10 minutes or 600000 ms
            
            tankerkoenig.0
            2023-03-04 19:29:05.675	info	Adapter is already in daemon mode
            
            tankerkoenig.0
            2023-03-04 19:29:05.579	info	starting. Version 3.3.7 in /opt/iobroker/node_modules/iobroker.tankerkoenig, node: v18.12.1, js-controller: 4.0.24
            host.IoBCloud
            2023-03-04 19:28:53.987	info	instance system.adapter.tankerkoenig.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            host.IoBCloud
            2023-03-04 19:28:52.221	info	stopInstance system.adapter.tankerkoenig.0 killing pid 3593396
            host.IoBCloud
            2023-03-04 19:28:51.221	info	stopInstance system.adapter.tankerkoenig.0 send kill signal
            host.IoBCloud
            2023-03-04 19:28:51.125	info	stopInstance system.adapter.tankerkoenig.0 (force=false, process=true)
            host.IoBCloud
            2023-03-04 19:28:51.125	info	"system.adapter.tankerkoenig.0" enabled
            
            tankerkoenig.0
            2023-03-04 19:28:47.057	error	[ Adapter V:3.3.7 createObjects ] Error creating all states: Error: DB closed , stack: Error: DB closed at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24) at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25) at ObjectsInRedisClient._getObject (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:2663:37) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:2709:33) at processImmediate (node:internal/timers:473:21)
            
            tankerkoenig.0
            2023-03-04 19:28:47.048	info	Default value for state "tankerkoenig.0.stations.2.diesel.feed" could not be set: DB closed
            
            tankerkoenig.0
            2023-03-04 19:28:47.047	warn	Could not perform strict object check of state tankerkoenig.0.stations.2.diesel.feed: DB closed
            
            tankerkoenig.0
            2023-03-04 19:28:46.419	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            
            tankerkoenig.0
            2023-03-04 19:28:46.418	info	terminating
            
            tankerkoenig.0
            2023-03-04 19:28:46.416	info	Got terminate signal TERMINATE_YOURSELF
            
            Issi 1 Reply Last reply Reply Quote 0
            • Issi
              Issi Developer @Segway last edited by

              @segway kommt das bei jedem Beenden ?

              Segway 1 Reply Last reply Reply Quote 0
              • Segway
                Segway @Issi last edited by

                @issi sagte in Tankerkönig Adapter Komplett umbau:

                @segway kommt das bei jedem Beenden ?

                ja kommt jedesmal

                Issi 1 Reply Last reply Reply Quote 0
                • Issi
                  Issi Developer @Segway last edited by

                  @segway
                  also ich kann das nicht reproduzieren bei mir beendet er ohne Meldungen.
                  Was für eine JS-Controller-Version hast du?

                  Segway 1 Reply Last reply Reply Quote 0
                  • Segway
                    Segway @Issi last edited by

                    @issi

                    js controller 4.0.24

                    npm -v && node -v && nodejs -v
                    
                    9.5.0
                    v18.14.2
                    v18.14.2
                    
                    
                    Issi 1 Reply Last reply Reply Quote 0
                    • Issi
                      Issi Developer @Segway last edited by

                      @segway
                      hmm, genauso wie bei meinem Test System und ich habe dort keine Probleme.
                      Speicher dir deine config und installiere mal den Adapter komplett neu.

                      Segway 1 Reply Last reply Reply Quote 0
                      • Segway
                        Segway @Issi last edited by

                        @issi
                        Wird der API Schlüssel mit gespeichert beim export ?

                        Issi 1 Reply Last reply Reply Quote 0
                        • Issi
                          Issi Developer @Segway last edited by

                          @segway
                          ja sollte er speichert dir den aber zur Sicherheit noch mal separat, da er dort verschlüsselt ist

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

                            Hallo, würde mir gerne in der VIS anzeigen lassen wann der letzte Abruf der Daten war.
                            Im DP wird angezeigt
                            tanken-könig.png
                            In der VIS wird angezeigt: 1693825884534
                            Wie bekomme ich das korrekt angezeigt?

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

                              @nashra

                              widget timestamp

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

                                @bahnuhr sagte in Tankerkönig Adapter Komplett umbau:

                                @nashra

                                widget timestamp

                                Arg, nicht dran gedacht. 🤦‍♂️ es kann so einfach sein, danke

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

                                  @Issi
                                  Die Daten in z.B. "tankerkoenig.0.stations.cheapest.e5.cheapest_stations" stimmen nicht mehr seit einiger Zeit.
                                  Screenshot 2025-03-30 142802.png
                                  Die Daten sind alle aktuell, auch die DP der einzelnen Stationen wurden aktualisiert.
                                  Aber in cheapest wird zwar auch aktualisiert aber eben falsche Daten.

                                  Adapter: v3.4.0
                                  Admin: 7.6.3
                                  JS: 8.8.3

                                  Achja, was mir auch aufgefallen ist, ist das auch nicht unterschieden wird bei den Sorten.
                                  Wenn z.B. bft bei E10 1.79 und E5 1.85 kostet, aber bei Avia E10 1,70 und E5 1.85
                                  wird bft mit beiden angezeigt obwohl eine Anzeige bei Avia sein müßte da dort E10 billiger ist.

                                  mcm1957 haselchen 2 Replies Last reply Reply Quote 0
                                  • mcm1957
                                    mcm1957 @Nashra last edited by

                                    @nashra
                                    Issi wird dir leider hier nicht mehr antworten (können).

                                    Der Adapter Tankerkönig wurde deswegen zwischenzeitlich bereits in den iobroker-community-adapters Bereich verschoben. Bitte bei reproduzierbaren oder wahrscheinlichen Problemen ein Issue im Adapter Repository aufmachen.

                                    Falls jemand Zeit / Lust hat das anzusehen - ein PR ist immer willkommen.

                                    1 Reply Last reply Reply Quote 1
                                    • haselchen
                                      haselchen Most Active @Nashra last edited by haselchen

                                      @nashra

                                      Ich bin noch bei einer ganz alten Version 2.1.1
                                      Da läuft bis dato alles korrekt.
                                      Wenns sich bei Dir um einen Bug handelt, bleibe ich auch schön bei der Version 🙂

                                      2fc4654a-ca90-4c4c-9d66-c304ffc873dc-grafik.png

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

                                        @mcm1957
                                        Issue zwar angelegt aber kann geschlossen werden da Fehler gefunden

                                        @haselchen
                                        die 3.4.0 funktioniert einwandfrei, kannst updaten 😀

                                        Der Fehler kam dadurch das sich die ID einer Tanke geändert hatte und dadurch
                                        kam der Adapter wohl etwas durcheinander. Nachdem ich die ID korrigiert habe
                                        wird alles wieder korrekt angezeigt.

                                        arteck 1 Reply Last reply Reply Quote 0
                                        • arteck
                                          arteck Developer Most Active @Nashra last edited by

                                          @nashra
                                          und ich such mir einen ab....

                                          Nashra 1 Reply Last reply Reply Quote 1
                                          • Nashra
                                            Nashra Most Active Forum Testing @arteck last edited by

                                            @arteck sagte in Tankerkönig Adapter Komplett umbau:

                                            @nashra
                                            und ich such mir einen ab....

                                            Sorry @arteck 😞
                                            Mir hat es auch keine Ruhe gelassen, deswegen hatte ich die zwei Tage auch gesucht
                                            warum dies passiert. Das eine falsche ID dazu führte, da hatte ich auch nicht mit gerechnet.
                                            Ich frage mich nur warum diese geändert wurde, lief ja schon ewig der Adapter mit dieser
                                            alten ID. Es kam aber auch kein Fehler im Log.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            308
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            tankerkönig
                                            36
                                            318
                                            32992
                                            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