Yes, it works - thank you
majdzik84
@majdzik84
Best posts made by majdzik84
Latest posts made by majdzik84
-
RE: Force a module refresh - not the entire page
@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
-
RE: Force a module refresh - not the entire page
@ashishtank
When i try http://192.168.2.200:8080/api/module/MMM-homeassistant-sensors i dont see REFRESHHOME ASSISTANT{"success":true,"data":[{"index":"17","identifier":"module_17_MMM-homeassistant-sensors","name":"MMM-homeassistant-sensors","path":"modules/MMM-homeassistant-sensors/","file":"MMM-homeassistant-sensors.js","position":"bottom_left","configDeepMerge":false,"config":{"prettyName":false,"stripName":false,"title":"Home Assistant","host":"192.168.2.98","port":"8123","https":false,"token":"xxxxx","apipassword":"","updateInterval":120000,"displaySymbol":true,"debuglogging":false,"values":[{"sensor":"sensor.natalka_temperature","alertThreshold":26,"icons":[{"default":"thermometer"}]},{"sensor":"sensor.alicja_temperature","alertThreshold":26,"icons":[{"default":"thermometer"}]},{"sensor":"sensor.sypialnia_temperature","alertThreshold":26,"icons":[{"default":"thermometer"}]},{"sensor":"sensor.salon_temperatura","alertThreshold":26,"icons":[{"default":"thermometer"}]},{"sensor":"binary_sensor.zamek_front","icons":[{"state_off":"lock","state_on":"lock-open-variant"}]},{"sensor":"binary_sensor.zamek_tyl","icons":[{"state_off":"lock","state_on":"lock-open-variant"}]},{"sensor":"binary_sensor.brama_wjazdowa","icons":[{"state_off":"gate","state_on":"gate-open"}]},{"sensor":"binary_sensor.brama_lewa","icons":[{"state_off":"garage","state_on":"garage-open"}]},{"sensor":"binary_sensor.brama_prawa","icons":[{"state_off":"garage","state_on":"garage-open"}]}]},"classes":"MMM-homeassistant-sensors","hidden":false,"lockStrings":[]}]}
When I try http://192.168.2.200:8080/api/module/homeassistant-sensors/refreshhomeassistant i get
{"success":false,"message":"Module Name or Identifier Not Found!"}
-
RE: Force a module refresh - not the entire page
@ashishtank Thank you for your answer. I am glad that there is such a possibility. Unfortunately, I don’t know where to start to get it. I will write what I mean and maybe I could count on help.
I control the mirror through Home assistant using MMM-Remote-Control (e.g. I send command http://192.168.2.200:8080/api/module/alert/showalert?title=ZAMKNIJ ZAMEK&message=w d door%20frontowych) in the case of alerts.
I have a module for showing sensors (https://github.com/leinich/MMM-homeassistant-sensors) that has the ability to set a time refresh.
I would like to send a command to the mirror from Home assistant to update the module when the sensor changes its state.
Do you know how to achieve it in a simple way for me?
How do I send the updatedom command to this module? -
Force a module refresh - not the entire page
Is there any way to command refresh one specific module?
I found an option to refresh the entire page. I would like this way to update the HA module when the sensor changes state, not just temporarily. -
Weatherforcast / mmm-weatherforcast - openweather icon day/night not changing
As the topic. I always have night icons in the weather forecast. Anyone have the same or only have this problem? How can I fix it?
-
MMM-weatherforecast. Icon problem - still displays the same.
Today I noticed that the icons in the module are not updating. It’s still wi-night-cloudy.
I don’t know at what point it broke. I know it used to work properly.
Can I fix it somehow? -
RE: Wrong dates on the calendar
@sdetweil I don’t know if we understood each other well. My calendar is with GOOGLE.