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

    Posts

    Recent Best Controversial
    • RE: Problems building opengpio when installing the MMM-GPIO-Notifications module

      @Queasy
      Great to hear that. As I am using Debian 12 at the moment I am optimistic it is working for older installations, too.

      I think the topic is solved then.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Problems building opengpio when installing the MMM-GPIO-Notifications module

      @Queasy
      Hi and sorry for the late reply.

      I released a new version of the module a couple of minutes ago which should fix the problem.

      It uses the new version of the lib for newer operation systems and changes to a other branch if it is a old debian otherwise.

      As expected the api of the lib changed and i needed to do a small change in the modules node_helper.js.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Problems building opengpio when installing the MMM-GPIO-Notifications module

      @Queasy Hi,

      I will try to take a closer look at the problem in the next days.
      I do not have a setup with Debian 13 at the moment and it will take me some time.
      Did not test 2.x of open gpio yet. Maybe the api changed.

      Make sure you set up the pull-up/pull-down resistor like described in this description

      https://www.raspberrypi.com/documentation/computers/config_txt.html#gpio-control

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: DHT22 with Debian 12 Bookworm

      If you change line 25 in my dht11 script from except: to finally: you should see the whole error.

      But make sure to revert the change after the problem is fixed.

      posted in Requests
      wishmaster270W
      wishmaster270
    • RE: DHT22 with Debian 12 Bookworm

      @com1cedric
      Hi. No problem. If I have time it try to help.

      It looks like there will installed two additional python libs in the venv in the tutorial you shared.
      Maybe one of the libs is missing in the virtual environment my script creates.

      You can add them to the venv with:

      cd ~/MagicMirror/modules/MMM-Temperature/scripts
      ./venvWrapper.py --venv-name py-venv --install-libs lgpio RPi.GPIO
      
      posted in Requests
      wishmaster270W
      wishmaster270
    • RE: DHT22 with Debian 12 Bookworm

      @com1cedric

      Hi,

      I do not use a DHT11 at the moment but my MMM-Temperature should still work

      https://github.com/Tom-Hirschberger/MMM-Temperature

      Just checked the install process on a Debian Bookworm and it works fine.

      posted in Requests
      wishmaster270W
      wishmaster270
    • 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.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • 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
      
      posted in Utilities
      wishmaster270W
      wishmaster270
    • 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.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: MMM-SynologySurveillance can get enumerate camera info, but on MM page just shows UNDEFINED

      @Madeline

      Hi and sorry for my late replay.

      First of all… Please take care that the answer of @sophiasteck contains some misleading information as the array is called cams and not cameras and the module only supports referencing the cameras by their name and Not their ids. Additionall there exists no flag showStream.

      The cams array contains objects which need at least the name defined.
      According to the logs you posted your config should look something like…

      {
              module: "MMM-SynologySurveillance",
              position: "middle_center",
              config: {
                  debug: true,
                  ds: [
                        {
                          protocol: "https",
                          host: "x.x.x.x",
                          port: "xxxx",
                          user: "xxxx",
                          password: "xxxxxx",
                          cams: [
                              { name: "Back Doors" }, 
                              { name: "Pool Cam"},
                              { name: "Indoor Kitchen"}
                            ], 
                         },                
                      ],
                   },
              },
      
      
      posted in Utilities
      wishmaster270W
      wishmaster270
    • 1
    • 2
    • 3
    • 4
    • 5
    • 33
    • 34
    • 1 / 34