Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. [Javascript] Midas (Aquatemp) Poolheizung

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Javascript] Midas (Aquatemp) Poolheizung

    This topic has been deleted. Only users with topic management privileges can see it.
    • Michael Roling
      Michael Roling Developer @sunnylaila last edited by

      @sunnylaila Ich habe das jetzt für 2 Funktionen eingebaut, wahrscheinlich muss das für alle anderen Funktionen auch noch implementiert werden. Wenn das dann alles funktioniert wird man dieses speziell im Adapter unchecken müssen das man die ssl zertifikat meldungen ignorieren möchte, was ein Sicherheitsrisiko ist. Aber erstmal testen ob es wie gesagt jetzt anders wird.

      S 1 Reply Last reply Reply Quote 0
      • S
        sunnylaila @Michael Roling last edited by

        @michael-roling

        habe es gerade neu installiert aber leider noch kein erfolg siehe log

        
        midas-aquatemp.0
        2024-07-17 18:38:47.258	error	Response: {"sessionid":null,"error_code":"0","error_msg":"Success","error_msg_code":"","totalSize":null,"totalPage":null,"nextPage":null,"objectResult":[],"isReusltSuc":true}
        
        midas-aquatemp.0
        2024-07-17 18:38:47.258	error	Error in updateDeviceID(): No device code found
        
        midas-aquatemp.0
        2024-07-17 18:38:47.092	info	Login ok! Token: TVhfM4yFTdnqTRMIchl7Rt+ILOZsLixeSOXBNvoowdNppxVNabU6Mj1mYkyWloTMXPFacEkw0HogOrNnmbsXTw==
        
        midas-aquatemp.0
        2024-07-17 18:38:46.550	info	Request token
        
        midas-aquatemp.0
        2024-07-17 18:38:46.546	info	Objects created
        
        midas-aquatemp.0
        2024-07-17 18:38:46.539	info	Create object: midas-aquatemp.0.rawJSON
        
        midas-aquatemp.0
        2024-07-17 18:38:46.521	info	Create object: midas-aquatemp.0.DeviceCode
        
        midas-aquatemp.0
        2024-07-17 18:38:46.514	info	Create object: midas-aquatemp.0.ProductCode
        
        midas-aquatemp.0
        2024-07-17 18:38:46.506	info	Create object: midas-aquatemp.0.exhaust
        
        midas-aquatemp.0
        2024-07-17 18:38:46.501	info	Create object: midas-aquatemp.0.coilTemp
        
        midas-aquatemp.0
        2024-07-17 18:38:46.497	info	Create object: midas-aquatemp.0.suctionTemp
        
        midas-aquatemp.0
        2024-07-17 18:38:46.493	info	Create object: midas-aquatemp.0.tempSet
        
        midas-aquatemp.0
        2024-07-17 18:38:46.488	info	Create object: midas-aquatemp.0.tempOut
        
        midas-aquatemp.0
        2024-07-17 18:38:46.483	info	Create object: midas-aquatemp.0.tempIn
        
        midas-aquatemp.0
        2024-07-17 18:38:46.478	info	Create object: midas-aquatemp.0.state
        
        midas-aquatemp.0
        2024-07-17 18:38:46.473	info	Create object: midas-aquatemp.0.silent
        
        midas-aquatemp.0
        2024-07-17 18:38:46.468	info	Create object: midas-aquatemp.0.rotor
        
        midas-aquatemp.0
        2024-07-17 18:38:46.463	info	Create object: midas-aquatemp.0.mode
        
        midas-aquatemp.0
        2024-07-17 18:38:46.459	info	Create object: midas-aquatemp.0.errorMessage
        
        midas-aquatemp.0
        2024-07-17 18:38:46.454	info	Create object: midas-aquatemp.0.errorLevel
        
        midas-aquatemp.0
        2024-07-17 18:38:46.447	info	Create object: midas-aquatemp.0.errorCode
        
        midas-aquatemp.0
        2024-07-17 18:38:46.438	info	Create object: midas-aquatemp.0.error
        
        midas-aquatemp.0
        2024-07-17 18:38:46.423	info	Create object: midas-aquatemp.0.consumption
        
        midas-aquatemp.0
        2024-07-17 18:38:46.415	info	Create object: midas-aquatemp.0.info.connection
        
        midas-aquatemp.0
        2024-07-17 18:38:46.358	info	Create object: midas-aquatemp.0.ambient
        
        midas-aquatemp.0
        2024-07-17 18:38:46.312	info	starting. Version 0.0.1 (non-npm: MiRo1310/ioBroker.midas-aquatemp#fe2980f6c63f14269805862155e182f5f2bed22b) in /opt/iobroker/node_modules/iobroker.midas-aquatemp, node: v20.15.1, js-controller: 5.0.19
        
        Michael Roling O 2 Replies Last reply Reply Quote 0
        • Michael Roling
          Michael Roling Developer @sunnylaila last edited by

          @sunnylaila sorry. Ich muss dann noch mal schauen.

          1 Reply Last reply Reply Quote 0
          • O
            oxident @sunnylaila last edited by

            @sunnylaila Das ist echt tricky ... hat aber mit den SSL-Sachen nix zu tun. Ich schaue parallel auch nochmal!

            Michael Roling 2 Replies Last reply Reply Quote 0
            • Michael Roling
              Michael Roling Developer @oxident last edited by Michael Roling

              @oxident Hast du schon was in Erfahrung bringen können? Mir scheint es so als ob er das Device nicht erkennt, und daher kann der ganze Code nicht laufen. Der Error der kommt, ist von mir so eingebaut. Das Login klappt ja, nur halt bekommt er keine weiteren Daten.

              Dann ist die Frage von wo kommt der ProduktId? In meiner App steht eine ganz andere Id als wie im Adapter ausgelesen.

              Ich nehme das mit dem ssl zertifikat erstmal wieder raus, denn das ist ja sonst eine mögliche Sicherheitslücke.

              Kann das was mit dem Api-Level zu tun haben?
              @sunnylaila Hast du das mal versucht ob es mit einem anderen geht?

              S 1 Reply Last reply Reply Quote 0
              • S
                sunnylaila @Michael Roling last edited by

                @michael-roling
                Was meinst du mit einem anderen?
                Kann ich eventuell euch aus der App etwas auslesen in den Parameter Einstellung ?

                Michael Roling 1 Reply Last reply Reply Quote 0
                • Michael Roling
                  Michael Roling Developer @sunnylaila last edited by

                  @sunnylaila ich meinte anderen api Level in den settings

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sunnylaila @znyde last edited by

                    @znyde said in [Javascript] Midas (Aquatemp) Poolheizung:

                    sorry für den Spam,

                    hier eine Lösung die bei mir geholfen hat

                    einfach diese Abfrage hinzufügen:

                    body: {product_ids: ["1442284873216843776"]},
                    
                    function updateDeviceID() {
                        
                        if(token!="") {
                            var optionsDev = {
                                url: cloudURL + '/app/device/deviceList.json',
                                headers: { "x-token": token},
                                body: {product_ids: ["1442284873216843776"]},
                               
                                method: 'POST',
                                json: true,
                                
                                rejectUnauthorized: false          
                            };
                    

                    hier hat zynde noch etwas im Javascript hinzugefügt für die product id
                    " body: {product_ids: ["1442284873216843776"]}, "

                    vielleicht hilft das ja etwas

                    1 Reply Last reply Reply Quote 0
                    • S
                      sunnylaila @Michael Roling last edited by

                      @michael-roling

                      api level hatte ich alle drei ausprobiert hat aber nichts geändert

                      Michael Roling 2 Replies Last reply Reply Quote 0
                      • Michael Roling
                        Michael Roling Developer @sunnylaila last edited by

                        @sunnylaila die productId ist bereits enthalten

                        1 Reply Last reply Reply Quote 0
                        • Michael Roling
                          Michael Roling Developer @oxident last edited by

                          @oxident Sag mal hatte das einen Grund warum man die Werte nur ändern darf wenn die Wärmepumpe an ist? Ich habe das mal raus genommen, es sei denn du hast da noch einen Einwand zu.

                          O 1 Reply Last reply Reply Quote 0
                          • Michael Roling
                            Michael Roling Developer @sunnylaila last edited by

                            @sunnylaila Ich habe noch mal ein paar kleine Änderungen vor genommen. Also noch einmal bitte testen

                            1 Reply Last reply Reply Quote 0
                            • O
                              oxident @Michael Roling last edited by

                              @michael-roling Also früher hat der Server sämtliche Änderungen (bis auf on/off) mit einem Fehler quittiert wenn die WP aus war. Ist das jetzt nicht mehr so?

                              Also bei @sunnylaila stehe ich auch gerade auf dem Schlauch. Eine Paketmitschnitt aus der App wäre cool, aber das ist ja sicherlich nicht ganz so leicht...
                              Eventuell könnte es an der ProductID liegen. Die habe ich vom Github-Projekt übernommen.

                              Michael Roling 1 Reply Last reply Reply Quote 0
                              • Michael Roling
                                Michael Roling Developer @oxident last edited by

                                @oxident ja das geht jetzt.

                                S 1 Reply Last reply Reply Quote 1
                                • S
                                  sunnylaila @Michael Roling last edited by

                                  @michael-roling

                                  habe es jetzt nochmal neu installiert mit dem selben Fehler

                                  	2024-07-20 08:02:46.517	error	Response: {"sessionid":null,"error_code":"0","error_msg":"Success","error_msg_code":"","totalSize":null,"totalPage":null,"nextPage":null,"objectResult":[],"isReusltSuc":true}
                                  
                                  midas-aquatemp.0
                                  2024-07-20 08:02:46.516	error	Error in updateDeviceID(): No device code found
                                  

                                  wobei mir jetzt gerade in der app die Poolheizung auch als Offline angezeigt wird.
                                  Probiere heute Nachmittag nochmal wenn die Poolheizung wieder als Online angezeigt wird und guck dann mal in den Parametereinstellungen ob ich da etwas mit Product ID sehe.

                                  Michael Roling 1 Reply Last reply Reply Quote 0
                                  • Michael Roling
                                    Michael Roling Developer @sunnylaila last edited by

                                    @sunnylaila unter diesem Benutzer ist auch definitiv eine pumpe registriert? Schau mal zusätzlich in der App was du für eine Product id hast

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      sunnylaila @Michael Roling last edited by

                                      @michael-roling

                                      jetzt ist die Poolheizung in der App wieder online ist aber im log immer noch gleich
                                      habe in der App mal Screenshots gemacht vielleicht hilft das ja

                                      IMG_8835.png IMG_8836.png IMG_8837.png IMG_8838.png IMG_8839.png IMG_8840.png IMG_8841.png IMG_8842.png IMG_8843.png IMG_8844.png IMG_8845.png IMG_8846.png

                                      Michael Roling 1 Reply Last reply Reply Quote 0
                                      • Michael Roling
                                        Michael Roling Developer @sunnylaila last edited by

                                        @sunnylaila du hast aber 2 Accounts? Einen für die App und einen für den Adapter?
                                        Und was mir noch aufgefallen ist, die zieltemperatur ist viel zu niedrig 🤣🤣🤣🤣
                                        Ich habe für heute die auf 33 grad stehen. 😋

                                        S 1 Reply Last reply Reply Quote 1
                                        • S
                                          sunnylaila @Michael Roling last edited by

                                          @michael-roling
                                          hi, ja habe 2 Accounts, die Zieltemperatur von dir gefällt mir auch besser, aber meiner Regierung nicht 😊

                                          Michael Roling 1 Reply Last reply Reply Quote 1
                                          • Michael Roling
                                            Michael Roling Developer @sunnylaila last edited by

                                            @sunnylaila und du benutzt auch wirklich nicht den gleichen Account trotz das du 2 hast.

                                            Mein Plan ist je nach Überschuss vom Strom die Temperatur zu steuern. Mindestens aber 30 grad.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            894
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            24
                                            354
                                            43914
                                            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