Ankündigung

Einklappen
Keine Ankündigung bisher.

Miele@Home LBS for Homeserver (14360)

Einklappen
Dieser Beitrag wurde beantwortet.
X
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #91
    Answering my previous message: Likely the initialization fails and when attempting to print the error message, an exception happens instead.

    The error is:
    Code:
    "No redirect received after posting to "+auth_url
    (it should be
    Code:
    self.auth_url
    in the embedded code)

    Kommentar


      #92
      I think I have been missing to connect the developer tokens to my account. The page for that seems to be different now - it is https://www.miele.com/developer/openapi/index.html (click on a green "authorize" button at the bottom right). After that, the page displays lots of developer endpoints and the module works without exception. Thanks, Roeller

      Kommentar


        #93
        Getting a security token seems not to work always.
        Had to shutdown my HS for half a hour and since then the building block is not working anymore.
        Fails to get a new token.
        Also after i do some tests from the miele api website.

        It seems they also will fase out the way of authenticating is done now somewhere in 2026....
        Zuletzt geändert von charlez; 13.12.2025, 12:40.

        Kommentar


          #94
          Does it work on the Miele site itself? Or doesn’t it work?

          Kommentar


            #95
            In my case, I believe the instructions were not up-to-date. Afternfiguring out what was missing, everything worked.

            Kommentar


              #96
              On miele website it does work. Getting a 404 and 500 on HS.
              Angehängte Dateien
              Zuletzt geändert von charlez; 13.12.2025, 16:38.

              Kommentar


                #97
                I am getting error 500. The app works. The error text from the block is as follows

                HTTP Code: 500 received when doing a GET request. Response: <html>#015#012<head><title>500 Internal Server Error</title></head>#015#012<body>#015#012<center><h1>500 Internal Server Error</h1></center>#015#012<hr><center>nginx</center>#015#012</body>#015#012</html>
                Anything that I can do to debug?

                Kommentar


                  #98
                  I would guess the reason is that Miele switched to oauth2 and their legacy oauth server (used by the LBS) does not work right now. Would it be difficult to switch the module to oauth2 ?

                  https://developer.miele.com/docs/swa...-3rd-party-api

                  Kommentar


                    #99

                    I can rebuild it to the new oauth (I recently looked at it when creating the new beta for the X1 Miele logic node, see the other topic), but at that time the new oauth didn’t work on the Miele developer website (swagger). There was a bug in the resources, you should post that and the Miele developer website does a post with the wrong values (with a semicolon between read and the value). Probably it is that new that it doesn’t even work at their own site yet..

                    if it works there, then I will also upgrade this logic node.

                    Kommentar


                      Miele Immer besser, putting a Let's Encrypt free cert on api.mcs3.miele.com, but charging premium prices...

                      Kommentar


                        Hallo,
                        zu Weihnachten gab es eine neue Waschmaschine von Miele.
                        Dazu habe ich mir mal den Baustein auf den Homeserver gespielt.
                        Alle Einstellungen und Vorkehrungen laut Roeller habe ich vorgenommen.
                        Leider kommt eine Fehlermeldung:

                        10.01.2026 12:27:54 (1)
                        File "hs_logik.py", line 231, in calc
                        File "formula", line 1, in [module]
                        File "[14360_Miele_0]", line 52, in __init__
                        File "[14360_Miele_0]", line 70, in check
                        File "[14360_Miele_0]", line 107, in get_code
                        NameError: global name 'auth_url' is not defined
                        [5012L, 14360L, 0L, '(EI or EC[1] or EC[2] or EC[3] or EC[4] or EC[5] or EC[6] or EC[7])', 'Miele(locals())', '', 0L, 0L, 1L, 0L]​

                        Auch ist die Bedienung nicht möglich.
                        Kann jemand weiterhelfen?

                        Gruss Sebastian

                        Kommentar


                          Ich meine, ich hatte den Fehler auch. Soweit ich mich eriinere passiert der Crash in einem Teil des Programmcodes, der normalerweise nicht erreicht werden sollte und deswegen nicht so gut getestet ist. Aktuell funktioniert der Baustein nicht (s.o.) deswegen würde ich abwarten.

                          Kommentar


                            That’s really strange, I will take a look at it and the auth_url is a constant, if you filled in all the needed parameters it should be right.
                            Its functioning here, everyday, cause I shout out ‘he google, turn on coffee machine’ which works via babtech appmodule (google assistant) which is binded to KNX to the HomeServer module.
                            Still all working on the ‘old authentication’ method.

                            Kommentar


                              Also here, still not working anymore. Tried older version, new Miele api registration, always same error when retrieving a new token.
                              Something else that i can test? Or information i can provide to troubleshoot.

                              Kommentar


                                Maybe this could be the cause.
                                The primary url is was linked to miele.com/f/com/en/register_api.aspx
                                But this link seems to be broken now.
                                When you register an api token at the new Miele API Link at Get Involved​ you can`t link the api token to your account anymore. Or did I miss something?
                                Maybe it isn´t necessary any more?
                                And what language setting must be used in the LBS if I live in Austria? at-AT?
                                Zuletzt geändert von Knochen; Heute, 19:27.

                                Kommentar

                                Lädt...
                                X