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.

    Force a module refresh - not the entire page

    Scheduled Pinned Locked Moved Requests
    11 Posts 3 Posters 3.8k Views 4 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.
    • A Offline
      ashishtank Module Developer @majdzik84
      last edited by

      @majdzik84 said in Force a module refresh - not the entire page:

      {“success”:false,“message”:“Module Name or Identifier Not Found!”}

      • Did you added the code in MMM-homeassistant-sensors.js ?
      • Can you try http://192.168.2.200:8080/api/module/homeassistantsensors/refreshhomeassistant url ? (I have removed the - from home assistant sensors)
        for more details about module and it’s action check https://github.com/Jopyth/MMM-Remote-Control/tree/master/API
      M 1 Reply Last reply Reply Quote 0
      • M Offline
        majdzik84 @ashishtank
        last edited by

        @ashishtank Yes, i added the code in MMM-homeassistant-sensors.js and restart

        a6091d47-70f4-4c84-a8d5-bd13d74cdab8-image.png

        I tried different variations but refreshhomeassistant it is not visible at all.

        I try
        fff75055-7c4d-4d77-897d-0fc37ad3bb12-image.png

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          ashishtank Module Developer @majdzik84
          last edited by

          @majdzik84 Okay, not sure why it is not listing the action. can you try below once ? it will send notification to all the modules including HA module and it should refresh the module. this is based on Remote control documentation https://github.com/Jopyth/MMM-Remote-Control/blob/master/API/README.md

          http://192.168.2.200:8080/api/notification/REFRESHHOMEASSISTANT

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            majdzik84 @ashishtank
            last edited by

            @ashishtank

            Yes, it works - thank you :)

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              ashishtank Module Developer @majdzik84
              last edited by

              @majdzik84 Good to know ! :)

              1 Reply Last reply Reply Quote 0
              • A Offline
                anderios Banned
                last edited by

                This post is deleted!
                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