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

Shockwave

@Shockwave

8
Reputation
1.2k
Profile views
22
Posts
0
Followers
0
Following
Joined Jun 27, 2016, 2:06 AM
Last Online Mar 31, 2024, 4:02 PM

Shockwave Unfollow Follow

Best posts made by Shockwave

  • RE: How do you switch on / off, wake up yours?

    I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me.

    crontab -e

    00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1
    0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2
    

    monitor-off.sh

    #!/bin/bash
    
    vcgencmd display_power 0
    
    # export DISPLAY=:0.0
    # xset dpms force off
    

    monitor-on.sh

    #!/bin/bash
    
    vcgencmd display_power 1
    
    # export DISPLAY=:0
    # xset dpms force on
    # xset s reset
    
    posted in Hardware
    S
    Shockwave
    Dec 14, 2016, 5:10 AM
  • RE: calendar *.ics file from local path

    @co8
    Yes, I got it working after a bit of experimenting. It wouldn’t read the ics file from other places like /MagicMirror which I assumed to be the root of the webserver.

    I created a new directory in /MagicMirror/modules, named birthdays, and placed by birthdays.ics file in there.

    Then in my config I added a 2nd calendar:

    				{
    					symbol: 'birthday-cake',
    					url: 'webcal://localhost:8080/modules/birthdays/birthdays.ics'
    				}
    
    posted in Troubleshooting
    S
    Shockwave
    Aug 8, 2016, 12:37 AM
  • RE: Calendar - Use calendar form local file system

    @coolchip , yes this can be done easily by serving it up via http.

    My 2nd calendar entry looks like this:
    {
    symbol: ‘birthday-cake’,
    url: ‘webcal://localhost:8080/modules/birthdays/birthdays.ics’
    }

    That may not be the best location to put it, but I wasn’t able to get it read from outside of /modules.

    posted in Troubleshooting
    S
    Shockwave
    Jul 16, 2016, 3:45 AM
  • default calendar - individual icon colors?

    I’m loading 2 calendars, one with the US Holidays and another with friend’s birthdays and anniversaries. I’ve figured out how to change the color of all of the icons which adds a nice bit of color, but I was wondering if it was possible to change the color of the birthday cake icon independently of the calendar-check-o icon.

    posted in Troubleshooting
    S
    Shockwave
    Jun 27, 2016, 2:15 AM

