MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. aareben
    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 4
    • Posts 14
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Editing files outside of MM

      @sdetweil how would i get sudo echo into my MMM-Brightness.js? this Is my module rn. Ik its probably very wrong but i don’t actually know javascript so…

      Module.register("MMM-Brightness", {
        defaults: {
        	startingBrightness: 130,
        	jump: 10,
        	path_to_backlight: '/sys/class/backlight/rpi_backlight/brightness',
        },
        start: function () {
        	self = this;
        	var brightness = this.config.startingBrightness;
        },
        notificationReceived: function() {
        if (notification === 'BRIGHTNESS_UP') {
                var brightness = brightness-this.config.jump;}
        if (notification === 'BRIGHTNESS_DOWN') {
                var brightness = brightness+this.config.jump;}
        },
        loaded: function(callback) {
      	this.finishLoading();
      	Log.log(this.name + ' is loaded!');
      	callback();
      }
      })
      posted in Development
      A
      aareben
    • RE: Editing files outside of MM

      @sdetweil that makes sense, my module is just a way to control the brightness of the official ras pi display. all the ones out there do it by sunrise and sunset and I want to be able to do it from on-screen buttons. I was planning on using this, https://github.com/tosti007/MMM-TouchNavigation for the buttons and just using notifications to control the module but this seems to be getting complicated. I just want to be able to edit the number within /sys/class/backlight/rpi_backlight/brightness. I was using the info in here https://www.raspberrypi.org/forums/viewtopic.php?t=214086 to figure it out. Do you have any suggestions for how to do it

      posted in Development
      A
      aareben
    • RE: Editing files outside of MM

      @sdetweil so I would probably be using fs. I’m trying to edit a file on the in the /sys/class. so with research, it would probably be:

      fs.writeFile(/sys/class/___.txt, '18', function (err) { 
                              if (err)
              console.log(err);
      });)
      

      this was taken from a website so I assume its right. I’ve been using vnc viewer to do everything from the pi but I will look into those other file managers. Thanks so much

      posted in Development
      A
      aareben
    • Editing files outside of MM

      I’m learning JS, just to develop a module, but I’m not sure how to edit a file outside magic mirror. I’ve seen people use fs and request, but I’m not sure what those are if someone could help.

      posted in Development
      A
      aareben
    • Brightness Slider

      I have the Ras Pi 7 Inch display and I’d Like to change the brightness of the screen at night. I’d also rather not go into the app every time. Are there any modules besides MMM-RemoteControl that can adjust the brightness?

      posted in Troubleshooting
      A
      aareben
    • RE: VGA Montitor

      @Bugsounet I’m Sorry I dont understand what your saying. Maybe a translation error

      posted in Hardware
      A
      aareben
    • RE: VGA Montitor

      @sdetweil I’m pretty sure you can have the raspi turn on and off the screen through the hdmi. I will have to check on that.

      posted in Hardware
      A
      aareben
    • RE: VGA Montitor

      @sdetweil so then ill prob get an hdmi monitor

      posted in Hardware
      A
      aareben
    • RE: VGA Montitor

      @sdetweil if I lower the brightness and contrast to very low, will I still have glow?

      posted in Hardware
      A
      aareben
    • RE: VGA Montitor

      @sdetweil do you have light bleed through when it’s blanked?

      posted in Hardware
      A
      aareben
    • VGA Montitor

      This probably has already been answered but I can’t seem to find it anywhere. I am using a vga monitor with my magic mirror and I was wondering if it could be dangerous to leave it on all the time. I’m using the PIR script in this HowTo but I’m just changing the screen to black instead of shutting it off. the monitor has popups (like detecting input )when turned off or on. should I just find a used HDMI monitor.

      posted in Hardware
      A
      aareben
    • RE: My mini magic Alarm Clock!

      Ya there’s no way to do it from gui which is annoying but I was going to install a button and it didn’t seem worth it. I just decided to buy a touchscreen instead of a small screen and mirror

      posted in Show your Mirror
      A
      aareben
    • RE: My mini magic Alarm Clock!

      Hey, I know this topic is extremely old but I’m really interested in making an alarm clock like this and I was wondering if u could tell me what type of frame you used.

      posted in Show your Mirror
      A
      aareben
    • Default weather forecast only showing two days

      I’m not sure what happened, but I restarted my pi and now the weather forecast will only show two days, tomorrow, and the day after. I add max days in config, but you can’t add a minimum days. If anyone can help that would be great.

      posted in Troubleshooting
      A
      aareben
    • 1 / 1