MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. sharmmoh1983
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 24
    • Best 0
    • Controversial 0
    • Groups 0

    sharmmoh1983

    @sharmmoh1983

    0
    Reputation
    805
    Profile views
    24
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    sharmmoh1983 Unfollow Follow

    Latest posts made by sharmmoh1983

    • RE: Communication from node helper to module: Taking too long

      I am calling :

      Node_helper:

      self.sendSocketNotification(‘SONUS’, sonus);

      Module:

      socketNotificationReceived: function (notification, payload) {
      receivedNotification(this,notification,payload);
      }

      It is taking seven seconds from Node helper to Module

      posted in Development
      S
      sharmmoh1983
    • RE: Communication from node helper to module: Taking too long

      I am talking about two modules in magic mirror which are having node helpers and issue is happening in both of them while communicating from node helper to their respective modules

      posted in Development
      S
      sharmmoh1983
    • RE: Communication from node helper to module: Taking too long

      No only one module is making the call

      posted in Development
      S
      sharmmoh1983
    • Communication from node helper to module: Taking too long

      Hi All

      I have noticed one pattern while calling sendSocketNotification method of node helper i.e

      About 6-7 secs are getting consumed from sendSocketNotification in node helper to socketNotificationReceived in Module

      And this is happening across all modules which are present in Magic Mirror

      This is resulting in very slow response in Magic Mirror

      Has anyone faced such issue? My wifi network is fine as myother api calls are happening fine

      posted in Development
      S
      sharmmoh1983
    • RE: UpdateDom not working

      @j-e-f-f It is kind of working now… I will test it thoroughly for two days and will revert in case of any issue

      @j-e-f-f @Sean thank a lot for your prompt replies and efforts

      posted in Development
      S
      sharmmoh1983
    • RE: UpdateDom not working

      @j.e.f.f I am not generating DOM while start of the module but at voice command and this approach is working individually for the modules but not if all are coupled together So how come it is happening for individual modules

      posted in Development
      S
      sharmmoh1983
    • RE: UpdateDom not working

      @j.e.f.f But where to call mentioned code as all modules will be loaded simultaneously

      posted in Development
      S
      sharmmoh1983
    • RE: UpdateDom not working

      @j-e-f-f But where it call this as all modules will be loaded simultaneously

      posted in Development
      S
      sharmmoh1983
    • RE: UpdateDom not working

      @Sean @j-e-f-f Thanks for your support… i will try the discussed approach also and come back with my findings

      posted in Development
      S
      sharmmoh1983
    • RE: UpdateDom not working

      @Sean Also updateDOM is also creating DOM first so there should be no issue of DOM getting created or not

      posted in Development
      S
      sharmmoh1983