updated to develop version from GitHub
https://github.com/MichMich/MagicMirror/tree/develop
everything is fine now, Newsfeeder runs like expected since 1 Week
updated to develop version from GitHub
https://github.com/MichMich/MagicMirror/tree/develop
everything is fine now, Newsfeeder runs like expected since 1 Week
As a workaround, till a solution is found
crontab -e
@daily sudo reboot
this will reboot the pi every night at 00:00 am.
i got exact the same strange behavior. one day after my last post, the newsfeed worked like expected for 2 weeks. today the updateInterval seems to be ignored.
After a pm2 restart everything is fine again.
Now i wrote a cron to restart the Mirror every Night at 2am. will see if this will help.
i can confirm this, same on my side
feeds: [
{
title: "Tagesschau",
url: "http://www.tagesschau.de/xml/rss2"
}
],
showSourceTitle: false,
showDescription: true,
ignoreOldItems: true,
ignoreOlderThan: 86400000,
updateInterval: 18000,
showPublishDate: false
@MichaelS said in Wetter wird nicht angezigt:
module: “currentweather”,
heißt das Modul currentweather? oder MMM-Wounderground?
unter Modul muss der Name des Moduls stehen der gleich mit dem Name des Ordners ist
@MichaelS said in Wetter wird nicht angezigt:
Warum umbenennen?
because the Mainprogram looks for a file named config.js without this file it dontn know what to display
@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