MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. looolz
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 35
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Display web widget on mirror through iFrame?

      @michael24h By the way, the example config from the readme.md also lacks the comma.

      posted in Troubleshooting
      L
      looolz
    • RE: Display web widget on mirror through iFrame?

      @michael24h aaaaaaaah!

      Yes! That worked, thanks!

      posted in Troubleshooting
      L
      looolz
    • 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.

      posted in Troubleshooting
      L
      looolz
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @tosti007 Thanks!

      posted in Utilities
      L
      looolz
    • 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.

      0_1488788669084_whiteovernight.jpg

      Any ideas on what’s up?

      posted in Troubleshooting
      L
      looolz
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @tosti007

      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

      posted in Utilities
      L
      looolz
    • 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?

      posted in Development
      L
      looolz
    • 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! :)

      posted in Development
      L
      looolz
    • RE: Display values from a JSON file hosted online

      wow! This looks great! I cant wait to try this out!

      Thank you so much! 👍🏻

      posted in Development
      L
      looolz
    • 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:
      88

      The 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?

      posted in Development
      L
      looolz
    • 1 / 1