@sdetweil Hi sam. My wrapper script will use the python binary in the virtual environment folder. This way the environment will be activated automatically.
Read the statement by Michael Teeuw here.

Posts
-
RE: MMM-DHT22
-
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-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-SynologySurveillance can get enumerate camera info, but on MM page just shows UNDEFINED
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 notcameras
and the module only supports referencing the cameras by theirname
and Not their ids. Additionall there exists no flagshowStream
.The
cams
array contains objects which need at least thename
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"} ], }, ], }, },
-
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.
-
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 }, }
-
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? -
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.
-
RE: MMM-OpenWeatherForecast deactivate Alerts or change to german
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. -
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.