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

    Jonae

    @Jonae

    3
    Reputation
    48
    Profile views
    32
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Jonae Unfollow Follow

    Best posts made by Jonae

    • MMM-DHT22

      DHT22 Sensor MagicMirror Module!

      🌤️ This module utilizes the DHT22 sensor to fetch current temperature and humidity readings from your surroundings. Whether you’re interested in keeping tabs on your living space, monitoring your indoor garden, or simply satisfying your curiosity about the weather, this module has got you covered.

      Key Features:

      Real-time Data: Get instant access to the latest temperature and humidity levels right on your MagicMirror.
      Customizable: Tailor the module’s appearance to suit your mirror’s aesthetics and layout.
      Easy Integration: Our step-by-step setup guide ensures a hassle-free installation process.
      Reliable Performance: We built this module out of the need for a functional and stable solution, so you can count on its consistent performance.

      🛠️ Installation and Usage:
      Installing the DHT22 Sensor MagicMirror Module is a breeze. Simply follow the installation guide provided in the GitHub post to seamlessly integrate the module into your MagicMirror setup. Once configured, you’ll have the temperature and humidity readings beautifully displayed on your mirror.

      Screenshots:

      alt text

      alt text

      alt text

      🔗 GitHub Repository

      Because i didn’t find any working module using DHT22 sensor, i decided to build this one. I hope it helps someone.

      posted in Utilities
      J
      Jonae
    • RE: Local temperature with DHT22 sensor

      So, i build my first module for MagicMirror:

      https://github.com/J0n4e/MMM-DHT22

      hope it helps someone

      posted in Requests
      J
      Jonae

    Latest posts made by Jonae

    • RE: install upgrade scripts changed for version 2.25 and node 20

      @sdetweil

      32bit, as i always did …

      posted in Troubleshooting
      J
      Jonae
    • RE: install upgrade scripts changed for version 2.25 and node 20

      i tryed to install on rpi4, i changed to rpi3 and now it works. Does MM not support rpi4 anymore?

      posted in Troubleshooting
      J
      Jonae
    • RE: install upgrade scripts changed for version 2.25 and node 20

      @sdetweil said in install upgrade scripts changed for version 2.25 and node 20:

      @Jonae are you running the OS in commandline mode?

      boot to prompt… not desktop

      do , and show results
      lsb_release -a
      uname -a

      or email me the ~/install.log
      same userid at gmail

      i think i have a problem with the imager software … checking right now

      posted in Troubleshooting
      J
      Jonae
    • RE: install upgrade scripts changed for version 2.25 and node 20

      @sdetweil

      this run this script:

      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/testit/raspberry.sh)”

      get this error:
      system running in command line mode, configured for graphical desktop, please reboot

      after reboot, same error

      posted in Troubleshooting
      J
      Jonae
    • RE: Unable to install dependencies!

      @sdetweil

      Yes it is fresh, i just did sudo apt update and sudo apt upgrade

      posted in Troubleshooting
      J
      Jonae
    • Unable to install dependencies!

      I am trying to install Magic Mirror but i get the Unable to install dependencies! error. I tried everything i know bit i cant get past this error. Attached full install log. Help much appreciated. Thanks.

      pi@magicmirror:~ $
      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

      install log being saved to /home/pi/install.log
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      Package ‘nodejs’ is not installed, so not removed
      The following package was automatically installed and is no longer required:
      libfuse2
      Use ‘sudo apt autoremove’ to remove it.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      rm: cannot remove ‘/etc/apt/sources.list.d/nodesource.list’: No such file or directory
      Installing helper tools …
      Updating packages …
      [ <=> ]
      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
      Reading package lists… Done
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      ca-certificates is already the newest version (20210119).
      curl is already the newest version (7.74.0-1.3+deb11u7).
      gnupg is already the newest version (2.2.27-2+deb11u2).
      The following package was automatically installed and is no longer required:
      libfuse2
      Use ‘sudo apt autoremove’ to remove it.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      deb [arch=arm64 signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Get:3 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
      Get:4 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages [3,264 B]
      Fetched 15.4 kB in 1s (19.2 kB/s)
      Reading package lists… Done
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      The following package was automatically installed and is no longer required:
      libfuse2
      Use ‘sudo apt autoremove’ to remove it.
      The following additional packages will be installed:
      libc-ares2 libjs-highlight.js libnode72 nodejs-doc
      Suggested packages:
      npm
      The following NEW packages will be installed:
      libc-ares2 libjs-highlight.js libnode72 nodejs nodejs-doc
      0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
      Need to get 10.4 MB of archives.
      After this operation, 45.6 MB of additional disk space will be used.
      Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libc-ares2 armhf 1.17.1-1+deb11u3 [96.3 kB]
      Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libjs-highlight.js all 9.18.5+dfsg1-1 [397 kB]
      Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libnode72 armhf 12.22.12~dfsg-1~deb11u4 [7,261 kB]
      Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf nodejs armhf 12.22.12~dfsg-1~deb11u4 [148 kB]
      Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf nodejs-doc all 12.22.12~dfsg-1~deb11u4 [2,547 kB]
      Fetched 10.4 MB in 8s (1,314 kB/s)
      Selecting previously unselected package libc-ares2:armhf.
      (Reading database … 106649 files and directories currently installed.)
      Preparing to unpack …/libc-ares2_1.17.1-1+deb11u3_armhf.deb …
      Unpacking libc-ares2:armhf (1.17.1-1+deb11u3) …
      Selecting previously unselected package libjs-highlight.js.
      Preparing to unpack …/libjs-highlight.js_9.18.5+dfsg1-1_all.deb …
      Unpacking libjs-highlight.js (9.18.5+dfsg1-1) …
      Selecting previously unselected package libnode72:armhf.
      Preparing to unpack …/libnode72_12.22.12~dfsg-1~deb11u4_armhf.deb …
      Unpacking libnode72:armhf (12.22.12~dfsg-1~deb11u4) …
      Selecting previously unselected package nodejs.
      Preparing to unpack …/nodejs_12.22.12~dfsg-1~deb11u4_armhf.deb …
      Unpacking nodejs (12.22.12~dfsg-1~deb11u4) …
      Selecting previously unselected package nodejs-doc.
      Preparing to unpack …/nodejs-doc_12.22.12~dfsg-1~deb11u4_all.deb …
      Unpacking nodejs-doc (12.22.12~dfsg-1~deb11u4) …
      Setting up libc-ares2:armhf (1.17.1-1+deb11u3) …
      Setting up libnode72:armhf (12.22.12~dfsg-1~deb11u4) …
      Setting up libjs-highlight.js (9.18.5+dfsg1-1) …
      Setting up nodejs (12.22.12~dfsg-1~deb11u4) …
      update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
      Setting up nodejs-doc (12.22.12~dfsg-1~deb11u4) …
      Processing triggers for man-db (2.9.4-2) …
      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u7) …
      Check current Node installation …
      Node currently installed. Checking version number.
      Minimum Node version: v20.8.0
      Installed Node version: v12.22.12
      Node should be upgraded.
      Installing Node.js …
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      The following packages were automatically installed and are no longer required:
      libc-ares2 libfuse2 libjs-highlight.js
      Use ‘sudo apt autoremove’ to remove them.
      The following packages will be REMOVED:
      libnode72 nodejs-doc
      The following packages will be upgraded:
      nodejs
      1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
      Need to get 27.0 MB of archives.
      After this operation, 140 MB of additional disk space will be used.
      Get:1 https://deb.nodesource.com/node_20.x bullseye/main armhf nodejs armhf 20.5.1-deb-1nodesource1 [27.0 MB]
      Fetched 27.0 MB in 4s (6,062 kB/s)
      apt-listchanges: Reading changelogs…
      (Reading database … 107012 files and directories currently installed.)
      Removing nodejs-doc (12.22.12~dfsg-1~deb11u4) …
      dpkg: libnode72:armhf: dependency problems, but removing anyway as you requested:
      nodejs depends on libnode72 (= 12.22.12~dfsg-1~deb11u4).

      Removing libnode72:armhf (12.22.12~dfsg-1~deb11u4) …
      (Reading database … 106824 files and directories currently installed.)
      Preparing to unpack …/nodejs_20.5.1-deb-1nodesource1_armhf.deb …
      Unpacking nodejs (20.5.1-deb-1nodesource1) over (12.22.12~dfsg-1~deb11u4) …
      Setting up nodejs (20.5.1-deb-1nodesource1) …
      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u7) …
      Processing triggers for man-db (2.9.4-2) …
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      nodejs is already the newest version (20.5.1-deb-1nodesource1).
      The following packages were automatically installed and are no longer required:
      libc-ares2 libfuse2 libjs-highlight.js
      Use ‘sudo apt autoremove’ to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Node.js installation Done! version=v20.5.1
      Check current NPM installation …
      NPM currently installed. Checking version number.
      Minimum npm version: V10.1.0
      Installed npm version: V9.8.0
      npm should be upgraded.
      Installing npm …
      E: Unable to correct problems, you have held broken packages.
      npm WARN EBADENGINE Unsupported engine {
      npm WARN EBADENGINE package: ‘npm@1.4.29’,
      npm WARN EBADENGINE required: { node: ‘>=0.8’, npm: ‘1’ },
      npm WARN EBADENGINE current: { node: ‘v20.5.1’, npm: ‘9.8.0’ }
      npm WARN EBADENGINE }
      evalmachine.:43
      } = primordials;
      ^

      ReferenceError: primordials is not defined
      at evalmachine.:43:5
      at Object. (/usr/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
      at Module._compile (node:internal/modules/cjs/loader:1233:14)
      at Module._extensions…js (node:internal/modules/cjs/loader:1287:10)
      at Module.load (node:internal/modules/cjs/loader:1091:32)
      at Module._load (node:internal/modules/cjs/loader:938:12)
      at Module.require (node:internal/modules/cjs/loader:1115:19)
      at require (node:internal/modules/helpers:130:18)
      at Object. (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
      at Module._compile (node:internal/modules/cjs/loader:1233:14)

      Node.js v20.5.1
      npm installation Done! version=V
      Cloning MagicMirror …
      Cloning into ‘MagicMirror’…
      remote: Enumerating objects: 376, done.
      remote: Counting objects: 100% (376/376), done.
      remote: Compressing objects: 100% (311/311), done.
      remote: Total 376 (delta 69), reused 200 (delta 49), pack-reused 0
      Receiving objects: 100% (376/376), 427.18 KiB | 4.36 MiB/s, done.
      Resolving deltas: 100% (69/69), done.
      Cloning MagicMirror Done!
      Installing dependencies …
      bash: line 456: [: -ge: unary operator expected
      evalmachine.:43
      } = primordials;
      ^

      ReferenceError: primordials is not defined
      at evalmachine.:43:5
      at Object. (/usr/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
      at Module._compile (node:internal/modules/cjs/loader:1233:14)
      at Module._extensions…js (node:internal/modules/cjs/loader:1287:10)
      at Module.load (node:internal/modules/cjs/loader:1091:32)
      at Module._load (node:internal/modules/cjs/loader:938:12)
      at Module.require (node:internal/modules/cjs/loader:1115:19)
      at require (node:internal/modules/helpers:130:18)
      at Object. (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:3:27)
      at Module._compile (node:internal/modules/cjs/loader:1233:14)

      Node.js v20.5.1
      Unable to install dependencies!

      posted in Troubleshooting
      J
      Jonae
    • RE: MMM-DHT22

      Version info:

      v1.0.3 - added default layout style (‘horizontal’ or ‘vertical’)

      GitHub Repository

      posted in Utilities
      J
      Jonae
    • RE: MMM-DHT22

      @Jonae

      Version info:

      Version info:

      v1.0.0 - Initial release
      v1.0.1 - Added option to modify the color of the temperature and humidity icons
                    - Added option to modify the header size
      v1.0.2 - Fix the error readings from sensor
                    - Added option to calibrate the sensor readings
                    - Added option to change units: C or F

      GitHub Repository

      posted in Utilities
      J
      Jonae
    • RE: MMM-DHT22

      @BKeyport said in MMM-DHT22:

      @Jonae Nicely done.

      I’ve used MMM-CommandToNotifcation/MMM-ValuesByNotification for mine, with MMM-Temperature prior to that. Nice to have a specific to device module, though. :)

      Thanks for apreciations.

      posted in Utilities
      J
      Jonae
    • RE: MMM-DHT22

      @ankonaskiff17 said in MMM-DHT22:

      @Jonae Have you by chance done or looked at any sensors that use I2C?

      No

      posted in Utilities
      J
      Jonae