Latest posts made by Shockwave

  • RE: stuck with MMM-RTSP module

    Maybe try changing the % to %25. This is the escape sequence for a percent sign in a url.
    rtsp://myname:my%pass@123.456.789.123:9876/videoMain
    becomes:
    rtsp://myname:my%25pass@123.456.789.123:9876/videoMain

    posted in Utilities
    S
    Shockwave
    Oct 11, 2017, 3:15 AM
  • RE: [MMM-iFrameReload]: iFrame won't load

    Adding square brackets around the URL got mine to work. (After changing the title to MMM-iFrameReload) I don’t recall if it still threw the error about the helper module loading or not.
    change
    url: ‘www.example.com’,
    to
    url: [‘www.example.com’],

    posted in Troubleshooting
    S
    Shockwave
    Aug 25, 2017, 4:38 AM
  • RE: MMM-Wunderground - 2 locations gives duplicate data from the first location

    I fixed it by reverting to a 9/17/2016 release. Not the most elegant and I may try to move forward again so my wind isn’t in Beaufort Scale. :)

    The pws keys I showed work and can be verified by going through a regular web browser to Wunderground. Having 2 locations report the same weather is what got me to try different codes, and I was happy to learn that the city and airport identifiers work.

    posted in Troubleshooting
    S
    Shockwave
    Mar 8, 2017, 1:28 AM
  • RE: Weatherunderground - currently - hourly - daily - configurable

    @Crispis Thanks for posting it. I think you’re missing a comma after appid in the weatherforecast and currentweather modules. Being at the end that may not be it, I seem to have instances where they aren’t on the last line either.

    You said it works without the Wunderground module, correct? Could it be setting the language to Dutch without having Dutch selected in the International Settings within raspi-config? It sure looks okay unless there’s a hidden symbol in there. How are you editing it on the mirror?

    Here’s mine if you want to try.

    	{
    		module: 'MMM-WunderGround',
    		position: 'top_right',
    		header: 'Ankeny Weather',
    		config: {
    			apikey: 'api key here',
    			pws: 'KIKV',
    			hourly: '0',
    			fcdaycount: '7',
    			fade: 'false',
    			fadePoint: '1',
    			alerttime: 10000,
    			UseCardinals: 1,
    			roundTmpDecs: 1,
    			}
    	},
    
    posted in Troubleshooting
    S
    Shockwave
    Dec 17, 2016, 6:07 PM
  • RE: Weatherunderground - currently - hourly - daily - configurable

    @Crispis
    CO/Denver should be okay as that’s the same format I’m using for one of my entries which is AZ/Yuma. You could also try an airport identifier such as KDEN for Denver International.

    As for saving the file, I assume you’re copying and pasting from Putty? Does turning off word wrap make it any better? Could you copy from putty and paste it in here as a code block?

    posted in Troubleshooting
    S
    Shockwave
    Dec 16, 2016, 11:54 PM
  • RE: Weatherunderground - currently - hourly - daily - configurable

    @Crispis Can you post your full config.js please? (if the above is just truncated) I’m wondering if there’s something just before the MMM-Wunderground module that’s causing you grief.

    posted in Troubleshooting
    S
    Shockwave
    Dec 16, 2016, 5:30 AM
  • RE: Weatherunderground - currently - hourly - daily - configurable

    @Crispis I’m not sure, but I think you may not need the comma after the ending curly bracket if you only have 1 item in modules. (3rd line from the bottom) I think that might be why config: { } doesn’t get an ending comma.

    posted in Troubleshooting
    S
    Shockwave
    Dec 16, 2016, 3:31 AM
  • RE: How do you switch on / off, wake up yours?

    I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me.

    crontab -e

    00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1
    0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2
    

    monitor-off.sh

    #!/bin/bash
    
    vcgencmd display_power 0
    
    # export DISPLAY=:0.0
    # xset dpms force off
    

    monitor-on.sh

    #!/bin/bash
    
    vcgencmd display_power 1
    
    # export DISPLAY=:0
    # xset dpms force on
    # xset s reset
    
    posted in Hardware
    S
    Shockwave
    Dec 14, 2016, 5:10 AM
  • MMM-Wunderground - 2 locations gives duplicate data from the first location

    @RedNax
    Mr. Wizard, help please. :)
    I updated the MMM-Wunderground module tonight which pulled a new version. However, now I have Yuma, Arizona weather showing up for both Yuma, and Des Moines, Iowa. I know it’s unseasonably warm, but it wasn’t 90. :)
    Config, that has been working properly.

    	{
    		module: 'MMM-WunderGround',
    		position: 'top_right',
    		header: 'Yuma Weather',
    		config: {
    			apikey: 'removed',
    			pws: 'AZ/Yuma',
    			hourly: '0',
    			fcdaycount: '7',
    			fade: 'false',
    			fadePoint: '1',
    			alerttime: 10000,
    			UseCardinals: 1,
    			roundTmpDecs: 1,
    			}
    	},
    	{
    		module: 'MMM-WunderGround',
    		position: 'top_right',
    		header: 'Ankeny Weather',
    		config: {
    			apikey: 'removed',
    			pws: 'KIKV',
    			hourly: '0',
    			fcdaycount: '7',
    			fade: 'false',
    			fadePoint: '1',
    			alerttime: 10000,
    			UseCardinals: 1,
    			roundTmpDecs: 1,
    			}
    	},
    

    And the results:
    0_1479273600820_forecase.jpg

    posted in Troubleshooting
    S
    Shockwave
    Nov 16, 2016, 5:23 AM
  • Alert box size?

    Our National Weather Service can be quite verbose in their watches and warnings. I’ve tried to make the Alert box change size by adding the following to the custom.css however I don’t have it right yet.

    .ns-alert {
    top 10%
    width 10%
    }
    

    Note from admin: Please use Markdown on code snippets for easier reading!

    posted in Development
    S
    Shockwave
    Aug 19, 2016, 1:11 AM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy