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

    Posts

    Recent Best Controversial
    • RE: MMM-DHT-Sensor

      @sdetweil i tried that code, but it doesnt work. Still the same problem.
      I always start the MM in the command line with:

      cd MagicMirror/
      npm start
      

      Then the black screen opens and i can’t see whats in the command line because if i want to stop MM i have to reboot the pi (I’m a total beginner, sorry, maybe there is an other possibility to stop without reboot).

      I despair :loudly_crying_face:

      posted in Troubleshooting
      S
      STEFF92
    • RE: MMM-DHT-Sensor

      @yawns yes i did

      posted in Troubleshooting
      S
      STEFF92
    • RE: MMM-DHT-Sensor

      @binia doesn’t work

      posted in Troubleshooting
      S
      STEFF92
    • RE: MMM-DHT-Sensor

      @yawns same problem, nothing else than a black screen

      posted in Troubleshooting
      S
      STEFF92
    • RE: MMM-DHT-Sensor

      @sdetweil i tried it but then there was a black screen with the massage i should create a correct config.js file.

      Befor i added the DHT-module, my MagicMirror was running. Here is my complete config.js file:

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var 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, is "localhost"
      	port: 8080,
      	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"],
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "Castrop-Rauxel",
      				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "447e7403ed196c5dcfc895a3b85dd6b4"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Wettervorhersage",
      			config: {
      				location: "Castrop-Rauxel",
      				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "447e7403ed196c5dcfc895a3b85dd6b4"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "Tagesschau",
      						url: "http://www.tagesschau.de/xml/rss2"
      					},
      					{
      						title: "BILD News",
      						url: "https://www.bild.de/rss-feeds/rss-16725492,feed=news.bild.html"
      					},
      					{
      						title: "Kicker News",
      						url: "http://rss.kicker.de/news/aktuell"
      					},
      					{
      						title: "Kicker BVB",
      						url: "http://rss.kicker.de/team/borussiadortmund"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      		{
                            module: 'MMM-soccer',
                            position: 'bottom_left',
                            config: {
                                    api_key: 'c7c930952f7a4d73951b33b2386d30c1',
                                    colored: false,
                                    show: 'GERMANY',
                                    leagues: {"GERMANY":430},
                                    }
                      },
      		{
      			module: "MMM-DHT-Sensor",
      			position: "bottom_right",
      			config: {
      				sensorTyp: "11",
      				sensorPIN: "7",
      				updateInterval: "2000 ms",
      				animationSpeed: "0",
      				titleText: "Raumtemperatur",
      				units: "metric",
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      posted in Troubleshooting
      S
      STEFF92
    • MMM-DHT-Sensor

      Hi,
      I need some help. I tried to install the DHT module from bernardpletikosa (https://github.com/bernardpletikosa/MMM-DHT-Sensor). But when i start my MagicMirror i onley get a black screen.
      Did i anything wrog in my config.js file? This is what i added:

      {
      			module: "MMM-DHT-Sensor",
      			position: "bottom_right",
      			config: {
      				sensorTyp: "11",
      				sensorPIN: "7",
      				updateInterval: "2000 ms",
      				animationSpeed: "0",
      				titleText: "Raumtemperatur",
      				units: "metric",
      			}
      		},
      

      Thanks

      posted in Troubleshooting dht dht11
      S
      STEFF92
    • RE: [MMM-PIR-Sensor] Install failing

      @strawberry-3.141 Thanks, now the config file and the magic mirror surface are running but there is no response from the sensor. i have moved the potentiometer but the screen doesnt turn off. Do you know any possible mistake i could have made?

      posted in Troubleshooting
      S
      STEFF92
    • RE: [MMM-PIR-Sensor] Install failing

      @johnnyboy yes i tried it like this :

                     {
      			module: 'MMM-PIR-Sensor',
      			config: {
      				sensorPIN: 23,
                                      powerSaving: true,
                                      relayPIN: none,
                                      relayOnState: 1
      			}
      		},
      

      But it dosent work. Same problem as before.

      posted in Troubleshooting
      S
      STEFF92
    • RE: [MMM-PIR-Sensor] Install failing

      @pjkoeleman when i want to start the magic mirror it says that i should create a correct config.js file. But the only thing i added in my config.js file (which runs without the following lines) is:

                     {
      			module: 'MMM-PIR-Sensor',
      			config: {
      				sensorPIN: 23,
                                      powerSaving: true,
                                      relayPIN: none,
                                      relayOnState: 1,
      			}
      		},
      
      posted in Troubleshooting
      S
      STEFF92
    • RE: [MMM-PIR-Sensor] Install failing

      @johnnyboy But it doesnt matter as long as i use the gpio that belongs to this pin or am i wrong?

      posted in Troubleshooting
      S
      STEFF92
    • 1
    • 2
    • 1 / 2