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

    Posts

    Recent Best Controversial
    • RE: PIR and config.js

      @sdetweil Oh… ok… thanks… I’ll do that.
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @sdetweil I typed it in straight from the keyboard… No copy and paste at all… Still the still the same error…
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @N6NG When I put the
      exec (“/usr/bin/vcgencmd display_power 0”, null);
      in the config.js I get an error. When I run npm run config:check it says that line has an Unexpected token
      “/usr/bin/vcgencmd display_power 0”

      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @sdetweil Ok Sam… thanks I’ll give it a try and see how it does… will let you know…

      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @N6NG Do I modify it where it is or do I copy it into the config.js ? If I modify it where it is and change the sensor pin what would I put in the config.js?

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @sdetweil Use the whole node_helper.js except as I modify it? The only thing I would modify would be the sensor pin number… All else would stay the same?
      Thanks

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      I never saw an example of what the config.js would look like to have the vcgencmd be used to turn the screen on and off. Would someone post a part of a config.js with this in use so I can get a look at how it would be used? I would appreciate it.
      Thanks all
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @shall_ Although it might help others if you don’t mind posting it here…
      Thanks
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR and config.js

      @shall_ Yes… I would like to look at it… If you would like not to post it to public, you can send it to my protected email
      wg7dgxytg@relay.firefox.com
      Thanks
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • PIR and config.js

      I saw the thread about running the script below to see if the screen would react to the vcgencmd.

      /usr/bin/vcgencmd display_power 0; echo “Display should now be off”; sleep 20; /usr/bin/vcgencmd display_power 1; echo “And now it should be on again”

      I did so and the screen did as advertised… My problem is I’m not sure how to incorporate this into the config.js to make my PIR work properly.

      {
      		module: "MMM-PIR-Sensor-Lite",
      		position: "top_right",
      		config: {
      			sensorPin: 2, // GPIO pin
      		        commandType:  "vcgencmd",  
                                      }
      } 
      

      Can one of you smart people give me some ideas?
      Thanks all…
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: PIR problem

      @Peter Hello Peter… I’m not sure I understand… I ran the following test on my mirror and it worked as it should.

      /usr/bin/vcgencmd display_power 0; echo “Display should now be off”; sleep 20; /usr/bin/vcgencmd display_power 1; echo “And now it should be on again”

      But now I need to incorporate it into my config.js for my MMM-PIR-Sensor-Lite. I see the command type and ‘vcgencmd’ but once I get that in the config how do I do the turn on and turn off?

      Thanks for all the help and you also Sam.

      Dennis

      posted in Troubleshooting
      N6NGN
      N6NG
    • RE: MMM-PIR-Sensor-Lite not switching off

      @sdetweil No. are they yours?.. I’ll take a look…
      Dennis

      posted in Troubleshooting
      N6NGN
      N6NG
    • RE: MMM-PIR-Sensor-Lite not switching off

      @djlagaffe It’s the one module I’ve never been able to make work… I’ve tried everyone I can find, I’ve check to make sure I have the correct pin number and that the PIR itself worked but I still can’t find one that does the job… I’ve not even had any luck with the EXT-PIR on 4th party modules and not been able to make that one work. I wish you all the best and I’ll be watching and hope you find the problem. I’ve been watching for some answers but not yet…
      Good Luck
      Dennis N6NG

      posted in Troubleshooting
      N6NGN
      N6NG
    • RE: New Bulid

      @Bungle68 I put a small power strip inside the frame and power the monitor, pi and anything else requiring 110v and have one power cord out to an outlet…
      Dennis N6NG

      posted in System
      N6NGN
      N6NG
    • MMM-Weather sizing?

      I can’t figure out how to size the whole MMM-Weather image module. On one of my screens it fits perfectly on the other larger screen it overwrites the calendar times. How do I manage to reduce the overall size of the MMM-Weather module image?
      Thanks all
      N6NG Dennis

      posted in Custom CSS
      N6NGN
      N6NG
    • RE: Widgit accessabililty

      @wishmaster270 I ended up using MMM-EmbedURL and it worked fine for what I was trying to do. Thanks all for your help
      N6NG
      DENNIS

      posted in Development
      N6NGN
      N6NG
    • RE: Using MMM-Widget for images

      @wishmaster270 Is their any way to size the img?
      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • RE: Using MMM-Widget for images

      @sdetweil That makes sense… It works well now.

      posted in Utilities
      N6NGN
      N6NG
    • RE: Using MMM-Widget for images

      @wishmaster270 I couldn’t see how that would affect it but it sure did…
      Thank you so much… works fine lasts a long time.
      Dennis N6NG

      posted in Utilities
      N6NGN
      N6NG
    • RE: Using MMM-Widget for images

      @N6NG
      I put this in my config.js and I get nothing in the bottom_right of my screen. The rest of my MM looks fine… but nothing shows up
      from this module.

      {
      module: “MMM-MMM-EmbedURL”,
      position: “bottom_right”,
      header: “Embed-URL”,
      config: {
      updateInterval: 120,
      embedElementType: “img”,
      embed: [
      “https://www.hamqsl.com/solarmuf.php”
      ]
      },
      },

      Dennis

      posted in Utilities
      N6NGN
      N6NG
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 1 / 8