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

    Scheduled Pinned Locked Moved Utilities
    14 Posts 6 Posters 9.5k Views 6 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.
    • G Offline
      gismo2006
      last edited by

      @cpramhofer I didn’t know anythink about FEHM yet. But I look at your posted code and remember you write: “has anyone of you running this module with a FHEM server running on another machine?” And then I think about the line:

      host: ‘10.0.0.110’,

      Is it really the Host? It looks like a Ip. In this case is it correct?

      But, you have to know I’m didn’t use FEHM yet, and didn’t know about the config.

      By the way the FEHM serve you ran is reacheable from the Mirror IP?

      Greets gismo

      1 Reply Last reply Reply Quote 0
      • S Offline
        schienw
        last edited by

        Hello,
        yes, it work’s.

        Here is my configfile:
        config: {
        deviceNames: [
        ‘Bad’,
        ‘Wohnzimmer’,
        ‘Kueche’,
        ],
        host: [‘192.168.178.87’],
        deviceReadings: [
        { name: ‘temperature’, icon: ‘wi wi-thermometer’, suffix: ‘°’ },

                          ],
        

        Regards

        Schienw

        1 Reply Last reply Reply Quote 0
        • C Offline
          cpramhofer
          last edited by

          @gismo2006 yes, in the readme file host is defined as an IP address. I can access FHEM from the MM Pi.

          @schienw great! i will try host as an array too…

          have a nice day!

          1 Reply Last reply Reply Quote 0
          • G Offline
            gismo2006
            last edited by

            Hi, OK, if the op is correct, try the other post.

            God luck! :-)

            I will happy if you post what happens. …

            1 Reply Last reply Reply Quote 0
            • C Offline
              cpramhofer
              last edited by

              Hi all,

              i tried the setup with the following config but again, nothing is showing up on the mirror.

              {
              module: ‘MMM-FHEM’,

                                  config: {
                                   deviceNames: [
                                          'CUL_WS_1',
                                          'CUL_WS_2'
                                          ],
                                  host: ['10.0.0.110'],
                                  deviceReadings: [
                                          { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' },
                                          ],
                                  },
                          },
              

              kind regards
              Christoph

              1 Reply Last reply Reply Quote 0
              • G Offline
                gismo2006
                last edited by

                Hmm… I can´t stop asking is 10.0.0.110 really the host ip of your FEHM server? Usually in privat Networks is used something like 192.178.168.2 the number one at the end op this Ip is served for your internet router… All devices then will become a other number at this end…

                greets gismo

                yawnsY 1 Reply Last reply Reply Quote 0
                • C Offline
                  cpramhofer
                  last edited by

                  Hi Gismo,

                  Yes it is the correct IP
                  Its a an Austrian Network from the Provider A1.
                  The Router has the ip 10.0.0.138
                  Magic Mirror runs in 10.0.0.101
                  FHEM on 10.0.0.110 (as you also can see on the screenshot above)

                  1 Reply Last reply Reply Quote 0
                  • yawnsY Offline
                    yawns Moderator @gismo2006
                    last edited by

                    @gismo2006
                    192.168.x.x is a private Class C network
                    10.0.0.x is a private class A network

                    As you see on the screenshot cpramhofer is able to connect to the management website in a browser, so the IP address should not be the problem.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gismo2006
                      last edited by

                      Oh ok, Sorry I didn´t see it in the posted screenshot till you write it. Hmm, then I couldn´t help… :-)

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        schienw
                        last edited by

                        hello,

                        can you try a , behind
                        ‘CUL_WS_1’,
                        ‘CUL_WS_2’

                        you have:
                        deviceNames: [
                        ‘CUL_WS_1’,
                        ‘CUL_WS_2’
                        ],

                        and i have

                        deviceNames: [
                        ‘Bad’,
                        ‘Wohnzimmer’,
                        ‘Kueche’,
                        ],

                        schienw

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