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

    Posts

    Recent Best Controversial
    • RE: Mi Temperature2 with xiaomi hygromether

      I would be interested in this module as well. Am not able to code, but at least am able test.

      posted in Requests
      A
      Albert2002
    • RE: [MMM-XiaomiVacuum] - Xiaomi Vacuum status info

      Is this module still working? The only one I found was this one: https://github.com/joseska/MMM-Xiaomi-Vacuum
      This looks more like Romba than Xiaomi. I didn’t tried out.

      Found the right one: https://github.com/poketcalulator/MMM-XiaomiVacuum

      it’s working like a charm with a Roborock V1 on lates FW. Thank you for your work!

      posted in Utilities
      A
      Albert2002
    • RE: MMM-Yeelight

      I love this! I was waiting all the time for a module like this! Thank you!

      posted in Utilities
      A
      Albert2002
    • RE: MMM-FlightsAbove - Display all flights in the sky above you

      I’ve installed without any errors but I get only a “loading” screen.

      No errors in my MM-out or my MM-error-log

      Any Idea?

      My config:

      		{
          module: 'MMM-FlightsAbove',
          header: 'Flights Above',
          position: 'middle_center',
          config: {
              header: "Flights Above",          // The module header text, if any. Use: "" to remove.
              compassHeading: true,             // Use a compass direction (NSWE) for the of heading indicator ("45" vs "NE")
              updateInterval: 180,              // [s] Radar scan/ping/update period in secodns [default 3 min]
              maxItems: 10,                     // MAX Number of planes to display [default is 10]
              // The geographical (map) Boundary-Box (BB), from within planes will be shown are given by:
              // the maximim Lat/Lon edges of: [N-lat, W-lon, S-lat, E-lon] - all in decimal degrees.
              radarBBox: [52.43677263,9.71449553,52.24300914,9.89569576], // "HAJ" (Hannover Airport) 
              //radarLocation: "23.2,54.2",     // [Lat,Lon] - The location of radar center in decimal degrees
              //radarRadius: 60,                // [km] - The maximum distance of planes shown.
              //watchList: "",                  // Alert or Highlight planes/flights/types on this watch list
      			}
      		},
      
      posted in Transport
      A
      Albert2002
    • RE: Weather module not getting shown

      There is no location in your config, or did you replaced the location with the *** ?

      Da ist keine location in deiner config angegeben, es sei denn, du hast die id durch die *** ersetzt.

      posted in Troubleshooting
      A
      Albert2002
    • RE: Rpi3 freezes after a few houres

      Just to let you know: In my case it was the MMM-iHaveBeenThere module which caused the trouble.

      posted in Troubleshooting
      A
      Albert2002
    • RE: Problem with Mi Gateway token

      Is USB debug enabled on your Mobile? You only need to hit the Button “Token auslesen”

      I remember that I had this error as well, but I can not remember what I did to solve it. But usually i would try this:
      A different version of Mi Home, or / and a different device.

      I’ve tried it right now and it was working for me with Java 8 Update 151 MiToolkit 1.5, Mi Home 4.3.15 ( Yes i know its outdated but the 5.x I don’t like) on a Samsung with Android 6.0.1

      posted in Utilities
      A
      Albert2002
    • RE: Rpi3 freezes after a few houres

      @Mykle1 said in Rpi3 freezes after a few houres:

      Have you tried running only the default modules to see if the problem still occurs? If it does not, add them one by one, or in pairs, until you experience a problem so you can isolate the issue.

      Ok, this is what I try now. Thank you for your help!

      posted in Troubleshooting
      A
      Albert2002
    • RE: Rpi3 freezes after a few houres

      I checked this, unfortunately I’m not running two instances. The second one is a service needed by the Sonos Module.
      It seams to me that there a few people which having problems since 2.2.2?

      pi@MagicMirror:~ $ pm2 status
      ??????????????????????????????????????????????
      ? Name  ? mode ? status ? ? ? cpu ? memory   ?
      ??????????????????????????????????????????????
      ? mm    ? fork ? online ? 0 ? 0%  ? 1.3 MB   ?
      ? sonos ? fork ? online ? 0 ? 0%  ? 1.3 MB   ?
      ??????????????????????????????????????????????
       Use `pm2 show ` to get more details about an app
      pi@MagicMirror:~ $ 
      
      
      posted in Troubleshooting
      A
      Albert2002
    • Rpi3 freezes after a few houres

      Hi there,

      I have a strange problem with my MM. After a few hours the MM is complete frozen. No ssh, no ftp and a frozen screen as well.

      I’ve updated to MM 2.2.2 with a fresh install on the same Rasbian as MM 2.2.1 was running. After installing I was coping over from the old MM directory those modules I wanted keep in my new MM - without npm install them. Its running well. I used my old config.js too.

      A fresh rebooted system is running down from 37% free memory to 0% and freezes.
      I have seen, that there are 4 tasks of electron are running which are taking all the memory.

      I have no errors in the logs!

      Any idea what to do?

      My config.js:

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      	address: "0.0.0.0",
      	language: 'de',
      	timeFormat: 24,
      	units: 'metric',
      	modules: [
      		{
      			module: 'alert',
      		},
      		{
      			module: 'clock',
      			position: 'top_left'
      		},
      		{
      			module: 'calendar',
      			header: 'Mein Kalender',
      			position: 'top_left',
      			config: {
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'webcal://www.ifeiertage.de/ni-.ics'
      					},
      						{
      						symbol: 'calendar-o',
      						url: 'https://calendar.google.com/calendar/ical/private-basic.ics'
      						},
      						]
      					}
      		},
      		{
      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Langenhagen',
      				locationID: '2881062',  //ID from http://www.openweathermap.org
      				appid: '
      					}
      		},
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Wettervorschau',
      			config: {
      	            location: 'Langenhagen',
      				locationID: '2881062',  //ID from http://www.openweathermap.org
      	            appid: '
      					}
      		},
      		{
      			module: 'MMM-Remote-Control',
      			// uncomment the following line to show the URL of the remote control on the mirror
      			//position: 'bottom_left'
      			// you can hide this module afterwards from the remote control itself
      		},
      
      		{
      			module: 'MMM-PNews',
      			position: 'bottom_bar',
      			config: {
      				key: "",
      				maxWidth: "100%",
      				newsSource: "der-tagesspiegel", // "der-tagesspiegel", "die-zeit", "gruenderszene", "spiegel-online", "t3n", "wired-de",
      					}
      		},	
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "HAZ Schlagzeilen",
      						url: "http://www.haz.de/rss/feed/haz_schlagzeilen",
      					},
      					{
      						title: "SPIEGEL Schlagzeilen",
      						url: "http://www.spiegel.de/schlagzeilen/index.rss",
      					},
      						],
      				showSourceTitle: true,
      				showPublishDate: true,
      				showDescription: true,
      				updateInterval: 20 * 1000,
      				animationSpeed: 3.5 * 1000
      					}
      		},
      	
      		{
      			module: 'internet-monitor',
      			position: 'top_center',
      			header: '',
      			config:{
      				type: 'minimal',
      				maxTime: 1,
      				updateInterval: 9000000,
      				verbose: false,
      				displayStrength: true,
      				displaySpeed: true,
                      strengthIconSize: 80,
                      maxGaugeScale: 1,
      		wifiSymbol:{
                          size: 20,
                          fullColor: '#3afc25',
                          almostColor: '#ffff0c',
                          halfColor: '#ff8c00',
      					noneColor: '#ff1111'
      
      					},
      					},
      		},
      		{
      			module: 'MMM-MovieListings',
      			position: 'bottom_right',
      			header: '',
      			config: {
      				
      				includeMoviePlot: true,
      				apiKey : "",
      				interface: 'poster', //'list', 'poster', 'detailed'
      				//moviesPerPage : 5,
      				pageChangeInterval : 20 * 1000, // = 30 seconds
      				refreshInterval : 1000 * 60 * 60 * 24, // = Once a day
      					}
      		},
      		{
      			module:	'MMM-Fuel',
      			position: 'top_left',
      			config: {
      				api_key: "",
      				lat: 52.429327,
      				lng: 9.726591,
      				sortBy: "e5",
      				types: ["e5", "diesel"],
      				rotate: false,
      				open: true
      			}
      		},
      
      		{
      			module: 'MMM-nasaastropic',
      			position: 'top_left',
      			config: {
      					updateInterval: 6*60*60*1000,
      					animationSpeed: 0,
      					header: 'NASA - Bild des Tages',
      					maxlongedge: 1300
      					}
      		},
      		{
      			module: 'MMM-SystemStats',
      			position: 'top_left', // This can be any of the regions.
      			classes: 'small dimmed', // Add your own styling. Optional.
      			config: {
      				updateInterval: 10000,
      				animationSpeed: 0,
      				align: 'left', // align labels
      				//header: 'System Stats', // This is optionaL
      					},
      		},
      	
      		},*/
      		{
      			module: 'MMM-Carousel',
      			config: {
      				transitionInterval: 20000,
      				ignoreModules: ['clock', 'alert', 'internet-monitor', 'currentweather', 'MMM-Remote-Control',],
      				mode: 'slides',
      				slides: [
      				['calendar', 'MMM-PNews', 'MMM-MovieListings', 'MMM-Sonos',],
      				['MMM-nasaastropic', 'weatherforecast',],
      				['MMM-Fuel', 'newsfeed', 'MMM-MovieListings', 'MMM-Sonos',],
      				['MMM-Events','MMM-SystemStats', 'MMM-MovieListings', 'MMM-PNews', 'MMM-Sonos',],
      				['MMM-xiaomi', 'MMM-SystemStats', 'weatherforecast', 'MMM-Sonos',],
      				['MMM-iHaveBeenThere']
      				
      				]
      					}
              },
      		{
      			module: 'MMM-Events',
      			position: 'top_left',
      				config: {
      				city: "Hannover",	           // Your City
      				eventType: "performing_arts",		   // Choose from Events List below
      				when: "Next week",                 // "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months by name, e.g. "October"
      				mode: "noFrame",                   // "Frame" or "noFrame" (around picture)
      				apikey: "",
      				rotateInterval: 1 * 60 * 1000,     // New Event Appears every 3 minutes
      				useHeader: false,	           // Set to true if you want a header
      				header: "",
      				animationSpeed: 3000,              // Event fades in and out
      				picture: true,                     // true, false = no image
      						}
      		},
      		{
      		module: 'MMM-xiaomi',
      		position: 'bottom_left',
      		header: 'Temperatur / Feuchtigkeit',  // This is optional
      		config: {
      			gatewayIP: '192.168.2.160',
      			gatewayToken: '6ebf9b84e5c615c09268166a99b95f0a',
      			showWindow: true,
      			showVentilation: false,
      			minTemperature: false,
      			maxHumidity: false,
      			showTrend: true,
      			showNotifications: false,
      			outsideSensorId: '158d0001b920bd',
      			rooms: [
      			{ name: 'Wohnzimmer', sortOrder: 30, devices : ['158d00015736a8', '158d000119fcb2'] },
      			{ name: 'Bad', sortOrder: 30, devices : ['158d0001b911b9'] },
      			{ name: 'Schlafzimmer', sortOrder: 30, devices : ['158d0001b91177', '158d00011919a3', '56234267'] },
      			{ name: 'Arbeitszimmer', sortOrder: 30, devices : ['158d0001b9035b'] },
      			{ name: 'Draußen', sortOrder: 30, devices : ['158d0001b920bd'] },
      					],
      				}
      		},
      		{
      		module: 'MMM-iHaveBeenThere',
      		position: 'middle_center',	// bigger place is recommended.
      		config: {
      			zoomLevel: 1.0,
      			home_desc: "Langenhagen",
      			home_lat: 52.436972,
      			home_lon: 9.714468,
      			away_lat: [8.077707, -4.251792, 43.653226, 13.062883, 35.902819, 23.089880, 7.934206, 11.199286, 20.629559,  45.440847, 36.543312, 56.949649, 47.497912,  41.385064, 40.416775, 30.388870,  6.451360, 47.582370, 46.776085, 3.157764, 45.438845, 50.075538, 36.405267, 38.966901, ],
      			away_lon: [77.531977, 39.598932, -79.383184, -59.542683, 14.487007, -82.361938, 98.371216, -60.789940, -87.073885, 12.315515, 32.008322, 24.105186, 19.040235, 2.173403, -3.703790, -9.600254, 79.978741, 12.162750, 9.676668, 101.711860, 17.191742, 14.437800, 10.622360, 1.551727, ],
      			away_desc: ["Indien", "Kenja", "Kanada", "Barbados", "Malta", "Cuba", "Thailand", "Trinidad & Tobago", "Mexico", "Venedig", "Türkei", "Letland", "Budapest", "Barcelona", "Madrid", "Marokko", "Sri Lanka", "Österreich", "Schweiz", "Malaysia", "Kroatien", "Prag", "Tunesien", "Ibiza"],
      			trip: [false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false]
      				}
      		},
      		{
      	module: 'MMM-Sonos',
      	position: 'middle_center', // you may choose any location
      	config: {}
      }
      
      
      	]
      
      };
      
      posted in Troubleshooting
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Am still impressed by your speed and your skill! Thank you for sharing your work with us!

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      It’s still not working for me. I just think those are two different modules we need for. MMM-xiaomi is only for displaying the different Temperature readings and the state of the Windows sensors. And this does pretty well!

      I tried Openhub with the Yeelight binding. The idea was to get it on the mirror with mmm-openhabfloorplan
      I was only able to see my Yeelights in Openhab and the remote but whitout being able to switch them. Only to make them visible on the mirror its a bit to much effort I think. Maybe I did something wrong.

      As far as I understood the most important point is that you have to chose Singapore if you want to control your Yeelignts with Alexa. For Everything else there are a lot to tutorials around.

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      For those who have problems with getting the Token from the Gateway, I found a tool which you can use with Windows and its a singe click solution.
      Keep in mind its only the Token of the Gateway (and other Xiaomi stuff), not the ID of the sensors!

      https://github.com/ultrara1n/MiToolkit/releases

      Direct download:
      https://github.com/ultrara1n/MiToolkit/releases/download/1.5/MiToolkit.1.5.zip

      Am not sure, is it translated already, so that are the steps:

      You need:
      Installed & working MiHome app on your Mobile
      Java on you PC
      USB debug enabled on your mobile
      Connect your mobile with your PC. Hit the “Token auslesen” button - its the only button…
      On your mobile you will be asked to create a backup. Agree, don’t use a password. After one, two minutes you will see all the Tokens in the Frame:

      alt text

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @mirko3000 said in MMM-xiaomi - Temperature and Humidity from your smarthome:

      Oh and I just fixed an issue with the notifications, they should disappear after 10 seconds, now they do again :)

      BTW: please use the issue tracker on github to track issues, this helps other find similar problems:
      https://github.com/mirko3000/MMM-xiaomi/issues

      Thank you for this! :)
      In the future I’ll use the issue tracker.

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @mirko3000 said in MMM-xiaomi - Temperature and Humidity from your smarthome:

      Did you try with the ‘miio --discover’ command line utility? Do the lights show up there?

      Yes I did so with success. I got the ID, IP and token. I had tried to add it like a sensor this way:

      config: {
      			gatewayIP: '192.168.2.160',
      			gatewayToken: '6ebf9b84e5c615c09268166a99b95f0a',
      			showWindow: true,
      			showVentilation: false,
      			minTemperature: false,
      			maxHumidity: false,
                              showLights: true
      			rooms: [
      			{ name: 'Wohnzimmer', sortOrder: 30, devices : ['158d00015736a8', '158d000119fcb2'] },
      			{ name: 'Bad', sortOrder: 30, devices : ['158d0001b911b9'] },
      			{ name: 'Schlafzimmer', sortOrder: 30, devices : ['158d0001b91177', '158d00011919a3', '56234267'] }, //Bulp ID
      			{ name: 'Arbeitszimmer', sortOrder: 30, devices : ['158d0001b9035b'] },
      			{ name: 'Draußen', sortOrder: 30, devices : ['158d0001b920bd'] },
      					],
      				}
      		},
      

      and this way:

      config: {
      			gatewayIP: '192.168.2.160',
      			gatewayToken: '6ebf9b84e5c615c09268166a99b95f0a',
      			showWindow: true,
      			showVentilation: false,
      			minTemperature: false,
      			maxHumidity: false,
                              showLights: true
      			{ name: 'Bad', sortOrder: 30, devices : ['158d0001b911b9'] },
      			{ name: 'Schlafzimmer', sortOrder: 30, devices : ['158d0001b91177', '158d00011919a3', ] },
      			{ name: 'Arbeitszimmer', sortOrder: 30, devices : ['158d0001b9035b'] },
      			{ name: 'Draußen', sortOrder: 30, devices : ['158d0001b920bd'] },
      					],
                             gatewayIP: '192.168.2.101', // IP of the bulp
      			gatewayToken: 'fd1d31c907fc5506fc379445eb6bd146', // token of the bulp
      rooms: [
      { name: 'Flur', sortOrder: 30, devices : ['56234267'] }, // ID of the bulp
                     ]
      
      
      				}
      		},
      

      Btw I noticed some behaver am not sure about.
      How to get rid of the notification about Humidity?
      alt text

      Its Full screen and always on the top. Even when the pages changing using MMM-Carousel its still on top.

      Using stars as notification for open windows:
      When I was gone to bed at night with open window there was a star shown. In the morning still with open window the star was gone. What happens there?

      Are there no more indicators for the trent?

      alt text

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Just want to say that there is no different between the Xiaomi and Aqara Temperature sensor. Both are working like a charm. The only different is that the Aqara shows the Air pressure (in the MiHome app) as well.

      @Mirko3000 Thank you for your hard work! You are always improving the module in light-speed!

      I was playing around with my Yeelights colorbulbs but I didn’t get it working on MM. Guessing its because of they have they own ID, IP and token. However, thats why am still using the app. :-)

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      I’ve added them one by one. Remove them all and add them one by one. Or add all of them to the module. Then its easy to discover if you keep one of them somewhere cold, all the other warm. The Id and the temperature will guide you.

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      My new sensors are arrived… I love it! Great work!

      alt text

      Which lights are supported?

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @mirko3000 said in MMM-xiaomi - Temperature and Humidity from your smarthome:

      Don’t forget to update the npm packages (miio), there is a bugfix which caused wrong close events of the windows. Either ‘npm update’ in the MMM-xiaomi folder, or delete the “node_modules” folder and simply execute ‘npm install’ again.

      Now I did so. Thank you for the hint!

      posted in Utilities
      A
      Albert2002
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @mirko3000 said in MMM-xiaomi - Temperature and Humidity from your smarthome:

      Note that the icon only appears on open windows - its a white star.

      That was the point that i’ve missed! when I open the window, the white star appears impatiently! I love this module! Thank you for your work!

      posted in Utilities
      A
      Albert2002
    • 1
    • 2
    • 3
    • 1 / 3