Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. sdetweil
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    sdetweil

    @sdetweil

    847
    Reputation
    8070
    Posts
    16419
    Profile views
    53
    Followers
    0
    Following
    Joined Last Online
    Location Pflugerville, Tx

    sdetweil Follow
    Moderator

    Best posts made by sdetweil

    • new update/upgrade script, ready for testing

      given that we will have a regular update quarterly, and we have such a large number of new users experiencing troubles after updates (mostly cause they have a ton to learn)… I have developed a script I would like to get included for future updates…

      it should handle all the work…
      and give you a trial run of all that…

      only applying changes if u request them

      give it a try
      this works on Mac as well

        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
      

      no changes are made to the local repo or the working copy

      if you WANT to actually apply the changes do

        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      

      there is a log file in the installers folder…

      edited Jan 4, 2020 - move from dropbox to github as distro

      posted in General Discussion
      S
      sdetweil
    • RE: npm ERR! Can't install MagicMirror on my Raspberry pi 3

      @lusiess01 ok, we have seen this only a few times… but in each case it was a problem with the memory card. stuff written doesn’t stick…

      posted in Troubleshooting
      S
      sdetweil
    • RE: new update/upgrade script, ready for testing

      I also have a newer installer that resolves a lot of problems with PM2, and supports installing on non-PI systems (Mac, pi zero, odroid, jetson nano)

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

      edited Jan 4, 2020 - move from dropbox to github as distro

      posted in General Discussion
      S
      sdetweil
    • RE: Does MagicMirror work on Amlogic boards like the Odroid C2 and Le Potato?

      i run MM on an ODroid Xu4… I think C2 would be ok.
      le Potato has an ubuntu image 18.04 at least…

      so its seems reasonable… some supporting modules (speech reco mostly) might be lagging

      posted in Hardware
      S
      sdetweil
    • RE: MMM-SleepWake not working

      @dazza120 no. Motion is not related to MM. It can do all sorts of things. Record video, take snapshots, and a lot more. Supports just about every camera.

      And has exits which can be used to inform others of motion, video files, …

      So, follow it’s install instructions. Then edit /etc/motion/motion.conf, and update the lines I documented in the readme. This will call the script I provided to inform my module of motion(start and end)

      U also customize the motion app on sensitivity, delay, etc etc. All things I have seen people ask about.

      posted in Troubleshooting
      S
      sdetweil
    • RE: Dealing with 404 url error in module.

      @mykle1 sorry, you are using some words that don’t describe well what the problem is…

      i THINK you said

      when I try to load image files (local to the MM system), I use a URL string. 
      that URL string is 'relative' to the base of my server, defined by '??????' (you didn't supply that)
      
      when a URL fails to load, I get error 404. (not found). 
      
      but how do I handle this?
      

      you would add an onerror() handler for the img object
      this will get called ONLY when there is an error

      img.onerror = funtion(event_object){
      var img_with_error = event_object.currentTarget
      img_with_error.src=??? the url of the failing image
      }

      see https://www.w3schools.com/jsref/obj_event.asp
      for more info in decoding the event object

      posted in Troubleshooting
      S
      sdetweil
    • RE: has anyone used any of the charting tools, like chartjs?

      here are some pics of the two charts

      two charts upper right

      two

      two charts closer view
      two closer

      one chart
      one chart

      posted in General Discussion
      S
      sdetweil
    • RE: Video Playback Issue

      @jimbydude as I mentioned above you can configure it if, you get one file that was removed in 2.11

      cd ~/MagicMirror
      curl -sl https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh >run-start.sh
      chmod +x run-start.sh
      

      edit package.json and replace the start stmt with this

      "start", "./run-start.sh",
      

      then edit config.js and set
      serverOnly:'local",

      this will launch the run-start.sh when u do npm start or pm2 start x
      the script will check the setting of the serverOnly parm and if set to ‘local’,
      will launch mm in server only and then launch chrome over it. from the outside you cannot tell the difference… (u can for video playback)

      from config.js

      // serverOnly:  true/false/"local" ,
      			     //  local for armv6l processors, default 
      			     //   starts serveronly and then starts chrome browser
      			     // false, default for all  NON-armv6l devices
      			     // true, force serveronly mode, be```cause you want to.. no UI on this device
      posted in Hardware
      S
      sdetweil
    • RE: Error on Updating to v2.6.0

      Erase both lock files, and go again

      posted in Troubleshooting
      S
      sdetweil
    • RE: Dealing with 404 url error in module.

      @mykle1 note that your onerror handler could get stuck in a loop IF the forced replacement url also fails

      posted in Troubleshooting
      S
      sdetweil

    Latest posts made by sdetweil

    • RE: Installing on a Pi Zero

      @stanvv shoulda just used my script

      https://github.com/sdetweil/MagicMirror_scripts

      posted in Troubleshooting
      S
      sdetweil
    • RE: NEED HELP FOR CREATING OUR OWN MODULE...

      @robinsin17 what is a virtual assistant? to you

      posted in Troubleshooting
      S
      sdetweil
    • RE: Head first developing MM module for extreme beginners

      @Schmaniel ctrl-r to reload the screen

      posted in Development
      S
      sdetweil
    • RE: MMM-SleepWake turn off but not turn on

      @chanster pm2 could start motion on boot too

      posted in Troubleshooting
      S
      sdetweil
    • RE: module that displays a certain text from a website, the text on the website is updated daily

      @Amoniak gotta go read the library usage

      posted in Requests
      S
      sdetweil
    • RE: module that displays a certain text from a website, the text on the website is updated daily

      @ashishtank cheerio lib will parse html to json

      posted in Requests
      S
      sdetweil
    • RE: MMM-CoinMarketCap unable to get data

      @ftap which quote doesnt matter

      careful , dont use quotes that are curved, which are word processing. mm requires text type

      single or dual

      posted in Troubleshooting
      S
      sdetweil
    • RE: Calendar doesn't Wrap

      @cldparisi move those settings inside the calendar config block. u have them lost outside config

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-SleepWake turn off but not turn on

      @krosamont change the magicmirror port to like 8090

      posted in Troubleshooting
      S
      sdetweil