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-FHEM shows values from FHEM devices ...

    Scheduled Pinned Locked Moved Utilities
    40 Posts 14 Posters 37.3k Views 15 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
      dominic
      last edited by

      Hi everyone
      I’ve tried to install and activate the MMM-FHEM module but with not to much success. There was actually no problem neither with the installation nor the configuration but I can’t get it running.

      FHEM is running on the Rpi.
      Here is my config.js.

      //FHEM
      		 {
          module: 'MMM-FHEM',
          position: 'bottom_bar',
          config: {
            host: ['localhost'],
            port: '8083',
            https: false,
            devices: [
                        { deviceName: 'ESPEasy_ESP_Test_DHT',
                          deviceReadings: [
                                            { name: 'Temperatur', icon: 'wi wi-thermometer', suffix: '°' },
                                            { name: 'sate', icon: 'wi wi-humidity', suffix: 'test%' },
                                          ],
                        },
                       
                      ],
          },
        },
      	
      	
      		
      		
      	]
      

      i hope you can help me.
      greetings from Germany

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        BenRoe Module Developer @dominic
        last edited by

        @dominic remove the squared brackets from the host row.

        D 1 Reply Last reply Reply Quote 0
        • B Offline
          BenRoe Module Developer @Da-ne-ezy
          last edited by

          @Da-ne-ezy hi currently i have no time to research how to implement that from nodejs side.
          If someone has an idea, please do a pull request on github.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dominic @BenRoe
            last edited by

            @BenRoe thanks for the answer. I have removed the squared brackets but it is still the same. The modul will not displayed. Do you have an other idea ?

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

              Hi,
              I have a similar issue: after installing the module and adding it to the config.js I don’t see it on the screen. After a restart all other widgets are shown. I don’t even see an empty field or such where this widget should be shown :(

              Am I missing anything maybe?

              For the sake of debugging, I’m trying to access a publicly available FHEM instance.

              {
              			module: 'MMM-FHEM',
              			position: 'top_bar',
              			config: {
              				host: 'http://fhem.waschto.eu',
              				port: '8083',
              				https: false,
              				devices: [
              					  { deviceName: 'FL_Temperatur',
              						deviceReadings: [
              										  { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' },
              										  { name: 'humidity', icon: 'wi wi-humidity', suffix: '%' },
              										],
              					  }
              				]
              			}
              		}
              

              Might I have made a mistake installing the dependencies? Is “sudo npm install underscore” or “request” not the right way to do it?

              1 Reply Last reply Reply Quote 0
              • B Offline
                BenRoe Module Developer @Da-ne-ezy
                last edited by

                @Da-ne-ezy try this.

                host: 'username:password@ip-of-your-fhem-server'
                

                Please let me know if it works.

                Da-ne-ezyD 1 Reply Last reply Reply Quote 0
                • Da-ne-ezyD Offline
                  Da-ne-ezy @BenRoe
                  last edited by

                  @BenRoe Sorry doesn’t work for me. The module doesn’t even appear. My config should be fine…

                     {
                  	module: 'MMM-FHEM',
                  	position: 'bottom_bar',
                         config: {
                  			host: 'xxxx:xxxx@xxx.xxx.xxx.xx',
                  			port: '8083',
                  			https: true,
                  				devices: [
                  					{ deviceName: 'WZ_Heizung_Clima',
                  						deviceReadings: [
                  						{ name: 'measured-temp', icon: 'wi wi-thermometer', suffix: '°' },
                  						{ name: 'desired-temp', icon: 'wi wi-thermometer', suffix: '°' },
                  									       ],
                  					},  
                  						],
                  		},
                  	},
                  

                  FREE IT-Projects and Raspberry Pi Tutorials on my Website: www.danykilian.com

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BenRoe Module Developer
                    last edited by

                    Too bad, someone mention this on the github ticket. https://github.com/BenRoe/MMM-FHEM/issues/2
                    I don’t have the time to examine this problem. If someone can implement this, please let me know.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Robs
                      last edited by Robs

                      the Fix for you`r Problem might be:

                      Disable csrfToken

                      after 2 weeks of searching the Internet i found the post in this forum this helpt me to fix the same probelm.

                      1 Reply Last reply Reply Quote 1
                      • rudibaraniR Offline
                        rudibarani Project Sponsor @BenRoe
                        last edited by rudibarani

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 4 / 4
                        • 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