Module Developers

You have developed a module for the MagicMirror? Join the group and get a "Module Developer" badge!

Private

Posts

  • v2.33.0

    [2.33.0] - 2025-10-01

    Thanks to: @Crazylegstoo, @dathbe, @m-idler, @plebcity, @khassel, @KristjanESPERANTO, @rejas and @sdetweil!

    ⚠️ This release needs nodejs version v22.18.0 or higher

    Added

    • Add configuration option for User-Agent, used by calendar & news module (#3255)
    • [linter] Add prettier plugin for nunjuck templates (#3887)
    • [core] Add clear log for occupied port at startup (#3890)

    Changed

    • [clock] Add CSS to prevent line breaking of sunset/sunrise time display (#3816)
    • [core] Enhance system information logging format and include additional env and RAM details (#3839, #3843)
    • [refactor] Add new file js/module_functions.js to move code used in several modules to one place (#3837)
    • [refactor] Use global.root_path where possible and add tests for config:check (#3883, #3885, #3886, #3889)
    • [tests] refactor: simplify jest config file (#3844)
    • [tests] refactor: extract constants for weather electron tests (#3845)
    • [tests] refactor: add setupDOMEnvironment helper function to eliminate repetitive JSDOM setup code (#3860)
    • [tests] replace console with Log in calendar debug.js to avoid exception in eslint config (#3846)
    • [tests] speed up e2e tests, cleanup and stabilize weather e2e tests, update snapshot url (#3847, #3848, #3861)
    • [tests] refactor translation tests (#3866)
      • Remove sinon dependency in favor of Jest native mocking
      • Unify test helper functions across translation test suites
      • Rename setupDOMEnvironment to createTranslationTestEnvironment for consistency
      • Simplify DOM setup by removing unnecessary Promise/async patterns
      • Avoid potential port conflicts by using port 3001 for translator unit tests
      • Improve test reliability and maintainability
    • [tests] add alert module tests for different welcome_message configurations (#3867)
    • [lint-staged] use prettier --write --ignore-unknown in lint-staged to avoid errors on unsupported files (#3888)

    Updated

    • [calendar] Update defaultSymbol name and also the link to the icon search site (#3879)
    • [core] Update dependencies including electron to v38 as well as github actions (#3831, #3849, #3857, #3858, #3872, #3876, #3882, #3891, #3896)
    • [weather] Update feels_like temperature calculation formula (#3869)
    • [weather] Update null value handling for weather type (#3892)
    • [layout] Update styles for weather and calendar (#3894)

    Fixed

    • [calendar] Fixed broken unittest that only broke on the 1st of July and 1st of january (#3830)
    • [clock] Fixed missing icons when no other modules with icons is loaded (#3834)
    • [weather] Fixed handling of empty values in weathergov providers handling of precipitationAmount (#3859)
    • [calendar] Fix regression handling of limit days (#3840)
    • [calendar] Fixed regression of calendarfetcherutils.shouldEventBeExcluded (#3841)
    • [core] Fixed socket.io timeout when server is slow to send notification, notification lost at client (#3380)
    • [tests] refactor AnimateCSS tests after jsdom 27 upgrade (#3891)
    • [weather] Use apparent_temperature data from openmeteo’s hourly weather for current feelsLikeTemp (#3868).
    • [weather] Updated envcanada Provider to use new database/URL schema for accessing weather data (#3878).
  • RE: MMM-DHT22

    @sdetweil Hi sam. My wrapper script will use the python binary in the virtual environment folder. This way the environment will be activated automatically.

  • RE: MMM-DHT22

    @lif
    That’s strange…Can you try to start with a new, fresh virtual python environment and install the needed libs again?

    Remove old virtual environment:

    rm -rf /home/pi/MagicMirror/modules/MMM-Temperature/scripts/py-venv
    

    Install the needed system libs:

    sudo apt -y update && sudo apt -y install python3-venv libgpiod2
    

    Re-Create the virtual environment:

    cd ~/MagicMirror/modules/MMM-Temperature/scripts
    ./venvWrapper.py --verbose --venv-name py-venv --create
    

    Re-Install the libs:

    cd ~/MagicMirror/modules/MMM-Temperature/scripts
    ./venvWrapper.py --venv-name py-venv --install-libs adafruit-circuitpython-dht
    

    Run the test again:

    cd ~/MagicMirror/modules/MMM-Temperature/scripts
    ./venvWrapper.py --venv-name py-venv --run ./dht22
    

    If it fails again. Can you please provide the output of

    cd ~/MagicMirror/modules/MMM-Temperature/scripts
    source py-venv/bin/activate
    pip freeze
    deactivate
    

    The output should look something like:

    Adafruit-Blinka==8.66.1
    Adafruit-Blinka-Raspberry-Pi5-Neopixel==1.0.0rc2
    adafruit-circuitpython-busdevice==5.2.13
    adafruit-circuitpython-connectionmanager==3.1.5
    adafruit-circuitpython-dht==4.0.9
    adafruit-circuitpython-requests==4.1.13
    adafruit-circuitpython-typing==1.12.2
    Adafruit-PlatformDetect==3.83.2
    Adafruit-PureIO==1.1.11
    binho-host-adapter==0.1.6
    lgpio==0.2.2.0
    pyftdi==0.57.1
    pyserial==3.5
    pyusb==1.3.1
    rpi-ws281x==5.0.0
    RPi.GPIO==0.7.1
    sysv-ipc==1.1.0
    typing_extensions==4.15.0
    
  • RE: MMM-HoymilesPVMonitor

    @CuddlyCow Interesting. Let us know when it’s available again, than I or someone else can re-add it to the list again. I had to remove it because a not reachable repository breaks the workflow for the module list website. I’m working on improving that, but I don’t think I’ll manage it anytime soon.

  • RE: MMM-DHT22

    @lif Hi. Great you want to try one of my modules.

    Can you try installing a additional python system package with

    sudo apt install python3-rpi-lgpio
    

    I tried the scripts on my newly installed system with Bookworm and everything worked as expected.
    Maybe the missing package had been installed with something else I installed on my system.

  • RE: MMM-DHT22

    @lif I’m not sure on that, @wishmaster270 (Tom) would know more.

  • RE: MagicMirror problem

    @tonyarogers Time to update your hardware and/or create a new SD Card for it.

  • RE: MMM-DHT22

    @lif It’s requiring tools no longer available, so dead module. Use something else.

    https://github.com/Tom-Hirschberger/MMM-Temperature is what I used when I had a module hooked up to it.

  • RE: MMM-HoymilesPVMonitor

    @CuddlyCow That sounds frustrating. Hang in there! 🙂

  • RE: MMM-HoymilesPVMonitor

    @CuddlyCow The URL still doesn’t work 😕 I have removed it from the module list. Please add it back once the issue has been resolved.

    Even your GitHub user profile is not accessible, which is really strange 🤔