@willbuden Hi, my MMM-Temperature module support different sensor types. The values get read by calling external python scripts. An example script to read values of DHT11 sensors is included.
Read the statement by Michael Teeuw here.
Posts
-
RE: DHT Sensor Modules
-
RE: Carousel manuell mit Sensor blättern
@michel-0
Hi, i can provide two possible solutions…Some time ago i wrote a module which listens to serial sockets and sends notifications based on text messages (MMM-Serial-Notifications) received on the console. My gesture sensors are connected to arduino nano boards (with some additional laser distance sensor) which send messages to the pi via usb. The sketches to program the arduino are provided in the example folder.
As an alternative i recently connected an APDS-9660 sensor directly to my pi (attention 3,3V) and wrote a small python script (gesture.py) which reads the gestures and sends notifications via the HTTP API of MMM-RemoteControl. The script is not documented at the moment but the configuration is separated to second file.
Ich kann zwei Alternativen anbieten.
Vor einiger Zeit hab ich ein Modul geschrieben (MMM-Serial-Notifications) , das an seriellen Konsolen lauscht und anhand von empfangenen Textnachrichten Benachrichtigungen an den Spiegel schickt. Meine Gestensensoren hab ich zusammen mit Laser-Distanz-Sensoren an Arduino Nano Boards angeschlossen, die Nachrichten über USB an den Pi schicken. Die Beispiel-Sketches für die Arduino Programmierung sind im “examples” Ordner enthalten.Vor ein paar Tagen hab ich einen APDS-9660 Sensor direkt an den Pi angeschlossen (Achtung 3,3V) und ein kleines Python Skript (gesture.py) geschrieben, dass die Gesten ausliest und über die HTTP-API von MMM-RemoteControl an die Module schickt. Das mehr ein Programmierübung war ist das Skript noch nicht wirklich dokumentiert. Die Konfiguration ist aber in eine separate Datei ausgelagert.
-
RE: MMM-BackgroundSlideshow 'linux-armv7' binaries cannot be used on the "linux-armvdefault platform
For me it worked to install a self compiled version of vips…
sudo apt install -y build-essential libglib2.0 libjpeg9 libopenjp2-7 librsvg2-dev imagemagick libtiff5-dev wget https://github.com/libvips/libvips/releases/download/v8.12.1/vips-8.12.1.tar.gz tar xfvz vips-8.12.1.tar.gz cd vips-8.12.1 ./configure make sudo make install sudo ldconfig npm installIt will take a while to compile the library and a lot of disk space will be used.
-
RE: MMM-NINA
@jalibu Hi, danke für das Update. Klappt bei mir super.
Kleine Anmerkung: In der Readme ist ein Tippfehler: “downgradeLhpServerity” muss “downgradeLhpSeverity” sein. -
RE: electron-rebuild and MagicMirror v2.18 (and more)
@bugsounet Thanks for this lib. Integrated it into two of my modules yesterday because I couldn’t get them compiled with electron-rebuild.
-
RE: Wireless temperature sensor module ?.
@jackyjoy123 Hi, i wrote a Temperature (MMM-Temperature) module that supports multiple sensors. Also the data can be received via notifications or by fetching the data via tcp (with the netcat command).
Personally i use an HTU21 and BME280 sensors connected to ESP32 and ESP8266 boards. The data will be send to my MQTT Bridge (Mosquitto installed on the same Pi as the mirror). With help of the MMM-MQTTbridge module the values send via MQTT will be translated to notifications which will be send to my module.
One of my sensors is powerd by a small battery thats why i use the deep sleep mode of the ESP8266 board and only send new values all 10 minutes others are powerd by permanently and send data every 10 seconds.
All my sketches and some configs are included in the examples directory of the module. -
RE: Auto Black Screen (save mode of monitor?) after a few minutes
@peterpang Hi, you need to run the editor with root privileges “sudo vi …” or “sudo nano …”
-
RE: Auto Black Screen (save mode of monitor?) after a few minutes
@peterpang Hi, that’s the right file. Simply add it at the end before the closing "
-
RE: Auto Black Screen (save mode of monitor?) after a few minutes
@peterpang Hi, Raspberry OS has an built in feature called screen blanking. Maybe that is the problem. You can disable it by adding a “consoleblank=0” to the line in “/boot/cmdline.txt” and reboot the pi.
But i did not have this problem in my recent installations.