• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 32.9k 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
    DirkS
    last edited by Nov 3, 2016, 10:33 PM

    Did you try to use some more modules of FHEM for different device types? It does not work correctly. The fading between the information is not working as i discovered.

    1 Reply Last reply Reply Quote 0
    • D Offline
      DazDavid
      last edited by Nov 5, 2016, 8:51 PM

      Thanks for the amazing Module. Any news about the Overwriting Issue with two different Groups?

      1 Reply Last reply Reply Quote 1
      • B Offline
        Bobby
        last edited by Dec 15, 2016, 8:32 PM

        Hi, i have some trouble with this modul.
        The Error is:

        21:11:17.224 TypeError: self.defaults.deviceReadings is undefined 1 MMM-FHEM.js:97:1

        config.js:

        { module: 'MMM-FHEM', position: 'bottom_bar', header: 'FHEM', config: { deviceNames: [ 'BadNode' ], deviceReadings: [ { name: 'temperature3', icon: 'fa fa-lightbulb-o', suffix: '°' }, // { name: 'humidity2', icon: 'wi wi-humidity', suffix: '%' }, ], }, }

        I hope you can help me.
        Thanks
        Bobby

        1 Reply Last reply Reply Quote 0
        • B Offline
          BenRoe Module Developer
          last edited by Dec 16, 2016, 12:06 PM

          @DirkS yes you can use the weather icons from http://erikflowers.github.io/weather-icons/ and the font awesome icons http://fontawesome.io/icons/

          @DazDavid here is the thread to this problem https://forum.magicmirror.builders/topic/697/multiple-module-instances-overwrites-itself-values/2

          I will rewrite the module. Then every device can have different reading values.

          @Bobby is FHEM running on the same machine as the MM2?

          B 2 Replies Last reply Dec 16, 2016, 4:30 PM Reply Quote 0
          • B Offline
            Bobby @BenRoe
            last edited by Dec 16, 2016, 4:30 PM

            @BenRoe Thx for the fast answer. Yes, it is on the same Raspi. In the dev console of the browser, the correct value of the reading is displayed to me in the array as well.

            1 Reply Last reply Reply Quote 0
            • D Offline
              DazDavid
              last edited by Dec 16, 2016, 5:02 PM

              @BenRoe cannot wait for the rewrite. Any idea how long it will take approximately and if you could add https Support?

              1 Reply Last reply Reply Quote 1
              • B Offline
                Bobby @BenRoe
                last edited by Dec 17, 2016, 6:33 PM

                @BenRoe Hi, i found the problem an it works fine now.
                I changed following line self.defaults.deviceReadings[index] in self.config.deviceReadings[index]
                There are no default values for deviceNames and deviceReadings. They are only in the config.js

                This helps for me.
                Thanks
                Bobby

                1 Reply Last reply Reply Quote 1
                • B Offline
                  BenRoe Module Developer
                  last edited by Jan 8, 2017, 3:37 PM

                  I updated the Module to Version 0.2.0
                  Update instruction https://github.com/BenRoe/MMM-FHEM#update-the-module

                  Please change the module configuration in your config.js to the new structure.

                  @DazDavid now with https support
                  @Bobby fix the bug you found
                  @DirkS you can set different readings for every FHEM device

                  If you like the module please star it on github

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Dom1n1c
                    last edited by Jan 9, 2017, 5:19 AM

                    Is it possible to access values from openhab?

                    The syntax of the rest interface in OH is:

                    IP:8080/rest/items/specificitem
                    And to get the ‘Raw’ result/value:

                    IP:8080/rest/items/specificitem/state

                    I saw that there were a few Addons (for my smartwatch) that could use both FHEM and OpenHAB

                    Thanks

                    B 1 Reply Last reply Jan 9, 2017, 12:23 PM Reply Quote 0
                    • B Offline
                      BenRoe Module Developer @Dom1n1c
                      last edited by Jan 9, 2017, 12:23 PM

                      @Dom1n1c it is possible. I don’t have the time to rewrite the module for openhab. Sorry

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 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