@michael24h By the way, the example config from the readme.md also lacks the comma.
Read the statement by Michael Teeuw here.
Posts
-
RE: Display web widget on mirror through iFrame?
-
RE: Display web widget on mirror through iFrame?
@michael24h aaaaaaaah!
Yes! That worked, thanks!
-
RE: Display web widget on mirror through iFrame?
same problem, still not working. Loading the module breaks the file. Here is my code:
{ module: 'iFrame', position: 'bottom_bar', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://www.yr.no/sted/Norge/Oslo/Oslo/Oslo/meteogram.png" width: "828px" // Optional. Default: 100% height: "272px" //Optional. Default: 100px } },
The only detail I’ve found in the documentation that seems a little off, is that it suggests the URL formatting to be as such:
url: "http:http://example.com/"
But that still doesn’t work.
-
Working Magic Mirror goes white screen over night
My MagicMirror is working pretty good, however. Morning when I look at the screen it’s just turned white. If i VNC into the screen it doesn’t accept me trying to CTRL Q, CTRL W or CTRL R. I have to reboot the Pi to get it working again.
Any ideas on what’s up?
-
RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module
Feature request: Schedule profiles throughout time of day and day of the week. I’m thinking of this not as personal profiles, but rather a way to have the mirror show only the relevant panels at any given time. For instance, at lunch time, a lunch menu or out of office message, but at the end of the day, commuting info
-
RE: Display values from a JSON file hosted online
You are very kind!
I’ve got a couple of issues so far:
1: The module doesn’t seem to survive a manual refresh. For some reason, if I hit CTRL R to refresh, all other modules load, but this one is stuck at “loading…” If I do CTRL Q, quit the Magic Mirror and try again, it works. Even more strangely, it does correctly update on it’s own, when the JSON file changes. Just a minor thing.
2: I’ve been trying to create en separate class for the value, so that I can style the number individually. So I tried to create an element that I can style with xlarge from the css file. But so far I’ve only been able to style the titles. I tried to read up on this on w3schools.com, but it’s evident that I lack a pillar of information to understand the syntax completely.
How would change the code to make the numbervalue an element I can style in the CSS?
-
RE: Display values from a JSON file hosted online
@yawns HAVE MY BABIES!
It works! Thank you so much! I’ll now start to play around with the CSS! Thank you so much! :)
-
RE: Display values from a JSON file hosted online
wow! This looks great! I cant wait to try this out!
Thank you so much! 👍🏻
-
Display values from a JSON file hosted online
Want to display two fields from this file:
https://www.dropbox.com/s/k1t6mjjc3knxp3a/dataset.json?raw=1
Kind of like this:
Customers today - Astronomy department:
88The file looks like this:
{ "graph": { "title" : "Customers today", "total" : true, "datasequences" : [ { "title" : "Astronomy department", "datapoints" : [ { "title" : "Amount", "value" : 88 } ] } ] } }
I want to display the amount value (88 in the example), and the titles, (Customers today and Astronomy department in the example).
The module I have so far looks like this:
Module.register("MMM-backlog",{ // Default module config. defaults: { text: "test text" }, // Override dom generator. getDom: function() { var wrapper = document.createElement("div"); wrapper.innerHTML = this.config.text; return wrapper; } });
Anybody able to help me get it working?