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

    Posts

    Recent Best Controversial
    • DumbassCats

      Hey @mykle1 ,
      What am I looking for at RapidAPI.com to get this module to show something besides Meow ? I have an API but it does not seem to work.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @sdetweil said in Cron Job Question:

      @plainbroke autoreconfig?

      u don’t have to build motion, they have binaries (on every platform I’ve tried so far)

      my script (launched by something outside mm)
      creates an empty file in a known folder for each motion event

      detected
      ended

      my module node_helper watches for those files to be created, and then sends notification to my module side to signal sleep or wake depending on the config.

      the default folder is ‘motion’ inside the MMM-SleepWake folder

      the script locates the running mm instance, and uses it’s path to locate the module folder and this it’s motion folder

      the script assumes the path includes the username mm is running under and that username is used to set file permissions, so the module can remove them after processing the detection

      So if I send a empty file ended to the motion folder in MMM-SleepWake that triggers the timer in config.js to blank screen?
      and then in the morning send empty file detected to the same motion folder in MMM-SleepWake it should turn the modules back on.
      Have I got this correct in my head or am I still wondering at sea?

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @sdetweil
      Ok that is what I was wondering. I am playing with it now. I WILL figure it out. I like the idea of it being blank we have enough ambient light from out side. (night time porch lights, I live out in the sticks.) for security lighting…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @Nneuland
      Exactly and I have dimmer max set to 1 which should in my understanding blank the screen. It used to but since my reinstall of MagicMirror and all modules it does not seem to work correctly. I am in the process of removing it and reinstalling the dimmer module, to see if that is my problem… It also starts dimming 2 hours early but changing the dim timer has no effect. The reason for removal and reinstall today…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • sudo apt update error

      Anyone else getting this error when trying to update/upgrade?

      W: Failed to fetch https://packagecloud.io/Keymetrics/pm2/debian/dists/bullseye/InRelease  429  Too Many Requests [IP: 54.215.170.165 443]
      W: Some index files failed to download. They have been ignored, or old ones used instead.
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @sdetweil
      What would the script code look like to do this manually instead of using the motion thing. I tried installing it but could not get it to work for me… the autoreconfig would not run at all… make just failed and one other step could not find certain files. There is no indication it actually installed. so I ran remove and it did. not sure where the motion program was installed in the first place I tried to install from inside MagicMirror/modules so I would be easier for me to find with no luck and when I tried to use find to find it nothing was found. Not my cup of tea for sure.

      Thought if there is a way to run your script manually I would then just incorperate that into a cron job and be done with it.
      The module I am running autodimmer still glows at night and you can see the modules faintly in the background…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Where to find Pi 3B+ or Pi4

      @sdetweil

      Ok was looking around for one of those chromebox deals and saw those… Will keep shopping…

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Cron Job Question

      @sdetweil
      Is there a way to run this as a cron job to black out the screen then in the morning un black the screen?
      I don’t understand the camera angle, I have Motion Eye running on a PI zero and raspberry 5 mp camera and it works showing up in my mirror using Motion-Eye. I just do not understand at all the code to make it happen…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • 1 / 1