midea2lox Plugin Probleme

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • marcb
    LoxBus Spammer
    • 19.08.2017
    • 293

    #1

    midea2lox Plugin Probleme

    Ich habe das Plugin installiert und konfiguriert und die Geräteerkennung funktioniert (ich nutze den SK-103 Stick und habe die Beispielkonfig übernommen). Das Plugin meldet über MQTT auch den erfolgreichen Start
    Das Problem: Wenn ich nun einen Befehl von Loxone zum Plugin sende steht im Log:

    a)
    25.09 11:43 Midea2Lox.py INFO Incomming Message from Loxone: ['power.False', 'tone.False', '23', 'ac.operational_mode_enum.auto', 'ac.fan_speed_enum.Auto', 'ac.swing_mode_enum.Off', 'eco.False', 'turbo.False', '1234567890']
    25.09 11:43 Midea2Lox.py INFO send Message to Midea Appliance
    25.09 11:43 Midea2Lox.py ERROR (, SystemExit('missing device_id, please check your Loxone config'), )

    b)
    25.09 11:43 Midea2Lox.py INFO Incomming Message from Loxone: ['status']
    25.09 11:43 Midea2Lox.py INFO send Message to Midea Appliance
    25.09 11:43 Midea2Lox.py ERROR (, SystemExit('missing device_id, please check your Loxone config'), )

    Wo in der LoxConfig muss ich beim Absetzen des Befehls die Device ID noch angeben? Die steht doch im virtuellen Ausgang Befehl und kommt auch im Plugin an?
    Lt. Doku muss auch die ip und der Token übergeben werden, aber das macht das Plugin wohl selbst (es speichert die Daten bei der Geräteerkennung und fügt diese dann automatisch hinzu).

    Und wie verhält es sich mit der Statusabfrage? Braucht man die überhaupt und wenn ja müsste da nicht auch die ID übergeben werden?


    Loxone (für Visualisierung und Komfortfunktionen): MS2, 2x KNX + DMX + Air Ext, 2x Audio Server + 4x Stereo Ext, Baudisch ECO an MS + Fritzbox, NFC Code Touch)
    KNX (autark für alle Grundfunktionen): >100 KNX-Geräte (Aktoren, Sensoren, Glastaster...)
  • pezo
    Smart Home'r
    • 12.09.2022
    • 46

    #2
    Hi Marc, Midea2Lox geht von einer 14 stelligen Device-ID aus. Wie viele Stellen hat denie Device ID? (gefundene Geräte) Gruß pezo

    Kommentar

    • Moody2109
      Dumb Home'r
      • 08.08.2020
      • 11

      #3
      Hallo zusammen,

      ich habe leider eine 15-stellig ID und leider kommt dann auch die o.g Fehlermeldung. Gibt es dazu bereits eine Lösung. Ich hatte einfach mal die erste und letzte Ziffer rausgelassen, aber das hat nichts gebracht. Vielen Dank im Voraus!

      Gruß Daniel

      Kommentar

      • dr_dee
        LoxBus Spammer
        • 10.10.2015
        • 273

        #4
        Hallo zusammen,
        ich habe das gleiche Problem. Ich nutze einen EU-OSK103. Das Plugin liest alles sauber aus. Die Beispielprogrammierung habe ich auch übernommen und wenn ich den Status teste, bekomme ich den Fehler. Meine ID ist auch 15-stellig.
        Logfile im Anhang.

        Gruß Lars
        Angehängte Dateien
        Wohnhaus Baujahr 2013
        2x Miniserver Go Gen. 2; 1x Miniserver Gen. 1; 5x Extensions; 4x Relay; 4x Dimmer; 1x 1-Wire; KNX-Sensorik/Aktorik; Smart Socket Air; Bewegungsmelder Air; Tür- und Fensterkontakte Air; Wassersensor Air; Touch Air; IR Control Air; Ceiling Light Air
        Loxberry (Raspberry); Philips Hue; Alexa2Lox; Shelly

        Kommentar

        • dr_dee
          LoxBus Spammer
          • 10.10.2015
          • 273

          #5
          Hallo zusammen,

          ich habe das Plugin für mich so angepasst, dass eine ID mit 15 Stellen funktioniert.
          Ich stelle es gerne zur Verfügung, aber ohne Gewähr, dass es funktioniert.
          Bei Interesse meldet euch gerne.

          Gruß Lars
          Wohnhaus Baujahr 2013
          2x Miniserver Go Gen. 2; 1x Miniserver Gen. 1; 5x Extensions; 4x Relay; 4x Dimmer; 1x 1-Wire; KNX-Sensorik/Aktorik; Smart Socket Air; Bewegungsmelder Air; Tür- und Fensterkontakte Air; Wassersensor Air; Touch Air; IR Control Air; Ceiling Light Air
          Loxberry (Raspberry); Philips Hue; Alexa2Lox; Shelly

          Kommentar


          • Moody2109
            Moody2109 kommentierte
            Kommentar bearbeiten
            Sehr gerne, was muss ich tun ?:?

            Gruß Daniel
        • dr_dee
          LoxBus Spammer
          • 10.10.2015
          • 273

          #6
          Hallo,
          ich lade mal meine Version hier hoch.
          Verwendung natürlich auf eigene Gefahr, da ich das auch nur per Zufall gefunden habe. Ich habe die Anzahl der ID von 14 auf 15 geändert.
          Vielleicht kann das ja jemand im Plugin als Release hinterlegen, so dass beide längen der ID funktionieren.
          Im Anhang meine Version als Version mit "a" als Zusatz.

          Gruß Lars
          Angehängte Dateien
          Zuletzt geändert von dr_dee; 20.07.2023, 17:54.
          Wohnhaus Baujahr 2013
          2x Miniserver Go Gen. 2; 1x Miniserver Gen. 1; 5x Extensions; 4x Relay; 4x Dimmer; 1x 1-Wire; KNX-Sensorik/Aktorik; Smart Socket Air; Bewegungsmelder Air; Tür- und Fensterkontakte Air; Wassersensor Air; Touch Air; IR Control Air; Ceiling Light Air
          Loxberry (Raspberry); Philips Hue; Alexa2Lox; Shelly

          Kommentar

          • seppe
            Smart Home'r
            • 12.03.2017
            • 45

            #7
            Hallo, hab ich nicht mitbekommen diesen Thread, sorry
            Sollte nun mit dem letzen Release funktionieren. Es werden IDs zwischen 10 und 20 Stellen akzeptiert.

            Gruß

            Kommentar

            • dr_dee
              LoxBus Spammer
              • 10.10.2015
              • 273

              #8
              Hallo,
              vielen Dank für das Anpassen.
              Gruß Lars
              Wohnhaus Baujahr 2013
              2x Miniserver Go Gen. 2; 1x Miniserver Gen. 1; 5x Extensions; 4x Relay; 4x Dimmer; 1x 1-Wire; KNX-Sensorik/Aktorik; Smart Socket Air; Bewegungsmelder Air; Tür- und Fensterkontakte Air; Wassersensor Air; Touch Air; IR Control Air; Ceiling Light Air
              Loxberry (Raspberry); Philips Hue; Alexa2Lox; Shelly

              Kommentar

              • Grzesiek Gik
                Dumb Home'r
                • 29.10.2021
                • 14

                #9
                Hello, i was using Midea2Lox for 2 years... it work perfect till now. I had only 1 AC Split.
                And from today i have 2 ACs Splits.
                Couldnt discover 2nd... and reinstaled pluggin. And everything went die. Cant find any1. So now there is not working at all.
                Instaled version 3.2.3 but there is problem with login. It cant log to Midea.
                Installed also 3.1.4 and i can put there pass and login at least. But still there is same error.
                Maybe is there a problem with Midea Aplication? Please need a tip what to do.

                My log:


                10.08 23:07 Midea2Lox.py DEBUG Debug is True
                10.08 23:07 Midea2Lox.py INFO found MQTT Gateway Plugin - publish over MQTT except on support_mode
                10.08 23:07 Midea2Lox.py INFO Midea2Lox Version: 3.1.4 msmart Version: 0.1.35
                10.08 23:07 Midea2Lox.py INFO Socket bind complete, listen at 192.168.1.21:7013
                10.08 23:07 Midea2Lox.py INFO MQTT: Verbindung akzeptiert
                10.08 23:07 Midea2Lox.py DEBUG Publishing: MsgNum:1: 'Midea2Lox/connection/status','connected'
                10.08 23:07 discover.py INFO msmart version: 0.1.35 Currently only supports ac devices.
                10.08 23:07 discover.py INFO Sending Device Scan Broadcast...
                10.08 23:07 asyncio DEBUG Using selector: EpollSelector
                10.08 23:07 msmart.scanner DEBUG Broadcast message sent: 0
                10.08 23:08 msmart.scanner DEBUG Midea Local Data 192.168.1.101 837000b8200f06225a5a0111a8007a80000000000000000000 000000281d0500001d0000000000000000000000000000e78a 5d1a7d50a8608179abcd9c2cc9d75c2778007f0cdf0154d332 d4802917f7942006c990c118cccb8a3a91935fe2731372cc5a 32bb832713f3e339d56c6da39bdb403165a249a65a481f3ebc 609a791fca94541303884c52e880ddefc03190f31443d17c3a ac03a7656614ae1dca440d9448a3fc502347e5dbab2495b7fe 94230de7c191e742ed0a233e6ed37cebf1
                10.08 23:08 msmart.scanner DEBUG Decrypt Reply: 192.168.1.101 6501a8c02c1900003030303030305030303030303030513141 3834303744383743304545303030300b6e65745f61635f4330 45450000000001000000040000000000ac00000000000000a8 407d87c0ee069fcd0300080103000000000000000000000000 000000000000000000
                10.08 23:08 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): mapp.appsmb.com:443
                10.08 23:08 urllib3.connectionpool DEBUG https://mapp.appsmb.com:443 "POST /v1/user/login/id/get HTTP/1.1" 200 None
                10.08 23:08 msmart.cloud DEBUG Response: {"msg":"ok","result":{"loginId":"485f0cfc-fd69-41ac-b438-5466dad9ec76"},"errorCode":"0"}
                10.08 23:08 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): mapp.appsmb.com:443
                10.08 23:08 urllib3.connectionpool DEBUG https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None
                10.08 23:08 msmart.cloud DEBUG Response: {"msg":"ok","result":{"originPrivateVersion":"" ,"n ickname":"grzes.giker@gmail.com","sessionId":"d8bb 724c8cb34855b8925c70c9b5f00820230810210802790","ac cessToken":"388e2da96bc64f41fee98fbfd845d778b920eb b829d567559397ded751813801","userId":"9108660","ve rsionCode":"","leftCount":""},"errorCode":"0"}
                10.08 23:08 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): mapp.appsmb.com:443
                10.08 23:08 urllib3.connectionpool DEBUG https://mapp.appsmb.com:443 "POST /v1/iot/secure/getToken HTTP/1.1" 200 None
                10.08 23:08 charset_normalizer DEBUG Encoding detection: ascii is most likely the one.
                10.08 23:08 msmart.cloud DEBUG Response: {"result":{"tokenlist":[{"udpId":"230de7c191e742ed0a233e6ed37cebf1","ke y": "6db65fa160dd4d74b70cc6044060f7e399beef86c4c84 4179 ba7f5ae9ee61ca0","token":"A264411FD864A61EC5E8C4DF 047F660CF8DA59735EC671DC98F7AE50A0B0B88397DA786878 B8FC227B71B2F382E96BF1482ABDD164403D4D28027FF5BF6C 63C8"}]},"msg":"ok","errorCode":0}
                10.08 23:08 charset_normalizer DEBUG Encoding detection: ascii is most likely the one.
                10.08 23:08 discover.py ERROR (, ValueError(0, 'ok'), )
                10.08 23:08 discover.py ERROR (, SystemExit(), )


                and another try:

                11.08 07:27 msmart.cloud DEBUG Retrying API call: 'user/login'
                11.08 07:27 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): mapp.appsmb.com:443
                11.08 07:27 urllib3.connectionpool DEBUG https://mapp.appsmb.com:443 "POST /v1/user/login HTTP/1.1" 200 None
                11.08 07:27 msmart.cloud DEBUG Response: {"msg":"login failed, loginId is empty, please login again.","errorCode":"3144"}
                11.08 07:27 msmart.cloud DEBUG Restarting full: '3144' - 'login failed, loginId is empty, please login again.'
                11.08 07:27 urllib3.connectionpool DEBUG Starting new HTTPS connection (1): mapp.appsmb.com:443
                11.08 07:27 discover.py ERROR (, ValueError(3101, 'password error,please enter again.'), )
                11.08 07:27 discover.py ERROR (, SystemExit(), )​

                edit:
                I'm almost sure there is a problem w with login...
                I have account on Midea Air app. and migrated to MSmartHome too. But they changed something maybe?
                Zuletzt geändert von Grzesiek Gik; 11.08.2023, 07:30.

                Kommentar

                • seppe
                  Smart Home'r
                  • 12.03.2017
                  • 45

                  #10
                  Midea changed the API connection, so msmart needs to be updated.
                  There is a Programmer mill1000, he has done some changes on msmart. i´ve updated the msmart Version to his Version 2023.8.0. Discover should now work again with Midea2Lox V 3.2.4 (PreRelease).
                  Midea2Lox Release will stay to PreRelease, because i dont know if the changes affects other things on Midea2Lox. Please Try.

                  Kommentar

                  • Grzesiek Gik
                    Dumb Home'r
                    • 29.10.2021
                    • 14

                    #11
                    Great, just after work I will upgrade it. Hope will find mine AC splits. So now there is No space to put password or login? Is this ok?

                    Ill report back too.

                    Kommentar

                    • Grzesiek Gik
                      Dumb Home'r
                      • 29.10.2021
                      • 14

                      #12
                      Zitat von seppe
                      Midea changed the API connection, so msmart needs to be updated.
                      There is a Programmer mill1000, he has done some changes on msmart. i´ve updated the msmart Version to his Version 2023.8.0. Discover should now work again with Midea2Lox V 3.2.4 (PreRelease).
                      Midea2Lox Release will stay to PreRelease, because i dont know if the changes affects other things on Midea2Lox. Please Try.
                      Hello again.

                      Confirmed, everything is working very well.
                      2 devices founded and connected. Thanks You Very much
                      /bow

                      Kommentar

                      • regamp
                        Azubi
                        • 26.11.2023
                        • 1

                        #13
                        ​Hi
                        I have a problem with midea2lox plugin, i get an error. I dont know what the problem is. In the log file i see the 3 device. Midea2lox 3.3.1, Loxberry 3.0.0.6 in Virtual machine(i tried with 2.2 but, same problem) ,

                        Klicke auf die Grafik für eine vergrößerte Ansicht

Name: Képkivágás.png
Ansichten: 336
Größe: 82,3 KB
ID: 412282Klicke auf die Grafik für eine vergrößerte Ansicht

Name: h.png
Ansichten: 356
Größe: 232,8 KB
ID: 412281

                        Kommentar

                        • seppe
                          Smart Home'r
                          • 12.03.2017
                          • 45

                          #14
                          Ive pre-released a new Version with msmart 2023.11.0. This should fix your problem. But i havent tested it with Midea2Lox. It should work, but msmart has done some changes on fanspeed, maybe there are some problems.. so both Versions will be online.
                          f youre able to discover your devices with the pre release, save your device config from loxberry. you can use it with the Release Version of Midea2Lox.

                          Kommentar

                          • FRECH
                            LoxBus Spammer
                            • 07.08.2017
                            • 262

                            #15
                            Hallo!

                            Funktioniert das Plugin auch mit einer BreezeleSS+?

                            ​Danke und beste Grüße

                            Kommentar

                            Lädt...