MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

    Scheduled Pinned Locked Moved Utilities
    31 Posts 9 Posters 14.9k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      djerik @evroom
      last edited by

      @evroom

      Inspired by the good work of @ViDiBi, I have created a version for Home Connect: https://github.com/djerik/MMM-HomeConnect

      It’s my first try of this - please let me know if this is useful and if you have ideas for improvement

      ViDiBiV 1 Reply Last reply Reply Quote 1
      • ViDiBiV Offline
        ViDiBi @djerik
        last edited by ViDiBi

        Hi @djerik !

        Thank you very much for the nice words :-) And I’m glad you’ve created the first Module for you :-)

        Have a great day! Oh and @dirkie : I hope I’ll soon have some time to look into the Logo issue :-) I haven’t forget about it!

        1 Reply Last reply Reply Quote 0
        • evroomE Offline
          evroom
          last edited by

          @djerik said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

          Inspired by the good work of @ViDiBi, I have created a version for Home Connect: https://github.com/djerik/MMM-HomeConnect

          Hi,

          I am having difficulties in registering an application in order to get a client ID and a client_secret.

          In the Register Application form, what do I use for example for the Redirect URI ?

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            djerik @evroom
            last edited by

            @evroom

            Sorry, that is missing from the documentation. The URI must be:
            http://localhost:3000/o2c

            Upon the first start of MagicMirror, it will start a browser and show the authorization screen using this URI. This is only necessary the first time, the access token will be refreshed automatically afterward.

            bf832ce6-08d4-4943-a7c8-954a3d0a683c-image.png

            1 Reply Last reply Reply Quote 0
            • evroomE Offline
              evroom
              last edited by

              @djerik said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

              it will start a browser and show the authorization screen using this URI.

              It will not take my password :-(
              I have the same login name (email address) as the home-connect account, perhaps that is the reason.
              I am trying to delete the account, but till now no luck.
              Will keep trying and will report back.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                djerik
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • R Offline
                  requiemmg @dirkie
                  last edited by

                  @dirkie said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

                  edit:
                  I found out there seems to be some (at least for me) not understandable interference between MMM-Miele and MMM-Fuel(https://github.com/fewieden/MMM-Fuel). In MMM-Fuel you have “car ICON” which can be enabled or disabled. it was enabled at first and then next to that little car there popped up. when using iconHeader=false in MMM-Fuel the car and the MIELE icon disappeared. Is this a problem with your module or with MMM-Fuel module? Would be great if you can have a look at it… ;)

                  Having the same issue. Thanks for the module, anyway :-)

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    djerik @evroom
                    last edited by

                    @evroom
                    Strange. Have you set up the application as described here:
                    https://github.com/artcom/home-connect-js

                    Have you entered the ID and Secret in your MM config?

                    Any errors in the log?

                    Do you have a screenshot?

                    evroomE 1 Reply Last reply Reply Quote 0
                    • evroomE Offline
                      evroom @djerik
                      last edited by

                      @djerik
                      The problem at this moment is not related to your module.
                      It is related to the home-connect accounts; the standard one and the developer one.
                      I cannot login into both accounts; I cannot login into the account using the app.
                      Password reset does not work; I do not get any mail.
                      Even setup a new account and here too no mail to activate the account.
                      I will need to contact the home-connect support, but could not find any time yet; hopefully this weekend.

                      1 Reply Last reply Reply Quote 0
                      • evroomE Offline
                        evroom
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          Tribun
                          last edited by

                          Hi folks, I installed the module according to the instructions, when I restart the MM² I only see “Charging devices”. In the log I find the following error message:

                          [2020-10-31 11:34:19.387] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                          [2020-10-31 11:34:19.391] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                          [2020-10-31 11:34:21.485] [ERROR]  2020-10-31T11:34:21 <warn> 401 Login Error ! (/home/pi/MagicMirror/modules/MMM-MieleAtHome/utilities/mieleathome.js:308 Request._callback)
                          [2020-10-31 11:34:21.489] [ERROR]  2020-10-31T11:34:21 <warn> undefined (/home/pi/MagicMirror/modules/MMM-MieleAtHome/utilities/mieleathome.js:309 Request._callback)
                          

                          I can log into my Miele account using the mobile app. Username and password are the same as with the Miele app? I have already created several client_ID and a client_Secret. However, I always get the same error message.

                          ViDiBiV 1 Reply Last reply Reply Quote 0
                          • ViDiBiV Offline
                            ViDiBi @Tribun
                            last edited by

                            Hi @Tribun,

                            Can you try here if you can log into your miele account and try to get any response and a token:

                            Miele 3rd Party APi

                            Have a great weekend

                            Victor

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              Tribun @ViDiBi
                              last edited by

                              @ViDiBi Hallo Victor, thanks for the link. Unfortunately, I am not familiar with programming on this page. Where should I log in or register?

                              I can also no longer enter any data for the Api registration on the Miele home page. (https://www.miele.com/f/com/en/register_api.aspx)

                              mfg

                              ViDiBiV 1 Reply Last reply Reply Quote 0
                              • H Offline
                                hypertraxs
                                last edited by

                                hello,

                                vorab super Modul. Hab jedoch ein paar Fehler gefunden bzw. es für mich (Österreich) adaptieren müssen.

                                beispielsweise - vg auf de-AT umstellen, Sprache muss auf DE in meinem Fall gestellt werden.

                                und nun zum Fehler: in der /utilities/mieleathome.js - Zeile 105 verursacht die Zeichenfolge / ein Kommentar und somit läuft der Code nicht mehr…

                                letztendlich hats dann funktioniert

                                gruß Hyper

                                ViDiBiV 1 Reply Last reply Reply Quote 0
                                • ViDiBiV Offline
                                  ViDiBi @Tribun
                                  last edited by

                                  Hi @tribun,

                                  sorry for the late reply but I had a lot to do in the last time :-)

                                  Are you now able to create for a miele account?

                                  Because you need one to have access to the miele API :-)

                                  Have a great day!

                                  Victor

                                  1 Reply Last reply Reply Quote 0
                                  • ViDiBiV Offline
                                    ViDiBi @hypertraxs
                                    last edited by

                                    Hi @hypertraxs,

                                    freut mich, dass dir das Modul gefällt :-)

                                    Hast du eine Lösung für das Problem mit dem Kommentar? Ich bin Java Skript leider nicht so richtig gewohnt, daher kann es gut sein, dass der Code nicht so der Hit ist :-S

                                    Wenn du also Verbesserungsvorschläge hast, baue ich sie gern ein :-)

                                    BG

                                    Victor

                                    O 2 Replies Last reply Reply Quote 0
                                    • B Offline
                                      BravoOscar
                                      last edited by

                                      I just tested this module and have found it working, if you use the following:

                                      Test your Miele@Home acount:
                                      https://www.miele.com/developer/swagger-ui/index.html

                                      Get your client_ID and client_Secret here:
                                      https://www.miele.com/f/com/en/register_api.aspx

                                      Your UserName and password are the same you use to login to Miele@Home app

                                      vg: ‘da-DK’, // default = ‘de-DE’, Choose the app Country
                                      language: ‘en’, // default = ‘de’, Miele only support ‘de’ or ‘en’
                                      showAlwaysAllDevices: true, // default = false , True show component even if it’s off

                                      Language supported:
                                      de - Deutsch
                                      en - English

                                      VG supported:
                                      ‘en-AU’ - Miele Australia
                                      ‘nl-BE’ - Miele België
                                      ‘en-CA’ - Miele Canada
                                      ‘es-CL’ - Miele Chile
                                      ‘hr-HR’ - Miele Croatia
                                      ‘cs-CZ’ - Miele Czechia
                                      ‘da-DK’ - Miele Danmark
                                      ‘de-DE’ - Miele Deutschland
                                      ‘et-EE’ - Miele Eesti
                                      ‘es-ES’ - Miele España
                                      ‘fr-FR’ - Miele France
                                      ‘ko-KR’ - Miele Hanguk
                                      ‘en-HK’ - Miele Hong Kong, China
                                      ‘en-IE’ - Miele Ireland
                                      ‘en-IL’ - Miele Israel
                                      ‘it-IT’ - Miele Italia
                                      ‘el-CY’ - Miele Kypros
                                      ‘lv-LV’ - Miele Latvija
                                      ‘lt-LT’ - Miele Lietuva
                                      ‘de-LU’ - Miele Luxemburg
                                      ‘hu-HU’ - Miele Magyarország
                                      ‘en-MY’ - Miele Malaysia
                                      ‘es-MX’ - Miele México
                                      ‘nl-NL’ - Miele Nederland
                                      ‘en-NZ’ - Miele New Zealand
                                      ‘ja-JP’ - Miele Nihon
                                      ‘no-NO’ - Miele Norge
                                      ‘pl-PL’ - Miele Polska
                                      ‘pt-PT’ - Miele Portugual
                                      ‘ro-RO’ - Miele România
                                      ‘de-CH’ - Miele Schweiz
                                      ‘en-SG’ - Miele Singapore
                                      ‘sl-SI’ - Miele Slovenia
                                      ‘sk-SK’ - Miele Slovensko
                                      ‘en-ZA’ - Miele South Africa
                                      ‘fi-FI’ - Miele Suomi
                                      ‘sv-SE’ - Miele Sverige
                                      ‘en-TH’ - Miele Thailand
                                      ‘tr-TR’ - Miele Türkiye
                                      ‘en-GB’ - Miele UK
                                      ‘en-US’ - Miele USA
                                      ‘en-AE’ - Miele United Arab Emirates
                                      ‘zh-CN’ - Miele Zhōngguó, dàlù
                                      ‘de-AT’ - Miele Österreich
                                      ‘el-GR’ - Miele Ελλάδα
                                      ‘ru-BY’ - Miele Беларуси
                                      ‘bg-BG’ - Miele България
                                      ‘ru-KZ’ - Miele Казахстан
                                      ‘ru-RU’ - Miele Россия
                                      ‘sr-RS’ - Miele Србија
                                      ‘uk-UA’ - Miele Україна

                                      Working config:

                                      		{
                                                  disabled: false,
                                                  module: "MMM-MieleAtHome",
                                                  position: "top_right",
                                                  classes: 'medium bright',
                                                  config: {
                                                      userName: "??@??.??", // Your email to Miele@Home app
                                                      password: "??????", // Your password to Miele@Home app
                                                      client_ID: "????", // Your client_ID you get from the link above
                                                      client_Secret: "????", // Your client_Secret you get from the link above
                                                      vg: 'da-DK', // Your country code from the list above
                                                      language: 'en', // Language supported from list above
                                                      showAlwaysAllDevices: true //always display component
                                      			}
                                                  },
                                      
                                      1 Reply Last reply Reply Quote 1
                                      • O Offline
                                        OberfragGER @ViDiBi
                                        last edited by

                                        @vidibi Hi, ich schreibe das auch nochmal in Github.
                                        In MM Version 2.17 ist das request-Modul rausgeflogen. Deshalb muss dieses bei der Installation berücksichtigt werden.

                                        Also- in den Modules Folder wechseln und dann:

                                        npm install request
                                        

                                        Nun läuft. Danke für das Modul und das aufgreifen der Icons…sieht ja aus wie in der App. Nice.
                                        Klappt wie erwartet auch mit dem Geschirrspüler.
                                        f446773b-1e64-4b2f-a5d7-d823c452d90b-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • O Offline
                                          OberfragGER @ViDiBi
                                          last edited by OberfragGER

                                          @vidibi Hi,
                                          noch ne Frage- gibts auch irgendeine Möglichkeit (custom-css etc.) die Überschrift linksbündig zu machen?

                                          Ok, found it:

                                          .MMM-MieleAtHome header {
                                          text-align: left
                                          }

                                          1 Reply Last reply Reply Quote 0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1
                                          • 2
                                          • 2 / 2
                                          • First post
                                            Last post
                                          Enjoying MagicMirror? Please consider a donation!
                                          MagicMirror created by Michael Teeuw.
                                          Forum managed by Sam, technical setup by Karsten.
                                          This forum is using NodeBB as its core | Contributors
                                          Contact | Privacy Policy