Ankündigung

Einklappen
Keine Ankündigung bisher.

Logic Node: Miele - Connect all your Miele devices to KNX!

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Hi Roeller

    great module! THANKS! I have a Miele dishwasher that I want to switch on in ECO mode via the X1. I have the developer access, I was also able to read out the device ID, but I don't know how to switch the appliance on in ECO mode. To find out more, I wanted to use "GET PROGRAMS". But when I connect this to an input and then switch it to 1, this error occurs:

    [2022-09-17 08:03:57] Code successfully retrieved from Redirect: DE_679a5e86a31ddddb1c0ee3204.
    [2022-09-17 08:03:57] Auth successfully retrieved: DE_9206fb87ff71dddb012189b.
    [2022-09-17 08:04:02] System.Net.WebException: Remote server returned an error: (400) Invalid request.
    at System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
    At System.Threading.Tasks.TaskFactory`1.FromAsyncCore Logic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization).
    --- End of stack monitoring from the previous location where the exception was thrown ---.
    for System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    for System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
    for System.Runtime.CompilerServices.ConfiguredTaskAwai table`1.ConfiguredTaskAwaiter.GetResult()
    at roelbroersma_nl.Logic.Node1.Miele.<WebRequestWrapp er>d__324.MoveNext()
    [2022-09-17 08:04:02] No content received after GET https://api.mcs3.miele.com/v1/device...29980/programs
    [2022-09-17 08:04:06] System.Net.WebException: The remote server returned an error: (400) Invalid request.
    at System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
    At System.Threading.Tasks.TaskFactory`1.FromAsyncCore Logic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization).
    --- End of stack monitoring from the previous location where the exception was thrown ---.
    for System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
    for System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
    for System.Runtime.CompilerServices.ConfiguredTaskAwai table`1.ConfiguredTaskAwaiter.GetResult()
    at roelbroersma_nl.Logic.Node1.Miele.<WebRequestWrapp er>d__324.MoveNext()
    [2022-09-17 08:04:06] No content received after GET https://api.mcs3.miele.com/v1/device...29980/programs

    GETACTIONS is working (but does not help me so much).

    GPA version --> 4.7
    Existing logic sheet

    What am I doing wrong?

    Many greetings
    Alex
    Zuletzt geändert von Sweeny; 17.09.2022, 07:35.

    Kommentar


      #17
      I have updated the version to v.0.1.2

      Kommentar


        #18
        Hi Roeller

        frist thank you for this great module!
        Yesterday, i try out your new v.0.1.2...but i get a problem.
        • If i run the module at GPA "Logik simulation" - I see all the correct values of my running Washing maschine (e.g. remaning time)
        • After "commissioning" (washing maschine is still running) - I don´t get any values at the Gira X1 app.
        • I start "Monitoring Datapoints" at GPA, one output (at the module) ist connected to "error text" receiving "No content received after GET https://api.mcs3.miele.com/v1/...."
        What I´m doing wrong ?​

        ******
        GPA version --> 4.7
        X1 Firmeware: 2.7.585
        Existing logic sheet​
        Zuletzt geändert von HlGHFlVE2021; 15.10.2022, 09:54.

        Kommentar


          #19
          Roeller

          You had already helped me once a few months ago in great detail - it then also worked for a long time. Now, however, every time after switching the input to 1, the device is not switched on at all.

          Failed PUT to https://api.mcs3.miele.com/v1/device...050xxx/actions

          The logic worked for a long time - I don't think I changed anything.​

          Do you have an idea?

          Switching on via Miele Swagger is possible immediately.
          You do not have permission to view this gallery.
          This gallery has 1 photos.
          Zuletzt geändert von Sweeny; 19.02.2023, 10:53.

          Kommentar


            #20
            Set the DEBUG to 1 and see what it outputs. Will it login, will it authenticate? Do you get a 400 or a 500 type error (which means: is it the requester which is wrong (400-type) or the server (500-type) ).

            I can also not see what you send to the JSON input, but please keep in mind the capitals everywhere!

            Kommentar


              #21
              Roeller

              Hi,

              * After first get state: no error message
              * After set power: But the device did not turn on!
              [2023-02-19 11:42:18] Code successfully retrieved from Redirect: DE_5b0ae0ef4d9a1216d12c8194e3ab5688.
              [2023-02-19 11:42:20] Code successfully retrieved from Redirect: DE_b5957a869d3fd272964bc0a92ed25332.
              [2023-02-19 11:42:23] Auth successfully retrieved: DE_4d4d03ce7d79ee1ca22ae7847603b13a.
              [2023-02-19 11:42:28] Auth successfully retrieved: DE_a30d363757850116578feb1295d4fb8b.

              * After set Programs:
              * JSON is: {"programId":3}
              [2023-02-19 11:42:32] System.Net.WebException: Der Remoteserver hat einen Fehler zurückgegeben: (400) Ungültige Anforderung.
              bei System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
              bei System.Threading.Tasks.TaskFactory`1.FromAsyncCore Logic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
              --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
              bei System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
              bei System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
              bei System.Runtime.CompilerServices.ConfiguredTaskAwai table`1.ConfiguredTaskAwaiter.GetResult()
              bei roelbroersma_nl.Logic.Node1.Miele.<WebRequestWrapp er>d__324.MoveNext()
              [2023-02-19 11:42:32] Failed PUT to https://api.mcs3.miele.com/v1/device...29sss/programs

              Seems to be the problem that the device does not turn on - as I said, about MIELE swagger worked immediately.

              Alex

              Kommentar


                #22
                Zitat von HlGHFlVE2021 Beitrag anzeigen
                Hi Roeller

                frist thank you for this great module!
                Yesterday, i try out your new v.0.1.2...but i get a problem.
                • If i run the module at GPA "Logik simulation" - I see all the correct values of my running Washing maschine (e.g. remaning time)
                • After "commissioning" (washing maschine is still running) - I don´t get any values at the Gira X1 app.
                • I start "Monitoring Datapoints" at GPA, one output (at the module) ist connected to "error text" receiving "No content received after GET https://api.mcs3.miele.com/v1/...."
                What I´m doing wrong ?​

                ******
                GPA version --> 4.7
                X1 Firmeware: 2.7.585
                Existing logic sheet​
                I am using GPA 4.8
                In the logic simulation everything works, but after commissioning I did't get any values.
                I created a variable for remaining time and the output is still ---

                Kommentar


                  #23
                  I found a hint on the diagnostic page of the X1:
                  No content received after GET https://api.mcs3.miele.com/v1/devices/000

                  Kommentar


                    #24
                    Roeller
                    Tried to find my fault, but I always get

                    [2023-03-04 07:53:20] No content received after GET https://api.mcs3.miele.com/v1/devices/xxx/state [2023-03-04 07:53:20] Received HTTP Status Code: 400.

                    The first "1" to get state does the auth - this works!
                    The second "1" and following to get state always produce the above error.

                    In the GPA simulation everythings works. Can't understand this.
                    Would be great if you can take a look on this.

                    Thanks!!

                    Kommentar


                      #25
                      Roeller

                      Since a few weeks your module does not work on the X1 - although I have not changed anything. Do you have a tip what I can do.

                      Kommentar


                        #26
                        Zitat von Sweeny Beitrag anzeigen
                        Roeller

                        Since a few weeks your module does not work on the X1 - although I have not changed anything. Do you have a tip what I can do.
                        Hi Sweeny, can you be a bit more specific? Does it still work in the GPA simulation?
                        Does the Error_Text port say anything when you enable debug mode?
                        Did you try to login to the Miele API with your ClientID and Secret? If this doesn't work, then try to re-authenticate (get a new ClientID and Secret), maybe Miele destroyed it.

                        Kommentar


                          #27
                          Hi Roeller
                          Thanks!

                          Zitat von Roeller Beitrag anzeigen
                          Does it still work in the GPA simulation?
                          Same problem
                          Zitat von Roeller Beitrag anzeigen
                          ​Does the Error_Text port say anything when you enable debug mode?
                          401 -> Authorization problem
                          Zitat von Roeller Beitrag anzeigen
                          ​Did you try to login to the Miele API with your ClientID and Secret? If this doesn't work, then try to re-authenticate (get a new ClientID and Secret), maybe Miele destroyed it.
                          Yes, that seems to be the problem. I can no longer log in? I have just contacted Miele. No idea what's going on there.

                          Kommentar


                            #28
                            The same probleme here, in the simulation everything is OK - but on the X1 the following error:
                            Screenshot 2023-05-14 162941.png

                            Kommentar


                              #29
                              Zitat von Engel der Nacht Beitrag anzeigen
                              The same probleme here, in the simulation everything is OK - but on the X1 the following error:
                              Screenshot 2023-05-14 162941.png

                              Hi Engel der Nacht, I doubt if it's the same problem as Sweeny, because you say that in the simulation it works Okay. This didn't work for Sweeny, he had his issue fixed after calling Miele.
                              Can you login to the Miele API and do the request via the API ?

                              Kommentar


                                #30
                                Roeller

                                I had written to Miele, never got a reply. But I can log in again.

                                However, I now get this error:
                                * Start Get_state
                                * Turn on the device (this already does not work).
                                * Then wants to change the program ({"programId":3})
                                * Then I want to start the program (START)

                                [2023-05-15 08:18:54] Code successfully retrieved from Redirect: DE_xxxxx.
                                [2023-05-15 08:18:55] Auth successfully retrieved: DE_xxxxx.
                                [2023-05-15 08:19:33] System.Net.WebException: Der Remoteserver hat einen Fehler zurückgegeben: (400) Ungültige Anforderung.
                                bei System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
                                bei System.Threading.Tasks.TaskFactory`1.FromAsyncCore Logic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
                                --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
                                bei System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
                                bei System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
                                bei System.Runtime.CompilerServices.ConfiguredTaskAwai table`1.ConfiguredTaskAwaiter.GetResult()
                                bei roelbroersma_nl.Logic.Node1.Miele.<WebRequestWrapp er>d__324.MoveNext()
                                [2023-05-15 08:19:33] Failed PUT to https://api.mcs3.miele.com/v1/device...029980/actions
                                [2023-05-15 08:19:38] System.Net.WebException: Der Remoteserver hat einen Fehler zurückgegeben: (400) Ungültige Anforderung.
                                bei System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
                                bei System.Threading.Tasks.TaskFactory`1.FromAsyncCore Logic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
                                --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
                                bei System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
                                bei System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
                                bei System.Runtime.CompilerServices.ConfiguredTaskAwai table`1.ConfiguredTaskAwaiter.GetResult()
                                bei roelbroersma_nl.Logic.Node1.Miele.<WebRequestWrapp er>d__324.MoveNext()
                                [2023-05-15 08:19:38] Failed PUT to https://api.mcs3.miele.com/v1/device...80/programs​

                                Kommentar

                                Lädt...
                                X