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

    Matuki

    @Matuki

    Module Developer
    10
    Reputation
    30
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Matuki Unfollow Follow
    Module Developer

    Best posts made by Matuki

    • My e-ink frame

      Hi!

      1 year ago, I discovered MagicMirror and started my project. Now, I use it daily since months and I think it’s time to share with the community.

      r_r-final.jpg

      Basically, I wanted a nice little frame that displays my calendar and the weather and that is not on a LCD screen (I didn’t want the screen to be a light source).
      So I decided to use a e-ink screen… then wanted to add a temperature sensor and a capacitive sensor to have “buttons” that can manage display… And finally I created my own PCB to manage this components plus a raspberry and hide all that behind a frame.

      r_r-pcb.jpg
      r_r-back.jpg

      For those interested, the whole project is here: https://github.com/seb-ma/eInkFrame (hardware and software).
      And all created modules are also on the repo.

      posted in Show your Mirror
      M
      Matuki

    Latest posts made by Matuki

    • RE: Re: Matuki's MMM-IT8951 module for WaveShare e-ink displays

      @mjmvisser instead of doing sudo npm run server
      Can you really try logging as root with sudo su
      Then running npm run server

      This may be the trick.

      posted in Show your Mirror
      M
      Matuki
    • RE: Re: Matuki's MMM-IT8951 module for WaveShare e-ink displays

      Hello @mjmvisser

      Can you try to run Magicmirror when logged as root?
      Calling this command before starting MagicMirror:

      sudo su
      

      I had trouble when running it with another user. I tried lots of things but as mentioned in paragraph “OS configuration related” of the readme, the only solution I found was to run npm as root :disappointed_face:

      I hope this will help you.

      If you already tried that, are you sure to have the correct pins configured (no difference between configuration of program test and the module? Can you share the config of the module?

      posted in Show your Mirror
      M
      Matuki
    • RE: My e-ink frame

      @nat-andrews hello,

      The display is done by the module I wrote: https://github.com/seb-ma/MMM-IT8951

      The configuration is done like any module: https://github.com/seb-ma/eInkFrame/blob/4defe289e4ebbc873d0e68418e278ff21a976e08/magicmirror_files/config.js#L81

      And the resolution is automatically found when initializing driver.
      It can be forced in config file when using mock for tests: electronOptions: { fullscreen: true, width: 1872, height: 1404 }

      Be sure to set the correct value of VCOM to not damage your eink.
      Also, I never had success running my module without the root user. So, unless you find a way (this interest me) you must run MagicMirror as root.

      I let you read the readme of the MMM-IT8951 module, but if you need more details or have some questions, let me know.

      –
      edited to correct behavior on resolution

      posted in Show your Mirror
      M
      Matuki
    • RE: weather module with temp/precipitation graph for 1-2 days

      @AnduriI
      This is curious 🤔
      So the line that seems problematic is https://github.com/seb-ma/MMM-WeatherChartD3/blob/82e948086a2c187ee16fca6fb02bd0badf232254/MMM-WeatherChartD3.js#L66
      But I mimic the default weather module: https://github.com/MichMich/MagicMirror/blob/e87f50e64aeaf3a8587f4855f4679c3223959fd0/modules/default/weather/weather.js#L90
      So I don’t understand why WeatherProvider object wouldn’t be defined for you here.

      Can you please try to use the default weather module to eliminate easy ideas?
      Also, what MagicMirror version have you?

      For latitude and longitude as numbers, I already fixed this when I saw it yesterday 😉

      posted in Requests
      M
      Matuki
    • RE: weather module with temp/precipitation graph for 1-2 days

      @AnduriI
      Have you any error when starting node?
      To see logs, you may have to change logLevel in config to set a value like: logLevel: ["INFO", "LOG", "WARN", "ERROR"]

      Or any error in javascript console on the browser?

      I checked my config and I don’t see something specific. Maybe one hint: lat and lon are numbers, not strings in my config file (no quotes on values).

      posted in Requests
      M
      Matuki
    • RE: weather module with temp/precipitation graph for 1-2 days

      @AnduriI
      Hello,
      In case you’re still looking for a wheater chart, I also developed one. Thickness, colors… are fully configured thanks to CSS, so you can overload what you want.

      Nevertheless, it’s only a display graph. I haven’t included an array, but if you want to give it a try :
      https://github.com/seb-ma/MMM-WeatherChartD3

      posted in Requests
      M
      Matuki
    • RE: MMM-ModuleMonkeyPatch

      @MMRIZE Excellent!
      No more need to do ugly patch. Thank you for this module.

      posted in System
      M
      Matuki
    • RE: My e-ink frame

      @MajorC
      Hello,
      The left panel is the default weather module with minors modifications that can be found on the repository: https://github.com/seb-ma/eInkFrame/blob/master/magicmirror_files/patches/MagicMirror.patch

      And the chart on the right is the module I made and shown here: https://forum.magicmirror.builders/topic/17604/mmm-weatherchartd3

      Both of them rely on modifications I made on weather provider to retrieve pollution (only openweather is currently supported). And I also did another modification on openweather provider to fetch all data once instead of having multiple calls to the API.

      Finally, I also did a module that acts as a proxy to weather provider to avoid a call to weather API each time a module wants data (openweather and others are limiting the number of calls by day, thus this helps having more updates without reaching the limit): https://github.com/seb-ma/mmm-weatherproviderunique

      posted in Show your Mirror
      M
      Matuki
    • RE: My e-ink frame

      @jonathanperron
      Dans ma ville, il y a de l’open data sur les transports en commun. Et il y a déjà quelqu’un qui avait fait un module pour récupérer les heures de prochains passages :
      https://github.com/normyx/MMM-Nantes-TAN

      Je l’ai simplement modifié pour ajouter les alertes sur les lignes affichées (+ quelques corrections mineures) :
      https://github.com/seb-ma/eInkFrame/blob/master/magicmirror_files/patches/MMM-Nantes-TAN.patch

      posted in Show your Mirror
      M
      Matuki
    • MMM-Bosch-BME680-sensor

      Description:

      It is designed for a Bosch BME680 sensor connected with i²c and retrieves:

      • temperature
      • humidity
      • pressure
      • AQI (pollution)

      It sends notifications that can be handled by other modules and/or have its own display.

      Disclaimer: AQI is quite approximative. It depends of internal sensor temperature (thus: updateInterval, gasLimitLow and gasLimitHigh must be tuned). AQI precision value may be enhanced using Bosh library if someone has motivation to look into).

      Screenshots:

      sample.png

      Download:

      https://github.com/seb-ma/MMM-Bosch-BME680-sensor

      posted in Utilities
      M
      Matuki