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

    stephanvdplas

    @stephanvdplas

    15
    Reputation
    35
    Profile views
    36
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    stephanvdplas Unfollow Follow

    Best posts made by stephanvdplas

    • Bathroom mirror

      We did a total make over of our bathroom last month, including all new custom made furniture. This was the opportunity to build in a magic mirror!
      it was pretty exciting to see everything come together, the 32 inch display, the 80x80 cm 80%/20% mirror, the raspberry pi (also functioning as LMS player, synchronised with the rest of the house), the 6 inch speakers, the hue lights, all in a self-designed bathroom cabinet.
      But the result is sublime. In the attached video and pictures, you can see the result.

      Used modules in standard mode:
      Clock - RSS feed - Weather

      When clicking a (z-wave) button (which runs a script on a domoticz server) the other modules become visible:

      clock      -    MMM-RSS-FEED       -       Weather
      calendar                                   Weather (upcoming hours)
                                                 Weather (upcoming days)
                                                 MMM-JsonTable
      MMM-iFrame                                 nstreinen
                        Newsfeed
      

      The RSS feed is used for the bibleverse of the day.
      The iFrame is used for a now playing frame for the LMS player.
      The JSON tables show who is at home (and since when) and the train departure times to my office’s town.

      Hope it inspirese you. Leave your questions in the replies.

      alt text
      alt text
      alt text
      alt text
      alt text
      alt text
      alt text
      https://photos.app.goo.gl/SUtsBfW13a42gFFMA

      posted in Show your Mirror
      S
      stephanvdplas
    • RE: Spot Energy Module (Nordpool?)

      @sdetweil not yet, It will take some time which I don’t have these days. I’ll let you know.

      posted in Requests
      S
      stephanvdplas
    • RE: Bathroom mirror

      @zdenek

      /* MagicMirror² Config Sample
       * By Michael Teeuw https://michaelteeuw.nl
       * MIT Licensed.
       */
      let config = {
      	address: "0.0.0.0",	
      	port: 8080,
      	basePath: "/",			
      	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: "nl",
      	locale: "nl-NL",
      	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: 'MMM-Remote-Control',
      			config: {
      				apiKey: '01***d4',
                      customCommand: {
                              monitorOnCommand: "sudo /usr/bin/vcgencmd display_power 1",
                              monitorOffCommand: "sudo /usr/bin/vcgencmd display_power 0"
                      },
                      showModuleApiMenu: false,				
      			}
      		},		
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "Nu.nl Algemeen",
      						url: "https://www.nu.nl/rss/Algemeen"
      					},
      					{
      						title: "RTV Oost",
      						url: "http://rss.rtvoost.nl/"
      					},
      					{
      						title: "Stentor Zwolle",
      						url: "https://www.destentor.nl/zwolle/rss.xml"
      					},
      					{
      						title: "Stadshagen Nieuws",
      						url: "https://www.stadshagennieuws.nl/feed"
      					},
      					{
      						title: "Christelijk Nieuws",
      						url: "https://christelijknieuws.nl/feed/"
      					},
      				],
      				showSourceTitle: true,
      				showPublishDate: true,
      				showDescription: true,
      				wrapDescription: false,
      				ignoreOldItems: true,
      				ignoreOlderThan: 4 * 60 * 60 * 1000,
      				broadcastNewsFeeds: true,
      				broadcastNewsUpdates: true,
      				hideLoading: true,
      				updateInterval: 20000,
      				animationSpeed: 1000,
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "Zwolle",
      				locationID: "2743476", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "06***d7",
      				showPrecipitationAmount: true,
      				appendLocationNameToHeader: false,
      				roundTemp: true,
      				windUnits: "beaufort",
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "komende uren",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "hourly",
      				weatherEndpoint: "/onecall",
      				lat: 52.5125,
      				lon: 6.09444,
      				apiKey: "06***d7",
      				maxEntries: 16,
      				showPrecipitationAmount: true,
      				colored: true,
      				appendLocationNameToHeader: false,
      				roundTemp: true,
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "komende dagen",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "daily",
      				location: "Zwolle",
      				locationID: "2743476", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      				apiKey: "06***d7",
      				maxNumberOfDays : 11,
      				showPrecipitationAmount: true,
      				colored: false,
      				appendLocationNameToHeader: false,
      				roundTemp: true,
      			}
      		},
      		{
      			module: "clock",
      			position: "top_left",
      			config: {
      				clockBold: false,
      				displayType: "digital",
      				showSunTimes: false,
      				lat: 52.5125,
      				long: 6.09444,
      			}
      		},
      		{
      			module: "calendar",
      			header: "Agenda",
      			position: "top_left",
      			config: {
      				fetchInterval: 60 * 60 * 1000,
      				maximumEntries: 18,
      				displaySymbol: true,
      				coloredSymbol: true,
      				calendars: [
      					{
      						maximumNumberOfDays: 31,
      						symbol: "calendar-check",
      						url: "https://calendar.google.com/calendar/ical/vdplas.net_***%40group.calendar.google.com/public/basic.ics",
      						color: "white",
      					},
      					{
      						maximumNumberOfDays: 31,
      						symbol: "toggle-off",
      						url: "https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics",
      						color: "green",
      					},
      				{
      						maximumNumberOfDays: 3,
      						symbol: "cake-candles",
      						url: "https://calendar.google.com/calendar/ical/***%40group.calendar.google.com/public/basic.ics",
      						color: "#5e0817",
      					},
      				]
      			}
      		},
      		{
      			module: 'MMM-JsonTable',
      			position: 'bottom_right',
      			header: 'Aanwezig',
      			config: {
      				url: 'https://server.vdplas.net:8083/thuis.json', // Required
      				arrayName: 'items', // Optional
      				tryFormatDate: true,
      			}
      		},
      		{
      			module: 'MMM-iFrame',
      			header: 'Speelt nu',
      			position: 'bottom_left',	// This can be any of the regions.
      			config: {
      				// See 'Configuration options' for more information.
      					url: ["https://server.vdplas.net:8999/material/?player=dc:a6:32:18:b6:fd&layout=desktop&action=expandNowPlaying/true&css=msk--np-only&js=msk--np-only&single=true&theme=Black"],  // as many URLs you want or you can just ["ENTER IN URL"] if single URL.
      					updateInterval: 500 * 60 * 1000, // rotate URLs every 30 seconds
      					width: "400", // width of iframe
      					height: "800", // height of iframe
      					frameWidth: "200" // width of embedded iframe, height is beeing calculated by aspect ratio of iframe
      				}
      		},
      		{
      			module: 'nstreinen',
      			position: 'bottom_right',
      			header: 'Treinen naar Deventer',
      			config: {
      				apiKey:'35***17',
      				fromStation: 'ZL',
      				toStation: 'DV',
      				maxEntries: 4
      			}
      		},
      		{
      			module: 'MMM-RSS-FEED',
      			position: 'top_center',
      			config: {
      			url: 'https://feed.dagelijkswoord.nl/rss2'
      			}
      		},
      	]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      

      Schermafbeelding 2024-01-17 110446.jpg
      1.jpg
      2.jpg
      3.jpg

      posted in Show your Mirror
      S
      stephanvdplas
    • RE: Bathroom mirror

      Hi @bdeelman ,

      I have used this 80-20 mirroring glass:
      c8e21731-ce74-450f-acae-dedc352c88de-image.png

      posted in Show your Mirror
      S
      stephanvdplas
    • RE: Frameless Bathroom Magic Mirror (Hue-controlled)

      Nice stuff, very well done. I like the hue integration.

      posted in Show your Mirror
      S
      stephanvdplas
    • RE: Home Dashboard

      @Hilt wow it looks great!

      posted in Show your Mirror
      S
      stephanvdplas

    Latest posts made by stephanvdplas

    • RE: Home Dashboard

      @Hilt wow it looks great!

      posted in Show your Mirror
      S
      stephanvdplas
    • RE: Spot Energy Module (Nordpool?)

      @sdetweil not yet, It will take some time which I don’t have these days. I’ll let you know.

      posted in Requests
      S
      stephanvdplas
    • RE: Spot Energy Module (Nordpool?)

      @sdetweil

      This makes the “Electricity price” part vanish, but not the rest:

      8646a46b-b980-43b4-a70f-a9da54b2010b-image.png

      So it doesn’t help me.

      posted in Requests
      S
      stephanvdplas
    • RE: Spot Energy Module (Nordpool?)

      @late4marshmellow I’d like to make use of this nice module, but i’d like to get rid of the Header part (Where it shows the words: “Electricity Price EUR” and possibly also the “Now: … ore/kWh” part.
      Is this possible with a css or maybe better with a parameter setting?

      posted in Requests
      S
      stephanvdplas
    • RE: Frameless Bathroom Magic Mirror (Hue-controlled)

      Nice stuff, very well done. I like the hue integration.

      posted in Show your Mirror
      S
      stephanvdplas
    • RE: hourly forecast openweathermap doesn't show data, MagicMirror v2.28

      @sdetweil said in hourly forecast openweathermap doesn't show data:

      @stephanvdplas are you on MagicMirror version 2.29?
      if not, then add

      apiVersion:"3.0",
      

      Thank you! This did the trick!
      I am on 2.28 (and updating is not possible at the moment), but this extra line makes it work again!

      posted in Troubleshooting
      S
      stephanvdplas
    • RE: hourly forecast openweathermap doesn't show data, MagicMirror v2.28

      @sdetweil said in hourly forecast openweathermap doesn't show data:

      units: “imperial”,
      tempUnits: “metric”,
      windUnits: “mph”,
      timeFormat: “12”,
      useBeaufort: true,
      lang: “en”,
      degreeLabel: true,
      useKmh: false,
      showHumidity: false,
      type: “hourly”,
      maxEntries: 10,
      fadePoint: 0.12,
      colored: true,
      fade: false,
      weatherEndpoint:“/onecall” // added

      Hmm, with these same settings (but with my lon/lat and api-kay) it doesn’t work.

      Yesterday I changed my subscription to this:
      65dafb38-b081-4aac-94cc-49a53a971e8d-image.png

      The API is working:
      31bee9ae-9a9f-4184-afc0-49797b263905-image.png

      I’ll send you a PB with my API key so you can test this yourself.

      posted in Troubleshooting
      S
      stephanvdplas
    • RE: hourly forecast openweathermap doesn't show data, MagicMirror v2.28

      @sdetweil
      Ok. Can you (or any reader) confirm the hourly forecast is no longer working?
      And is there something we can do to fix this?
      At the Home Assistant website, I read something about Mode setting to 3.0:

      6f4f56b6-70e3-4098-a33a-ae993f5b6cbc-image.png

      posted in Troubleshooting
      S
      stephanvdplas
    • RE: hourly forecast openweathermap doesn't show data, MagicMirror v2.28

      @sdetweil

      I see these messages:

      moment-with-locales.js:281  Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
      Arguments: 
      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Manya, _f: undefined, _strict: undefined, _locale: [object Object]
      Error
          at Function.createFromInputFallback (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:318:25)
          at configFromString (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:2607:19)
          at configFromInput (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:3050:13)
          at prepareConfig (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:3033:13)
          at createFromConfig (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:3000:44)
          at createLocalOrUTC (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:3094:16)
          at createLocal (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:3098:16)
          at hooks (http://192.168.5.19:8080/vendor/node_modules/moment/min/moment-with-locales.js:10:29)
          at Class.getFormattedValue (http://192.168.5.19:8080/modules/MMM-JsonTable/MMM-JsonTable.js:124:23)
          at http://192.168.5.19:8080/modules/MMM-JsonTable/MMM-JsonTable.js:99:31
      warn @ moment-with-locales.js:281
      Show 1 more frame
      Show less
      8
      ```module.js:364  Parameter mismatch in module.hide: callback is not an optional parameter!
      hide @ module.js:364
      module.js:182 newsfeed is suspended.
      2module.js:182 weather is suspended.
      module.js:182 calendar is suspended.
      module.js:182 MMM-JsonTable is suspended.
      module.js:182 MMM-iFrame is suspended.
      nstreinen.js:73 NS treinen suspend()
      weather.js:164 New weather information available.
      material/:1 [Intervention] Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113
      module.js:391  Parameter mismatch in module.show: callback is not an optional parameter!
      show @ module.js:391
      (anonymous) @ MMM-Remote-Control.js:156
      socketNotificationReceived @ MMM-Remote-Control.js:150
      (anonymous) @ module.js:231
      (anonymous) @ socketclient.js:32
      Emitter.emit @ index.mjs:136
      emitEvent @ socket.js:538
      onevent @ socket.js:525
      MMSocket.socket.onevent @ socketclient.js:26
      onpacket @ socket.js:495
      Emitter.emit @ index.mjs:136
      (anonymous) @ manager.js:204
      Promise.then
      (anonymous) @ websocket-constructor.browser.js:5
      ondecoded @ manager.js:203
      Emitter.emit @ index.mjs:136
      add @ index.js:146
      ondata @ manager.js:190
      Emitter.emit @ index.mjs:136
      onPacket @ socket.js:341
      Emitter.emit @ index.mjs:136
      onPacket @ transport.js:98
      onData @ transport.js:90
      ws.onmessage @ websocket.js:68
      
      module.js:189 weather is resumed.
      

      The daily instance of the Weather module works fine. So there must be changed something in the API of openweathermap i’m afraid that makes the hourly forecast no longer working.

      posted in Troubleshooting
      S
      stephanvdplas
    • hourly forecast openweathermap doesn't show data, MagicMirror v2.28

      Hello all,

      I use the default Weather module in MM three times, one current, the other two for hourly and for daily forecasts:

      		{
      			module: "weather",
      			position: "top_right",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "Zwolle",
      				locationID: "2743476", 
      				apiKey: "******",
      				showPrecipitationAmount: true,
      				appendLocationNameToHeader: false,
      				roundTemp: true,
      				windUnits: "beaufort",
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "komende uren",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "hourly",
      				weatherEndpoint: "/onecall",
      				lat: 52.5125,
      				lon: 6.09444,
      				apiKey: "******",
      				maxEntries: 16,
      				showPrecipitationAmount: true,
      				colored: true,
      				appendLocationNameToHeader: false,
      				roundTemp: true,
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "komende dagen",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "daily",
      				location: "Zwolle",
      				locationID: "2743476",
      				apiKey: "*******",
      				maxNumberOfDays : 11,
      				showPrecipitationAmount: true,
      				colored: false,
      				appendLocationNameToHeader: false,
      				roundTemp: true,
      			}
      		},
      
      This worked like a charme, until last week, where the hourly forecast is shown empty:
      ![Schermafbeelding 2024-10-27 135201.png](/assets/uploads/files/1730033634713-schermafbeelding-2024-10-27-135201.png) 
      
      I see no log message in the mm logs regarding this.
      What can I do to troubleshoot?
      
      Regards,
      Stephan 
      
      posted in Troubleshooting
      S
      stephanvdplas