heißt das Modul currentweather? oder MMM-Wounderground?
unter Modul muss der Name des Moduls stehen der gleich mit dem Name des Ordners ist
@AliAS thank you for your help, .MMM-WunderGround .tableheader dosn’t work for me. But Mykle1 wrote a post called “How to find and use key commands in MM” and with ctr + shift + i it opens the dev tool and i played around a little. So it was easy to find that the one that I missed, in my case it was .MMM-WunderGround .center
I like to learn new stuff, thanks a lot guys for your help
And at the end I need help.
In the last 3days i learned a lot about css in this forum.
But i didn’t find how to change the size for the Icons wind direction and speed.
I found in the MMM-WunderGround.js that there should be a weather-icons-wind.css
but I can’t find it.
Can anyone help me how to change the size and maybe the color?
I had the same problems and I dont know why. So I searched for another solution. Now it works perfect.
I wrote one bash script for the power off and one for the power on.
Script Power on:
vcgencmd display_power 1
Script Power off:
vcgencmd display_power 0
than I used this Pyhton for the PIR
#!/usr/bin/env python import sys import time import RPi.GPIO as io import subprocess io.setmode(io.BCM) SHUTOFF_DELAY = 300 # seconds PIR_PIN = 25 # 22 on the board LED_PIN = 16 # 36 on the board def main(): io.setup(PIR_PIN, io.IN) io.setup(LED_PIN, io.OUT) turned_off = False last_motion_time = time.time() while True: if io.input(PIR_PIN): last_motion_time = time.time() io.output(LED_PIN, io.LOW) print ".", sys.stdout.flush() if turned_off: turned_off = False turn_on() else: if not turned_off and time.time() > (last_motion_time + SHUTOFF_DELAY): turned_off = True turn_off() if not turned_off and time.time() > (last_motion_time + 1): io.output(LED_PIN, io.HIGH) time.sleep(.1) def turn_on(): subprocess.call("sh /home/pi/MagicMirror/pir/monitor_on.sh", shell=True) def turn_off(): subprocess.call("sh /home/pi/MagicMirror/pir/monitor_off.sh", shell=True) if __name__ == '__main__': try: main() except KeyboardInterrupt: io.cleanup()
I tryed to upload but not enough privileges