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 340
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: MMM-Embed URL centered on fullscreen_above?

      @BKeyport
      Instead of setting the spacing with absolute values (like sam does) you can try to set the wrapper which contains the embedded elements to add equal spacing if the elements do not need the whole space.
      The wrapper is a flexbox container:

      .MMM-EmbedURL .embed .embededSubWrapper0 {
        justify-content: center;
      }
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MMM-Embed URL centered on fullscreen_above?

      @sdetweil @bkeyport
      Hi… I’m here 😉

      Sorry, but I need some more information.
      Can you share your config and a screenshot which shows the current view and a hint what you want to achieve please?

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • 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
    • RE: MMM-config with modules that have sub-configs (MMM-TouchButton)

      @joey Great you like the module.
      Just to clear out some things.

      Most of the work did Sam not me. I only hit the merge button. So big thank you to him.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

      @Cr4z33
      Hi and sorry fir the late reply…
      Your config of the MQTT module is still missing a “debug: true”. The messages only get logged if debugging is enabled.

      	{
      		module: 'MMM-MQTTbridge',
      		disabled: false,
      		config: {
                              debug: true, 
      			mqttServer: "mqtt://:@ipaddress:port",
      			mqttConfig:
      			{
      				listenMqtt: true,
      				interval: 500,
      			},
      			notiConfig:
      			{
      				listenNoti: true,
      				ignoreNotiId: ["CLOCK_MINUTE", "NEWS_FEED"],
      				ignoreNotiSender: ["system", "NEWS_FEED"],
      			},
      			// set "NOTIFICATIONS -> MQTT" dictionary at /dict/notiDictionary.js
      			// set "MQTT -> NOTIFICATIONS" dictionary at /dict/mqttDictionary.js
      			},
      	}
      
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: [MMM-MQTTbridge] A module to publish and receive MQTT messages

      @Cr4z33 Sorry, but I am very busy at the moment.
      Did you find any response of the MQTT module in your logs of MagicMirror if you enable the debug option of it?

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: Screen saver module that displays photos

      @cpcode Hi, I use a similar thing in my mirror.

      I use MMM-ProfileSwitcher with MMM-ProfileControl to realise pages.

      My MMM-Screen-Powersave-Notification supports switching to a specific profile instead of turning the screen off.

      I my case I display MMM-BackgroundSlideshow of one of my pages (one profile) and switch to this page during Screensave.

      I installed MMM-Touch and send a USER_PRESENCE notification if the screen gets touched.

      posted in Development
      wishmaster270W
      wishmaster270
    • RE: MMM-OpenWeatherForecast deactivate Alerts or change to german

      @com1cedric

      Hi,

      as I wrote in the issue you opened the module also calls the api with the correct language settings.
      I the description of the language setting of OpenWeather there is a hint that some alert providers do not provide translations.

      posted in Utilities
      wishmaster270W
      wishmaster270
    • RE: Synology Docker Tutorial?

      @techeros Sorry. But you can use the container manager gui in the Web interface for most of the job. No need to pull or remove any images on the shell manually.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: Cannot get MMM-EmbedURL to show any sites

      @unaccomplished
      Hi,

      just tried your config in my setup and everything worked as expected.

      The question is…where are the differences in your and mine setup.

      As a first try you can replace embedElementType: "webview," with embedElementType: "iframe,".

      If the embeded pages does not block embedding iframe should work and you do not weaken any security settings of the electron browser.

      Additionally you can replace "frameborder=0", with "frameborder=1",. You should see two boxes at least then. Even if the sites could not be embedded.

      @sdetweil Are you sure you set the security settings of electron? Without them electron will not support webview and will not display anything.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MMM-EmbedURL with MMM-Pages - Website reload....

      @BKeyport Sorry, to one I’m the documentation is the correct one.

      Great to hear it is working.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • 1
    • 2
    • 3
    • 4
    • 5
    • 16
    • 17
    • 1 / 17