• 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: Error "Cannot read property 'Results' of undefined"

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 1.4k Views 1 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.
  • M Offline
    mibafz00
    last edited by Nov 15, 2017, 8:47 PM

    Hi all,
    I wanted to use the module MMM-Fhem to display the temperature information of my Fhem Heating System.
    I followed the Readme. However, when I start the MagicMirror I get following error message:

    
    0|mm       | TypeError: Cannot read property 'Results' of undefined
    0|mm       |     at Class.parseJson (/home/pi/MagicMirror/modules/MMM-FHEM/node_helper.js:76:28)
    0|mm       |     at /home/pi/MagicMirror/modules/MMM-FHEM/node_helper.js:99:35
    0|mm       |     at Request._callback (/home/pi/MagicMirror/modules/MMM-FHEM/node_helper.js:40:9)
    0|mm       |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-FHEM/node_modules/request/request.js:186:22)
    0|mm       |     at emitTwo (events.js:106:13)
    0|mm       |     at Request.emit (events.js:191:7)
    0|mm       |     at Request. (/home/pi/MagicMirror/modules/MMM-FHEM/node_modules/request/request.js:1163:10)
    0|mm       |     at emitOne (events.js:96:13)
    0|mm       |     at Request.emit (events.js:188:7)
    0|mm       |     at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-FHEM/node_modules/request/request.js:1085:12)
    

    I went through my config file over and over again but didn’t find any mistake.
    Can somebody help me out finding the root cause for this error. It seems that it tries to read information from an object that is not existing.

    Thanks for any help.

    my config of this module:

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

    The Fhem information of the specified device:

    0_1510778659697_fhem.jpg

    1 Reply Last reply Reply Quote 0
    • M Offline
      mibafz00
      last edited by Nov 19, 2017, 7:59 PM

      maybe I add the module creator :-)
      @BenRoe

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