• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Magic Mirror Schlafmodus trotz* Powermanagement off*

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 2 Posters 2.2k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    djuscha
    last edited by Feb 21, 2023, 10:41 PM

    Hi Community, hab mein MagicMirror neu aufgesetzt. Unter anderem hab ich Telegram Modul drin.
    Als Betriebssystem musste ich Buster für mein Pi nehmen. Solange der Raspi am Netzwerkkabel angeschlossen ist läuft alles gut. Wenn ich aber über den Wlanadapter mit Inet verbinde hab ich verschiedene Fehler.
    Das Sagt mir mein Telegrambot.

    Ich bin aus dem Tiefschlaf aufgewacht.
    Error: EFATAL
    Description: No internet?
    

    Oder ich hatte auch

    [Warning] An error has occurred!
    Error:502
    Description:Bad Getaway
    

    Meistens aber die erste Fehlermeldung. Und der News Modul zeigt Meldung kein Internet.
    Ich glaube mein Wlanadapter geht in den Schlafmodus.
    Wenn ich iwconfig eingebe. Steht die Meldung Powermanagement off
    Das hab ich auch noch probiert

    sudo nano /etc/network/interfaces
    allow-hotplug wlan0
    iface wlan0 inet manual
    post-up iw wlan0 set power_save off
    

    Jetzt läuft der MMirror länger aber steigt trotzdem mal aus 
    Ich hab WlanAdapter von Edimax , also hab ich auch das probiert

    sudo nano /etc/modprobe.d/8192cu.conf
    options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
    

    Fehler ist immer noch da. Jetzt weiss ich nicht mehr was ich machen mus :(

    M 1 Reply Last reply Feb 22, 2023, 4:17 PM Reply Quote 0
    • M Offline
      MMRIZE @djuscha
      last edited by Feb 22, 2023, 4:17 PM

      @djuscha
      Leider ist meine Deutsche nicht so gut.

      RPI’s WLAN sometimes go to sleep and never wakes automatically.
      Maybe this would be help.

      > sudo iw dev wlan0 set power_save off
      

      wlan0 might be your WLAN adapter name… It might be different by your setup.

      1 Reply Last reply Reply Quote 0
      • D Offline
        djuscha
        last edited by Feb 24, 2023, 7:31 PM

        Thanks for the answer, I can also speak English with Google :)
        I’ll try that now and let you know if it works

        @MMRIZE said in Magic Mirror Schlafmodus trotz* Powermanagement off*:

        RPI’s WLAN sometimes go to sleep and never wakes automatically.

        I understand that, but how do I make sure it doesn’t fall asleep

        
        that shows my iwconfig
        
        pi@raspberrypi:~ $ iwconfig
        lo        no wireless extensions.
        
        eth0      no wireless extensions.
        
        wlan0     IEEE 802.11  ESSID:"FRITZ!Box Fon WLAN 7490"
                  Mode:Managed  Frequency:2.467 GHz  Access Point: FC:EC:AA:32:ED:5A
                  Bit Rate=72.2 Mb/s   Tx-Power=20 dBm
                  Retry short limit:7   RTS thr=2347 B   Fragment thr:off
                  Power Management:off
                  Link Quality=54/70  Signal level=-56 dBm
                  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                  Tx excessive retries:0  Invalid misc:644   Missed beacon:0
        
        
        1 Reply Last reply Reply Quote 0
        • D Offline
          djuscha
          last edited by Feb 27, 2023, 7:41 PM

          > sudo iw dev wlan0 set power_save off
          

          I tried that too :( Mirror goes to sleep anyway, only later

          M 2 Replies Last reply Feb 28, 2023, 7:49 AM Reply Quote 0
          • M Offline
            MMRIZE @djuscha
            last edited by MMRIZE Feb 28, 2023, 7:49 AM Feb 28, 2023, 7:49 AM

            @djuscha
            Leider.
            Which RPI device / OS are you using? (detailly)

            1 Reply Last reply Reply Quote 0
            • D Offline
              djuscha
              last edited by Feb 28, 2023, 9:25 AM

              @MMRIZE said in Magic Mirror Schlafmodus trotz* Powermanagement off*:

              Which RPI device / OS are you using? (detailly)

              Raspberry Pi 2 Model B V1.1
              OS Buster Raspberry Pi OS (Legacy) with desktop Debian version: 10 (buster)
              Image 2022-09-22-raspios-buster-armhf.img

              M 1 Reply Last reply Feb 28, 2023, 3:07 PM Reply Quote 0
              • M Offline
                MMRIZE @djuscha
                last edited by MMRIZE Feb 28, 2023, 11:37 AM Feb 28, 2023, 11:36 AM

                @djuscha
                Check your previous trial with this.

                sudo nano /etc/modprobe.d/8192cu.conf
                options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
                
                D 1 Reply Last reply Mar 1, 2023, 7:12 AM Reply Quote 0
                • M Offline
                  MMRIZE @djuscha
                  last edited by Feb 28, 2023, 3:07 PM

                  @djuscha
                  Ah in that case see https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#disable-wifi-power-save

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    djuscha @MMRIZE
                    last edited by Mar 1, 2023, 7:12 AM

                    @MMRIZE
                    I know this site and I tried the first one.
                    But I have Buster and it says something about Jessy and Stretch, what goes with Buster

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      2/9
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy