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

    Posts

    Recent Best Controversial
    • RE: MMM-PythonPrint customisation

      Sam,

      Thank you for this MMM-PythonPrint. More than the sample module this really helped me follow how to wrap my head around how the script.js node_helper and anything else work together. The way you worded the variables and the input and output text really made sense and made it easy to follow what is happening. I am learning a lot. Again, Thank you.

      Kelly

      posted in Troubleshooting
      kayakbabeK
      kayakbabe
    • RE: Can I round Precipitation Units

      I figured it out. I wanted to round it off too. No decimal places.
      You have to edit the template files. look for the showPrecipitationAmount if statement. I altered the output a little bit… see below for what I did.

      in forecast.njk

                      {% if config.showPrecipitationAmount %}
                          {% if f.precipitationUnits %}
                              <td class="align-right bright precipitation">
                                  {{ f.precipitation }}{{ f.precipitationUnits }}
                              </td>
      		                {% else %}
                              {% if f.pop %}
                                  <td class="align-right precipitation">
                                      {{(f.pop * 100).toFixed(0)}}%
                                  </td>
                              {% endif %}
                              <td class="align-right bright precipitation">
                                  {{ f.precipitation | unit("precip") }}
                              </td>
                          {% endif %}
                      {% endif %}
      

      I found info on the templates by googling nunchucks templates.

      posted in Troubleshooting
      kayakbabeK
      kayakbabe
    • RE: dri3 extension not supported

      @kayakbabe said

      I am getting the same error on a fresh sd card on a rpi 3B with buster 32bit installed. It has manually installed MagicMirror, node, etc., no extra modules, just the config sample copied to be config.js.
      …
      [2092:0905/201909.167187:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [2132:0905/201909.521340:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      [2106:0905/201909.609131:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      …

      I did more digging and I am not sure if this is the right solution for a Raspberry Pi 3B running Buster
      I followed the instructions on this page [https://www.raspberryconnect.com/projects/35-games/142-trying-out-opengl-on-raspberry-pi-3] and the viz_main and gpu memory buffer and other stuff disappeared. I’m now playing with the different settings in the raspi-config and going to up the split memory. I tried first with settings it to 128 , half of what they recommended, cause I’m just contrary my mama says. And MagicMirror does seem to run more smoothly than with the default buster install. BUT the pi is much worse at multi tasking now. I can’t have very many chromium windows going at once. So, i’m going to play with the video setttings more. I know I won’t be running chromium when the mirror is running. But if I put a lot of modules into the magic mirror… it would stress the pi too.

      Anyway, perhaps this info will help you.

      Note: on the last buster install, the raspi-config advanced options and performance options are a little different location in the menu than described in this article.

      Kelly

      posted in Troubleshooting
      kayakbabeK
      kayakbabe
    • RE: GPIO'S

      @BKeyport You’ll be limited by the amperage of the Raspberry Pi power supply. You might be able to power about 3 feet of an led strip. But for anything longer, you will need more amperage. Look on Adafruit for “light painting” with a raspberry pi. They discuss the power needs of the strips. Also the more modules you have runnning, the more power the pi will use itself. SO… you might not even be able to power 3 feet.

      posted in General Discussion
      kayakbabeK
      kayakbabe
    • RE: PIR sensor problem after restart Raspi

      @JoeFranz have you checked the logs and see whats throwing errors? That is where I would start.

      posted in Troubleshooting
      kayakbabeK
      kayakbabe
    • RE: dri3 extension not supported

      @leftyleo not to hijack this thread. But since you were thinking of going from 64 to 32 bit os…
      I am getting the same error on a fresh sd card on a rpi 3B with buster 32bit installed. It has manually installed MagicMirror, node, etc., no extra modules, just the config sample copied to be config.js.
      …
      [05.09.2022 20:19.03.191] [LOG] Starting node helper for: newsfeed
      [05.09.2022 20:19.03.192] [LOG] Sockets connected & modules started …
      [05.09.2022 20:19.05.030] [LOG] Launching application.
      [2092:0905/201909.167187:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [2132:0905/201909.521340:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      [2106:0905/201909.609131:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      …

      posted in Troubleshooting
      kayakbabeK
      kayakbabe
    • RE: Multiple screens fo MM.

      @hogedir With a raspberry 4 you can have two displays. I’m thinking they can be set up as an extended desktop . Then it’s no big deal with the default magic mirror.
      Top_left and top_right would end up being left and right…
      I haven’t tried this with MM. But I have used my pi with two screens. But in my mind it ought to work with MM.
      Just don’t use the middle_center or any position that would span across both monitors.

      posted in General Discussion
      kayakbabeK
      kayakbabe
    • RE: Electron v20 will coming with next release but...

      @sdetweil said in Electron v20 will coming with next release but...:

      @kayakbabe where do you see 12?

      all is ok to 19

      https://github.com/fivdi/epoll/issues/42
      Top comment by David

      posted in Upcoming Features
      kayakbabeK
      kayakbabe
    • RE: Electron v20 will coming with next release but...

      I saw on those github issues posed above that

      “This will result in applications that use epoll/onoff being broken after Electron 12.”

      That means most of the button and input sensor type magicmirror modules will probably break.

      So, I"m kinda glad I broke my new button module. and found this info right after. I think I"m going to go with a python based script and bypass the node on/off and epoll. So back to the drawing board.

      posted in Upcoming Features
      kayakbabeK
      kayakbabe
    • RE: help on new spam control idea

      @sdetweil said in help on new spam control idea:

      Also how about no including links for new users until they make x number of allowed posts.

      this hurts real new users struggling to get their stuff running,
      worked for a couple days/weeks to get it to work and finally find this and post…
      and if we put them on the mod queue then they might miss a whole day til their post arrives and someone can help them…

      Good Point.

      posted in General Discussion
      kayakbabeK
      kayakbabe
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 11
    • 12
    • 5 / 12