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

    ufransa

    @ufransa

    0
    Reputation
    1
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    ufransa Unfollow Follow

    Latest posts made by ufransa

    • RE: MMM-NewsAPI

      @mumblebaj It could be but after I change the position the result is the same, I can see the header tho but not the news and the API and everything works.

      posted in Utilities
      U
      ufransa
    • RE: MMM-NewsAPI

      @mumblebaj Of course ! This is all my config file:

      /* Config Sample
       *
       * For more information on how you can configure this file
       * see https://docs.magicmirror.builders/configuration/introduction.html
       * and https://docs.magicmirror.builders/modules/configuration.html
       *
       * You can use environment variables using a `config.js.template` file instead of `config.js`
       * which will be converted to `config.js` while starting. For more information
       * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
       */
      let config = {
      	address: "localhost",	// Address to listen on, can be:
      	// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	// - another specific IPv4/6 to listen on a specific interface
      	// - "0.0.0.0", "::" to listen on any interface
      	// Default, when address config is left out or empty, is "localhost"
      	port: 8080,
      	basePath: "/",	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
      	// you must set the sub path here. basePath must end with a /
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],	// Set [] to allow all IP addresses
      	// or add a specific IPv4 of 192.168.1.5 :
      	// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	useHttps: false,			// Support HTTPS or not, default "false" will use HTTP
      	httpsPrivateKey: "",	// HTTPS private key path, only require when useHttps is true
      	httpsCertificate: "",	// HTTPS Certificate path, only require when useHttps is true
      
      	language: "es",
      	locale: "es-ES",
      	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			position: "top_left",
      			config: {
      				broadcastPastEvents: true,
      				calendars: [
      					{
      						url: "calendar.ics",
      						name: "ufransa",
      						color: "orange"
      					},
      					{
      						url: "calendar.ics",
      						name: "lupita",
      						color: "green"
      					},
      				]
      			}
      		},
      		{
      			module: "MMM-CustomElementTime"
      		},
      		{
      			module: "MMM-CountEvents",
      			position: "top_right",
      			config: {
      				/* Common default properties */
      				locale: null,
      				refresh: 1000 * 60,
      				unit: "days",
      				repeat: false,
      				ignoreBefore: false,
      				ignoreAfter: false,
      				className: "default",
      				output: `<dl><dt class="title"></dt><dd class="output"></dd></dl>`,
      				numericAlways: false,
      				reverse: false,
      				numberOnly: false,
      				numberSign: false,
      				useQuarter: false,
      				onPassed: null,
      				onUpdated: null,
      
      				events: [
      					{
      						title: "the event",
      						targetTime: "2025-07-12",
      						ignoreAfter: 1000 * 60 * 60 * 24,
      					},
      				]
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			config: {
      				weatherProvider: "openmeteo",
      				type: "current",
      				lat: 40.5290869,
      				lon: -3.4765786
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				weatherProvider: "openmeteo",
      				type: "forecast",
      				lat: 40.5290869,
      				lon: -3.4765786
      			}
      		},
      		{
      			module: "MMM-CalendarExt3",
      			position: "bottom_bar",
      			title: "",
      			config: {
      				mode: "month",
      				instanceId: "basicCalendar",
      				locale: 'es-ES',
      				maxEventLines: 5,
      				firstDayOfWeek: 1,
      				// eventHeight: 22,
      				fontSize: 50,
      				calendarSet: ['ufransa', 'lupita'],
      			}
      		},
      		{
      			module: "MMM-NewsAPI",
      			header: "Noticias del mundo",
      			position: "bottom_bar",
      			config: {
      				apiKey: "APIKEY",
      				type: "horizontal",
      				choice: "everything",
      				pageSize: 20,
      				sortBy: "publishedAt",
      				drawInterval: 1000 * 30,
      				templateFile: "template.html",
      				fetchInterval: 1000 * 60 * 60,
      				query: {
      					country: "",
      					category: "",
      					q: "",
      					qInTitle: "",
      					sources: "",
      					domains: "",
      					excludeDomains: "",
      					language: "en"
      				}
      			}
      		},
      	]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") { module.exports = config; }
      
      
      posted in Utilities
      U
      ufransa
    • RE: MMM-NewsAPI

      Hi ! Nono, I´m not using pages, it´s that another module I assume, right?

      posted in Utilities
      U
      ufransa
    • RE: MMM-NewsAPI

      Hi all, setting up this amazing module but it seems to not work for me and I have no idea why. I tried already:

      • Test api on postman. It works perfectly
      • Check on the console. Nothing seems to be wrong
      • Delete all modules except this one. Nothing changes

      I´m also using it on an vertical screen but I don´t thing the type can make any changes to it. Tried already and nothing.

      This is my config at the moment.

      {
      			module: "MMM-NewsAPI",
      			header: "news",
      			position: "bottom_bar",
      			pages: { "sport": "bottom_bar" },
      			config: {
      				apiKey: "MYAPIKEY",
      				type: "horizontal",
      				choice: "everything",
      				pageSize: 20,
      				sortBy: "publishedAt",
      				drawInterval: 1000 * 30,
      				templateFile: "template.html",
      				fetchInterval: 1000 * 60 * 60,
      				query: {
      					country: "",
      					category: "",
      					q: "",
      					qInTitle: "",
      					sources: "",
      					domains: "bbc.co.uk",
      					excludeDomains: "",
      					language: ""
      				}
      			}
      		},
      

      Thanks for the help !!

      posted in Utilities
      U
      ufransa
    • RE: Help me to level up my Magic Mirror

      @sdetweil Hi again ! I´m triying to set it up on my windows but when I use this command it shows this error and I don´t understand the reason.

      C:\Users\fjsc6\Desktop\MagicMirror>npm run start

      magicmirror@2.29.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      “DISPLAY” no se reconoce como un comando interno o externo,
      programa o archivo por lotes ejecutable.

      And if try the command npm run server it shown all undefined on the page. Like this:

      baba4539-d808-4287-93e5-1e623f2583b7-imagen.png

      posted in General Discussion
      U
      ufransa
    • RE: Help me to level up my Magic Mirror

      @sdetweil Hi ! How can I do this? “you can also use your pc browser to access MagicMirror and use the developer’s window for css development”

      posted in General Discussion
      U
      ufransa
    • Help me to level up my Magic Mirror

      Hi all! At the moment I’m using the basics: weather, time, news, and calendar (though I’m not entirely happy with this setup, as the style isn’t very user-friendly, and I’m not confident enough to make many changes. Currently, I’m using CalendarExt2). I’d love to know what you all are using right now, just to get a couple of ideas. If you could share your code, I’d really appreciate it so in that case I can just copy and paste and start to play with your examples. I’ll go first—I’m using it on a non-touchable portrait screen.

      THANKS A LOT TO ALL !!!

      Module: MMM-CalendarExt2 https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/tree/main

      7693e54d-1996-4ddb-8b8e-5a39f6ed5de1-imagen.png

      Sorry for the pics, I don´t know how to copy and paste de code from the raspberry T-T

      68196dc2-2442-4708-a657-48905d1a690f-imagen.png
      b8e1fac2-5329-4820-80fb-fc942c7ca77e-imagen.png

      posted in General Discussion
      U
      ufransa