• 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. TomBrown
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
T
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 12
  • Groups 0

TomBrown

@TomBrown

2
Reputation
12
Profile views
12
Posts
0
Followers
0
Following
Joined Aug 13, 2020, 6:54 PM
Last Online Dec 4, 2020, 7:59 PM

TomBrown Unfollow Follow

Best posts made by TomBrown

  • RE: Module to display information from a text file on a locally shared folder

    OK. Just an update. Finally got back to this. Have it installed and mounted. Kids like it!

    20200830_0933051.jpg

    posted in Requests
    T
    TomBrown
    Aug 30, 2020, 1:43 PM
  • RE: Module to display information from a text file on a locally shared folder

    OK. With some nudging from @sdetweil , I was able to get things fixed up. Have the analog clock instead of digital, have a clockface with regular numbers so they can start learning how to tell time, got rid of the newsfeed and moved the compliments to display at the bottom instead of the newsfeed.

    Next steps is to add more words through a local file and then maybe install a module to pull some pictures from a public feed or maybe some select pictures from my google drive.

    2020.09.08.mm.JPG

    posted in Requests
    T
    TomBrown
    Sep 9, 2020, 1:22 AM

Latest posts made by TomBrown

  • RE: My MM lost power and did not come back up. :(

    So I just wanted to post an update instead of just deleting this post. Hopefully me being a doofus will help someone who may have the same issue.

    I forgot to include the leading " bash -c " before the script. It is installing now.
    So I should have been typing in:

    bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
    
    posted in Troubleshooting
    T
    TomBrown
    Nov 28, 2020, 7:41 PM
  • My MM lost power and did not come back up. :(

    My MagicMirror lost power and did not come back up. The pi itself powers up but the software (OS) did not load. There was a rapid blinking cursor in the top left corner.

    So, I downloaded the latest Raspian version and got it installed to a micro sd card. Put the card into the pi and it booted up fine (regular pi OS, not NOOBS). Configured the WiFi, set a static IP, changed the (pi) password and enabled SSH.

    Connected to the pi using SSH and updated the system by using “sudo apt update” and “sudo apt full-upgrade”.
    The pi is currently running: VERSION=“10 (buster)”.

    So pretty happy with what I have so done so far! I figured that since I had copied the whole MagicMirror directory after I had it configured the first time, I could install MM, copy the config files over and be good to go!

    So I headed over to github (https://github.com/sdetweil/MagicMirror_scripts) and read quickly through it. Opened up an SSH session and tried to run the installer script.

    $(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)
    

    No bueno. :(

    When I run the script as above, here is the error message.
    -bash: #!/bin/bash: No such file or directory

    I am pretty sure I am missing something extremely simple or at least I hope I am. Would appreciate any help.

    posted in Troubleshooting
    T
    TomBrown
    Nov 28, 2020, 7:34 PM
  • RE: Module to display information from a text file on a locally shared folder

    OK. With some nudging from @sdetweil , I was able to get things fixed up. Have the analog clock instead of digital, have a clockface with regular numbers so they can start learning how to tell time, got rid of the newsfeed and moved the compliments to display at the bottom instead of the newsfeed.

    Next steps is to add more words through a local file and then maybe install a module to pull some pictures from a public feed or maybe some select pictures from my google drive.

    2020.09.08.mm.JPG

    posted in Requests
    T
    TomBrown
    Sep 9, 2020, 1:22 AM
  • RE: No numbers in analog watch face

    OK. That did it! Ran the update, now at version 2.13.0-develop
    Changed the clock back to analog with face-010 and it is looking like I want it!
    Thanks @sdetweil !!

    posted in Troubleshooting
    T
    TomBrown
    Sep 9, 2020, 1:17 AM
  • RE: No numbers in analog watch face

    I edited the clock.js to change the default clock from digital to analog.
    Not sure about the weatherforcast.js though. I did make a copy of the files before editing anything. Could I just rename the backup file to the regular one and try the update again?

    posted in Troubleshooting
    T
    TomBrown
    Sep 9, 2020, 12:40 AM
  • RE: No numbers in analog watch face

    @sdetweil said in No numbers in analog watch face:

    @lavolp3 interesting, my script tries to minimize space used, so only downloads the master branch
    to down develop do

    git fetch origin develop:develop
    git checkout develop
    

    I am probably doing something wrong.

    I typed in “git fetch origin develop:develop” and then “git checkout develop” and got an error.

    git checkout develop
    error: Your local changes to the following files would be overwritten by checkout:
    	modules/default/clock/clock.js
    	modules/default/weatherforecast/weatherforecast.js
    	package-lock.json
    Please commit your changes or stash them before you switch branches.
    Aborting
    
    posted in Troubleshooting
    T
    TomBrown
    Sep 8, 2020, 10:25 PM
  • RE: Module to display information from a text file on a locally shared folder

    Thanks Sam! My next task is to change the digital clock to an analog clock. We are also trying to teach the kids how to tell time on an analog clock.

    I changed displayType: “analog” which put up an analog clock with no numbers (just the circle and hands).

    I tried to change analogFace: “face-010” but it only showed the hands, no face and no numbers.

    Did I miss anything? Here is a snip from my clock.js

    Module.register("clock", {
    	// Module config defaults.
    	defaults: {
    		displayType: "analog", // options: digital, analog, both
    
    		timeFormat: config.timeFormat,
    		displaySeconds: true,
    		showPeriod: true,
    		showPeriodUpper: false,
    		clockBold: false,
    		showDate: true,
    		showWeek: false,
    		dateFormat: "dddd, LL",
    
    		/* specific to the analog clock */
    		analogSize: "200px",
    		analogFace: "face-010", // options: 'none', 'simple', 'face-###' (where ### is 001 to 012 inclusive)
    

    Here is how it looks with the simple analog clock.
    mm analog.PNG

    posted in Requests
    T
    TomBrown
    Aug 30, 2020, 7:43 PM
  • RE: Module to display information from a text file on a locally shared folder

    @sdetweil Right now the file is on the pi. This has been on hold since I originally posted as other things came up.

    posted in Requests
    T
    TomBrown
    Aug 30, 2020, 5:46 PM
  • RE: Module to display information from a text file on a locally shared folder

    OK. Just an update. Finally got back to this. Have it installed and mounted. Kids like it!

    20200830_0933051.jpg

    posted in Requests
    T
    TomBrown
    Aug 30, 2020, 1:43 PM
  • RE: Module to display information from a text file on a locally shared folder

    @sdetweil said in Module to display information from a text file on a locally shared folder:

    @TomBrown see the ln command for link

    the compliments file MUST be in the compliments folder or subfolder. it cannot just be anywhere

    the module config entry is

    remoteFile: 'my_comp.json',
    

    so, you could make a link like this

    ln -s my_comp.json /mount_location/path/filename.xxx
    

    that means make a file entry in the current folder called my_comp.json
    and map it to the mounted file filename.xxx

    i use this approach for linking pictures from my file server to be shown by the MMM-ImagesPhotos module

    I have not tried any of this yet (have not had the time yet) but trying to make sure I understand.
    If I created the word list file called “wordlist.txt”, saved that file to a share of “\server\share\wordlist.txt”.
    I would create a file named “my_comp.json” in the compliments folder.
    Then link it to the text file with

    ln -s my_comp.json /server/share/wordlist.txt
    

    And the wordlist.txt would look something like this.

    {
        "anytime" : [
            "Band",
            "Firetruck",
            "Movie",
        ],
        "morning" : [
            "Good morning, sunshine!",
        ],
        "afternoon" : [
            "Hitting your stride!",
        ],
        "evening" : [
            "See you tomorrow!",
        ],
    }
    

    Or would it be easier all around to just set the “remotefile:” and save it locally on the pi. I will be connecting to the pi over vnc.

    posted in Requests
    T
    TomBrown
    Aug 14, 2020, 2:07 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