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-Iobroker "undefined"

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 6 Posters 2.9k 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.
    • F Offline
      fischi87
      last edited by fischi87

      Hello guys,

      i installed the MMM-Iobroker module but it is just for mqtt devices possible to display them because i get in my mirror the message “undefined” when i write in the config other devices for example hm-rpc.

      thanks

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Chris87-ux @fischi87
        last edited by

        @fischi87 said in MMM-Iobroker "undefined":

        Hello guys,

        i installed the MMM-Iobroker module but it is just for mqtt devices possible to display them because i get in my mirror the message “undefined” when i write in the config other devices for example hm-rpc.

        thanks

        Hi,

        i have the same issue now, i would like to dislay modbus values.
        Unfortunately it seems to not work.

        Does anyone have a solution for this?

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jensen
          last edited by

          Hi all,
          same on my side, always “undefined”
          Any idea?
          BR Jens

          1 Reply Last reply Reply Quote 0
          • B Offline
            Burn78
            last edited by

            Please install in ioBroker the Adapter “Simple RESTful API”
            0_1582877580623_Anmerkung 2020-02-28 091241.jpg

            config.js from the mirror look like this.

            {
                                    module: 'MMM-ioBroker',
                                    position: 'bottom_right',
                                    config: {
                                            host: 'IP from ioBroker',
                                            port: '8087',
                                            https: false,
                                            devices: [
                                                    { name: "Badezimmer",
                                                            deviceStates: [
                                                                              { id: 'zigbee.0.001.temperature', icon: 'wi wi-thermometer', suffix: '°' },
                                                                              { id: 'zigbee.0.001.humidity',    icon: 'wi wi-humidity',    suffix: '%' }
                                                                      ]
                                                    },
                                                   
                                                   
                                            ]
                                    }
                            },
            
            
            1 Reply Last reply Reply Quote 0
            • J Offline
              Jensen
              last edited by

              the solution was to modify MMM-ioBroker.js

                getTemplate: function () {
                  return 'MMM-ioBroker.njk';
                },
              
              
              1 Reply Last reply Reply Quote 0
              • R Offline
                roessi
                last edited by

                @Jensen
                hi, thx this helped me.
                But now I only see this, do you know why it cannot get data?
                I tried with

                "http://192.168.0.102:8087/get/hm-rpc.0.OEQ0348511.1.HUMIDITY" 
                

                at Safari and the response ist the fuel data string

                {"val":52,"ack":true,"ts":1585485874168,"q":0,"from":"system.adapter.hm-rega.0","user":"system.user.admin","lc":1585560601523,"type":"state","common":{"def":0,"type":"number","read":true,"write":false,"min":0,"max":99,"unit":"%","role":"value.humidity","name":"TempFeuchtHof.HUMIDITY"},"native":{"AutoconfRoles":"WEATHER","DEFAULT":0,"FLAGS":1,"ID":"HUMIDITY","MAX":99,"MIN":0,"OPERATIONS":5,"TAB_ORDER":1,"TYPE":"INTEGER","UNIT":"%"},"_id":"hm-rpc.0.OEQ0348511.1.HUMIDITY","acl":{"object":1636,"state":1636,"owner":"system.user.admin","ownerGroup":"system.group.administrator"}}
                
                1 Reply Last reply Reply Quote 0
                • kusselinK Offline
                  kusselin
                  last edited by

                  Hi, i have updated to the actually MM. other things in the config i haven´t changed.

                  I have install the simple restful API Adapter in iobroker and before the latest uodate all is going.

                  Now nothing is going…

                  Whre is the mistake?

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