READ THE CHANGELOG BEFORE UPDATING!
It is available here: https://github.com/Eunanibus/MMM-HTTPRequestDisplay
The module allows a targetURL that responds with XML data to be displayed on the mirror. This hopefully supposed to be useful to anyone with any kind of home automation or sensor data that can be received via a HTTP request. In theory, one might be able to get a read out on say; all the doors that are locked in a house.
I’m not sure. It’s very choppy, and needs some serious work. Right now it only inspects one node hierarchy down. I’d like to improve that in the future.
Below, is an example using the OpenWeather API to make a request.
zombi27 last edited by zombi27
nice! this will be very helpful when i get time to work on my home-automation (loxone) module Thank you!
Thank you - I hope it’s useful to someone. It needs some work so I’ll probably revisit it soon.
But right now I’m working on a new module to give to everyone. And it’s even cooler - I actually think a lot of people will use it.
VERY nice with this I think you have solved a few issues for me! I wrote a module for my joomla site and was looking for a way to use it here [NFL Scoreboard] but since this will do the httprequest I can pick apart my module and use the parts with this and it should work!! Bravo!!
HUGE Thank you!
OH and where can I download it from? Thank you!
Download available here
I need to make some fixes to the module so for right now consider it in Beta
Kristianson last edited by Kristianson
Great! Should solve my problems, however I seem to have issues retrieving any data :
this is from my config:
header: ‘Room Temp’,
The guestRoomTemp.php output an XML file format such as this
“< root>< roomTemp>20.00< /roomTemp>< /root>” (had to add the space in the XML output example here as the editor seemed to remove the tags)…
are there issues calling .php files? The error I get is: HTTP Request Failed. Status 0.
Please check the request URL in the module config.
I can call the page and get the result from a web browser so there should be no access rights issues?
Thanks for reminding me to do this. This script has needed some work for a while now and I keep delaying it.
There’s an issue with cross-site scripting I need to resolve (so resolving external URL’s may fail) - I also want to establish the issue with node inspections. I’m going to begin fixing these issues as soon as my exams are up (So beginning of June) - So you can expect an update then. Apologies for the inconvenience in the mean time.
As an added bonus, I’ll be releasing a new module also It’s pretty cool looking and I’m looking forward to giving it to all of you.
Kristianson last edited by
Cool! Quick response! I might move it to the localhost then for now until new version is out :)…
@zombi27 You may wanna checkout my module MMM-Loxone:)