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

    Posts

    Recent Best Controversial
    • RE: Module Developer Challenge - I surrender!

      @Mykle1 It actually might be best to run cat /sys/class/thermal/thermal_zone*/type to see if they’re already populating on your Ubuntu install. If so, you can run cat /sys/class/thermal/thermal_zone*/temp to get all the values, or just cat a specific one. Should be to three decimal places (i.e. 64000 means 64.000°C).

      You might run it a few times to see that the values change, and if they do, then use the same exec() method from MMM-SystemStats with the right command and some math.

      posted in Development
      N
      ninjabreadman
    • RE: Module Developer Challenge - I surrender!

      @Mykle1 Hmm, it may be that vcgencmd is specific to the RPi. You can try these; acpi seems like a contender, as does lm-sensors.

      posted in Development
      N
      ninjabreadman
    • RE: Show a telegram group in Magic mirror

      @fox The only Telegram implementation that I’ve seen is the MMM-TelegramBot, and that receives messages but doesn’t show them. It would provide a point of departure, and maybe @Sean could suggest how easy/hard it would be to capture messages and inject to a scrolling chat window.

      posted in Requests
      N
      ninjabreadman
    • RE: Newbie to Pi looking to start a MM

      Welcome, @torc! You might also check out this thread from @3DPrintedWaffles.

      1. Automatic timed shutdown and boot up (no point it being on at night when nobody is there to benefit).

      This requires added hardware, as the RPi doesn’t have the internal capacity. See this thread on StackExchange. Given you’ll already have the monitor going into standby, you’ll need to determine whether the added cost, work and potential complications are worth the effort.

      1. motion sensor to activate display.

      @cruunnerr is the village expert. Check out this very thorough walkthrough to get started.

      1. small LEDs on back of frame that change with certain outside temperature changes.

      You can start at this post and module. However, there are endless articles on how to connect an RBG LED light strip to an RPi, etc.

      1. map display of selected mobile devices by clicking a button on another device (eg if I want to see where my kids mobiles are, click a button on mine and a map would appear in the mirror with theirs.

      You can trigger displaying modules via a phone/tablet/computer with MMM-Remote-Control, or a button with MMM-Buttons – both by @Jopyth. The harder part will be the map. It’s true that Apple and Google have something like Find My Friends (or Find My Phone for devices connected to your account) but I don’t know of any available APIs for those services. (There are apparently some unofficial Node.js clients.)There is tracking software you can install on Android, but it tends to be insecure garbage.

      posted in General Discussion
      N
      ninjabreadman
    • RE: Module Developer Challenge - I surrender!

      @Mykle1 Depending on the style/implementation you’re using, you may want to read up on Promises in JS.

      Also, see this note here about the lm-sensors package.

      Alternatively, have a look at MMM-SystemStats which uses vcgencmd on the CLI to retrieve the system temp, which would be far easier to integrate into your current module.

      posted in Development
      N
      ninjabreadman
    • RE: Module Developer Challenge - I surrender!

      @Mykle1 It doesn’t seem that pc-stats has all the info you require. You might consider switching to the systeminformation package.

      You can then use si.cpu() for your CPU stats and si.cpuTemperature() to retrieve an object that (if I read the docs right) looks like { main: 0, max: 0, cores: [0, 0] } with your core temps. You can then combine the two responses (or you may be able to have it return all within one request) and return those in a single sendNotification() call.

      posted in Development
      N
      ninjabreadman
    • RE: This Day in History ticker?

      @cowboysdude Agreed, I meant if @xela is looking to find code examples to construct a single module. Sorry if that wasn’t clear; best to keep in a single module.

      posted in Requests
      N
      ninjabreadman
    • RE: This Day in History ticker?

      @donutsoup @cowboysdude That would make a slick module. You could cobble it together from various others, like MMM-json-feed to fetch your data and newsfeed to display it in discrete elements/items.

      posted in Requests
      N
      ninjabreadman
    • RE: Help with the camera

      @xela Read through this issue on GitHub. Given you were trying to make the webcam full screen, is it related?

      posted in Troubleshooting
      N
      ninjabreadman
    • RE: Help with the camera

      @xela Regarding rotating the camera, you can physically rotate the camera. If you’re directly connecting it to the RPi, consider using a flex cable instead.

      posted in Troubleshooting
      N
      ninjabreadman
    • 1 / 1