• 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.

Problem MMM-syslog in Midori

Scheduled Pinned Locked Moved Solved Troubleshooting
midorisyslog
6 Posts 2 Posters 3.0k Views 2 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
    gizmo90
    last edited by Feb 4, 2017, 9:13 AM

    i have fix it.

    edit MMM-syslog.js

    replace line 44

    setInterval(() => {
    

    with

    setInterval(function(){
    
    A 1 Reply Last reply Oct 25, 2017, 5:38 PM Reply Quote 0
    • A Offline
      astrakid @gizmo90
      last edited by Oct 25, 2017, 5:38 PM

      @gizmo90
      i have the same issue, but the change you mention doesn’t fix it.
      any hints?

      TypeError: Cannot read property 'push' of undefined
      

      but the http-request is sent successfully:

      {"status":"success","payload":{"type":"ALERT","message":"Testalert","silent":false,"timestamp":"2017-10-25T17:36:57.487Z"}}
      

      regards,
      astrakid

      1 Reply Last reply Reply Quote 0
      • G Offline
        gizmo90
        last edited by gizmo90 Oct 25, 2017, 5:44 PM Oct 25, 2017, 5:43 PM

        test this

        setInterval(function(){ this.updateDom(); }, 60000);

        instead of

        setInterval(() => {
        this.updateDom(60000);

        1 Reply Last reply Reply Quote 0
        • A Offline
          astrakid
          last edited by Oct 25, 2017, 6:16 PM

          @gizmo90 said in Problem MMM-syslog in Midori:

          setInterval(function(){ this.updateDom(); }, 60000);

          tried that already, but it doesn’t solve the issue.

          1 Reply Last reply Reply Quote 0
          • A Offline
            astrakid
            last edited by Oct 25, 2017, 6:20 PM

            found the issue: if the module is set to “top_bar”, then it forces this error. “top_right” works fine.

            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