A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Force a module refresh - not the entire page
-
@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
-
@ashishtank Yes, i added the code in MMM-homeassistant-sensors.js and restart
I tried different variations but refreshhomeassistant it is not visible at all.
I try
-
@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
-
Yes, it works - thank you :)
-
@majdzik84 Good to know ! :)
-
This post is deleted!