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

    Posts

    Recent Best Controversial
    • Bugsounet and MMM-Pir

      Does anyone know what happend to @bugsounet and his MMM-Pir module?

      He seems to have been banned from this forum and his module is no longer available on Github.

      posted in General Discussion
      Q
      qistoph
    • RE: Maintaining modules - security updates

      Would’ve been nice if there were (at least a couple) basic libs with long time support. Security fixes, maybe some added functionality now and then, but no breaking changes…

      The actual risk of almost all vulnerabilities is quite low indeed because of the way our systems are setup. It’s just the earie feeling of seeing all these critical issues while installing my modules that doesn’t feel right.

      posted in Development
      Q
      qistoph
    • Maintaining modules - security updates

      Hi everyone,

      As a developer/maintainer of a couple of MM modules I’m really wondering how everyone is keeping their modules’ dependencies up to date.

      An easy thing to do would be to run npm audit fix on my repos and/or merge all PRs from dependabot, but I’m too worried about breaking changes in dependencies. I wouldn’t know how to find the time to extensively test and fix all functionality in the modules. Especially if it would break functionality that someone else is using, that I’m not myself.

      How do other developer handle this?

      Chris

      posted in Development
      Q
      qistoph
    • RE: MMM-MyCommute need to edit the arrival time

      Hi @3squaremirror,

      At the time it’s not configurable.

      If you’re able to work out a fix and create a pull request, I’d be happy to include it in my version.

      posted in Transport
      Q
      qistoph
    • RE: MMM-MyCommute Bug

      If you’re using my fork, there’s a detailed description of the some what complex setup. Did you follow those steps?

      https://github.com/qistoph/MMM-MyCommute#installation

      posted in Troubleshooting
      Q
      qistoph
    • RE: Flashing and green lines after couple of minutes

      @bhepler Thanks! Switching away from the fake driver seems to fix it.

      posted in Troubleshooting
      Q
      qistoph
    • Flashing and green lines after couple of minutes

      Hi all,

      Finally got to building my own MagicMirror and am quite pleased with the result. I am however running into an issue I can’t get fixed on my own. I’m hoping someone out here might have a good suggestion that will fix the issue.

      When my mirror’s been on for a couple of minutes the screen starts flashing and shows green lines about every other line on the display.

      I have been searching for solutions and tried some stuff to fix it, including:

      • replacing the power supply to rule out low voltage issues,
      • replace the hdmi cable, to rule out issues with that,
      • configure hdmi_boost=6 in config.txt, seems to have helped people with similar issues,
      • simplyfy MagicMirror config, to rule out issue is due to my modules

      The weird this is, if I disable MagicMirror (pm2 stop mm) before it starts flashing, it won’t flash even after an hour. If it has started flashing nothing seems to help, except turning off and on power or a full reboot of the pi.

      I’m using a Raspberry pi 3B+

      Edit: here’s a short video of what I see:
      https://youtu.be/_qaLOZ1Pj7E

      posted in Troubleshooting flashing screen issue
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      @roramirez
      Except for one of the errors I think all can still be explained by my last post.

      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      @roramirez sorry, haven’t had much time to spend on MagicMirror lately.

      My guess is that some of the tests take too long. Especially the ones actually starting MM and not just load a module.

      I imagine Travis runs the tests in some sort of container with multiple containers running on the same system. If there is some heavy load at the same time as the MM test is run this might slow down our test with a certain factor. Seeing the difference in the usual runtime between tests (couple of ms vs multiple seconds) makes me think some of our tests are on the heavier end. Having a multiple second test delayed by a factor, say, 2 makes it easily run 5 seconds. Hitting the 5 sec maximum (see log).

      Two possibilities I see to fix this:

      1. Reduce the runtime of long running tests
      2. Increase the allowed runtime before timeout

      Hopefully this helps.

      Best regards and thanks for keeping this thread alive!

      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      @roramirez my tests ran on Ubuntu.

      The failed build you’re linking has timeouts. That’s the issue I added to the Trello board. We could increase the timeout a bit and see if it happens again in the next days.

      Ask Mich to re-run the failed build, he should be able to click that option in Travis, being the owner of the project. See if that fails again. That resolved it for me before.

      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      @roramirez what do you mean by “S.O”?

      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      Weird… don’t see anything wrong with your code and it also runs fine on my machine…

      Probably not really helpful, though, sorry

      posted in Upcoming Features
      Q
      qistoph
    • RE: Graph module

      Hi @feedparakeet,

      The MMM-dynchart was a sample used to show some ideas.

      A better example for you would be my Vitadock module:
      https://github.com/qistoph/MMM-vitadock

      Maybe you can use it to base your module on.

      If you could give a more detailed description of what you what to graph, I might be able to help you.

      posted in Requests
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      @strawberry-3.141
      How about this?
      https://github.com/qistoph/MagicMirror/commit/406ae4e8c37cbf7e31c89f5341d7715bacbcf0d2

      			try {
      				expect(fileKeys).to.deep.equal(baseKeys);
      			} catch(e) {
      				if (e instanceof chai.AssertionError) {
      					this.skip();
      				} else {
      					throw e;
      				}
      			}
      
      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      Two commits I’ve worked on for the testing.

      1. Check keys in the translation files. Produces errors currently, so I’ve added .skip.
        https://github.com/qistoph/MagicMirror/commit/123392c54934e49a397d586c1fb8dbcc4cc5d12b

      2. To prevent loading app.js from corrupting the Mocha test environment, I suggest to execute the app.js in a virtual environment. This can also serve as an example for future test cases where code needs to be executed in the global namespace.
        https://github.com/qistoph/MagicMirror/commit/cd8bee1371ffc6cce7b7bf44f85cd03705e4c1bd

      Any thoughts before I submit a PR?

      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      Okay, just another brainfart.

      For the tests to run consistently and in such a way that we can test whatever is needed, we’re probably going to need a separate configuration file, maybe even a couple. If I’ve read the code correctly, we could set nodeIntegration in this config, without touching the code in MM to check for environment settings…

      This would be cleaner imho

      posted in Upcoming Features
      Q
      qistoph
    • RE: Test suite for MagicMirror²

      I agree, seeing MagicMirror become such a great success with lots of contributions and improvements is really nice. To keep the quality consistent and MagicMirror reliable with so many changes, it would really help to run tests automatically as much as possible.

      Maybe I’ll be able to work on some test-cases too, so feel free to include me in any communication. I’m also on Trello, so would be able to join there too.

      Good initiative!

      posted in Upcoming Features
      Q
      qistoph
    • 1 / 1