Read the statement by Michael Teeuw here.
Module to display a local list?
-
How do I get it to refresh? I added it to “refresh_interval_sec: 60,” but it does not seem to refresh. If I “Ctrl+R” i refreshes and shows changes.
Other than that it works great!!!
This is my test pi, the list from HTMLBox is in the upper right.
-
@jasondreher
You are right. I did some mistakes about refreshing. (I didn’t test it. sorry)
I think it was caused by caching.
You can made hot-fix about that.In line 58 of MMM-HTMLBox.js
xmlHttp.open("GET", url, true)
modify it like this;
xmlHttp.open("GET", url + "?" + Date.now(), true)
I think it will work. sorry.
-
@Sean said in Module to display a local list?:
xmlHttp.open(“GET”, url + “?” + Date.now(), true)
I did this but no change, it still will not update…
-
@jasondreher
Weird. Is Your local file updated periodically? Can you show your config for this module?
I’ve tested it now, and it works definitely. -
Darn it, I was changing the update time in the module but not the config. It works now, thanks for all your help, this is a fantastic module!!!