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.

    a new problem with fhem

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 4 Posters 6.1k Views 4 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.
    • kusselinK Offline
      kusselin
      last edited by

      o.k. thanks all for the good job to me. I will always better in Magic Mirror. Now i have installed the fhem module with:

      cd ~/MagicMirror/modules
      git clone https://github.com/BenRoe/MMM-FHEM
      
      without npm install
      

      then i go to the config an i put this into:

      {
          module: 'MMM-FHEM',
          position: 'bottom_bar',
          config: {
            host: 'my IP',
            port: '8083',
            https: false,
            devices: [
                        { deviceName: 'Temperatur_Feuchte_Speicher',
                          deviceReadings: [
                                            { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' },
                                            { name: 'humidity', icon: 'wi wi-humidity', suffix: '%' },
                                          ],
                        },
                    
                      ],
          },
        },
      

      this is the device name of my sensor
      but when i restart the mirror, my mirror is black on screen :-(

      FoziF 1 Reply Last reply Reply Quote 0
      • FoziF Offline
        Fozi Project Sponsor @kusselin
        last edited by

        @kusselin You must insert the IP-address of your FHEM in

        host: 'my IP',
        

        Check also if it is running on port 8083 or on another port.

        If ‘npm install’ is required by the author of the module then it is advisable to do so (at least that is required so in the README.MD on github)

        Just to make sure: This module is not supported anymore (as stated on the github repo).

        HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

        kusselinK 1 Reply Last reply Reply Quote 0
        • thedoorsfanaticT Offline
          thedoorsfanatic
          last edited by

          Can’t spot a mistake at first glance. Does the mirror work if you deactivate the module? For example, with disabled: true,

          Kann auf den ersten Blick keinen Fehler entdecken. Funktioniert der Spiegel, wenn du das Modul deaktivierst? Z.B. mit disabled:true,

          My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

          1 Reply Last reply Reply Quote 0
          • kusselinK Offline
            kusselin @Fozi
            last edited by

            @Fozi said in a new problem with fhem:

            @kusselin You must insert the IP-address of your FHEM in

            host: 'my IP',
            

            Check also if it is running on port 8083 or on another port.

            If ‘npm install’ is required by the author of the module then it is advisable to do so (at least that is required so in the README.MD on github)

            Just to make sure: This module is not supported anymore (as stated on the github repo).

            Hi fozi, instead of IP NAS I of course wrote my IP 192.168.xxx.xx and the port is also 8083 standard

            FoziF 1 Reply Last reply Reply Quote 0
            • FoziF Offline
              Fozi Project Sponsor @kusselin
              last edited by

              @kusselin Have you deactivated the module like @thedoorsfanatic recommended? Alternatively you can also comment the module in config.js. Just to make sure that there are no other side-effects.

              /*
              ….
              …..
              …..
              */
              

              HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

              1 Reply Last reply Reply Quote 0
              • kusselinK Offline
                kusselin
                last edited by kusselin

                Sorry, i Havent. Give me Time tomorrow please.

                1 Reply Last reply Reply Quote 0
                • kusselinK Offline
                  kusselin
                  last edited by

                  @thedoorsfanatic said in a new problem with fhem:

                  disabled:true,

                  yes than i can see the mirror again and i have the npm install in the fhem directory make.
                  but so the mirror is not show again

                  FoziF 1 Reply Last reply Reply Quote 0
                  • FoziF Offline
                    Fozi Project Sponsor @kusselin
                    last edited by

                    @kusselin said in a new problem with fhem:

                    yes than i can see the mirror again and i have the npm install in the fhem directory make.
                    but so the mirror is not show again

                    If the mirror is working again after deactivating the module, then remove the module from the /modules directory and re-install it from scratch.

                    $ sudo rm -R MMM-FHEM
                    $ git clone https://github.com/BenRoe/MMM-FHEM
                    $ cd MMM-FHEM
                    $ npm install
                    

                    HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                    1 Reply Last reply Reply Quote 1
                    • kusselinK Offline
                      kusselin
                      last edited by

                      @Fozi said in a new problem with fhem:

                      sudo rm -R MMM-FHEM

                      whats that!!

                      pi@raspberrypi:~ $  sudo rm -R MMM-FHEM
                      rm: das Entfernen von 'MMM-FHEM' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-FHEM
                      pi@raspberrypi:~/MagicMirror/modules/MMM-FHEM $ sudo rm -R MMM-FHEM
                      rm: das Entfernen von 'MMM-FHEM' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@raspberrypi:~/MagicMirror/modules/MMM-FHEM $
                      
                      
                      thedoorsfanaticT FoziF 2 Replies Last reply Reply Quote 0
                      • thedoorsfanaticT Offline
                        thedoorsfanatic @kusselin
                        last edited by

                        @kusselin
                        Du kannst den Ordner ja auch händisch über den Dateiexplorer löschen

                        My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

                        1 Reply Last reply Reply Quote 0
                        • FoziF Offline
                          Fozi Project Sponsor @kusselin
                          last edited by

                          @kusselin du musst erst in das /modules Verzeichnis gehen (s. meinen Post oben) und dann den Löschbefehl aus führen

                          $ cd ~/MagicMirror/modules
                          $ sudo rm -R MMM-FHEM
                          ...
                          $ git clone https://github.com/BenRoe/MMM-FHEM
                          $ cd MMM-FHEM
                          $ npm install
                          

                          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                          1 Reply Last reply Reply Quote 0
                          • kusselinK Offline
                            kusselin
                            last edited by kusselin

                            Hallo Zusammen und Frohe Weihnachten,

                            Hab jetzt nachdem ich eine Ebene zurück bin ins Modulverzeichnis das Fhem Modul löschen können und dann auch wieder per Konsole Installiert…dann nochmal in die Config kopiert und dann gestartet…der Bildschirm ist auch gestartet, aber die Temperaturanzeige wird nicht angezeigt. Habe die Position „upper right“ gewählt. Hier mal ein Bild von meinem jetzigen Mirror.

                            Was könnte jetzt noch der Fehler liegen…durch das, das der Mirror ja angezeigt wird, liegts ja nicht an der Config…oder?
                            Könnte es mit der Position ev zusammenhängen noch?
                            Gruss

                            (Hello everyone and Merry Christmas,

                            Now that I am one level back in the module directory, I can delete the Fhem module and then install it again via the console … then copy it again into the config and then start … the screen is also started, but the temperature display is not displayed. Chose the position “upper right”. Here is a picture of my current mirror.

                            What could be the error now … because the mirror is displayed, it is not because of the config … right?
                            Could it still be related to the position ev?
                            Greeting)

                            https://www.bilder-upload.eu/bild-bf0270-1577274708.jpeg.html

                            thedoorsfanaticT 1 Reply Last reply Reply Quote 0
                            • thedoorsfanaticT Offline
                              thedoorsfanatic @kusselin
                              last edited by

                              @kusselin
                              Es ist die Frage, ob das Modul überhaupt funktioniert. In den Issues scheinen auch andere Probleme damit zu haben und es wird auch nicht mehr gepflegt.

                              My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

                              1 Reply Last reply Reply Quote 1
                              • kusselinK Offline
                                kusselin
                                last edited by

                                Ok…ich hab ja noch ioBroker aufm Raspi…da gibts ja auch noch ein Modul…
                                Dann probiere ich es mal mit dem Modul:-)
                                Gruss

                                kusselinK 1 Reply Last reply Reply Quote 1
                                • D Offline
                                  DerRheingold
                                  last edited by

                                  Hi,
                                  I got FHEM up and running on my installation. Works as intended. However the configuration depends on your (hardware) setup. Some questions that come to my mind are:

                                  • Is FHEM is running on the same device?
                                  • Have you defined the Mirror as an allowed FHEMWEB device?

                                  Here’s my config, maybe it helps:
                                  Within FHEM:

                                  # Spiegel/MagicMirror
                                  define MagicM FHEMWEB 8086 global
                                  attr MagicM allowfrom 192.168.178.14
                                  attr MagicM csrfToken none
                                  attr MagicM room 99_System
                                  

                                  Within Magic Mirror:

                                    {
                                                          module: 'MMM-FHEM',
                                                          position: 'top_right',
                                                          config: {
                                                                  host: '192.168.178.10',
                                                                  port: '8086',
                                                                  https: false,
                                                                  devices: [
                                                                            { deviceName: 'Temp_Arbeitszimmer',
                                                                                  deviceReadings: [
                                                                                                                    { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' }
                                                                                                                  ],
                                                                            },
                                                                            { deviceName: 'Temp_Wohnzimmer',
                                                                                  deviceReadings: [
                                                                                                                    { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' }
                                                                                                                  ],
                                                                            },
                                                                            { deviceName: 'Temp_Draussen',
                                                                                  deviceReadings: [
                                                                                                                    { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' }
                                                                                                                  ],
                                                                            },
                                                                  ],
                                                          }
                                                  },
                                  
                                  
                                  kusselinK 1 Reply Last reply Reply Quote 0
                                  • kusselinK Offline
                                    kusselin @kusselin
                                    last edited by

                                    @kusselin said in a new problem with fhem:

                                    Ok…ich hab ja noch ioBroker aufm Raspi…da gibts ja auch noch ein Modul…
                                    Dann probiere ich es mal mit dem Modul:-)
                                    Gruss

                                    Mit iobroker funzt alles!!
                                    With iobroker all is ok

                                    1 Reply Last reply Reply Quote 1
                                    • kusselinK Offline
                                      kusselin @DerRheingold
                                      last edited by

                                      @DerRheingold said in a new problem with fhem:

                                      Hi,
                                      I got FHEM up and running on my installation. Works as intended. However the configuration depends on your (hardware) setup. Some questions that come to my mind are:

                                      Is FHEM is running on the same device?
                                      Have you defined the Mirror as an allowed FHEMWEB device?

                                      Here’s my config, maybe it helps:

                                      Hi,
                                      thanks fpr your post.
                                      No…fhem is running on another raspi…
                                      i try it…
                                      thanks

                                      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 / 1
                                      • 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