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.

    My Kitchencabinet Mirror

    Scheduled Pinned Locked Moved Show your Mirror
    13 Posts 3 Posters 8.0k Views 4 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.
    • F Offline
      Foxy25
      last edited by Foxy25

      Hi
      Today my WIFI-Powerplugs are arrive.

      https://www.ebay.de/itm/BlitzWolf-SHP6-TASMOTA-9-3-1-wie-Gosund-SP111-3450W-WLAN-Steckdose-Strommessung/274600948644?hash=item3fef7df3a4:g:DaMAAOSwvWNgR1NQ

      I used Tasmota because it don’t send things “Home” and you need no cloud and the Plugs switch very fast.

      The Script i wrote to Switch the when im not in the WiFi Powerplugs:

      steckdose.sh

      #!/bin/bash
      
      ping -c1 IP_OF_THE_MOBILE > /dev/null
      
      if [ $? -eq 0 ]
      
      then
      
      wget -O /dev/null http://IP_OF_THE_POWERLPLUG/cm?cmnd=Power1%20On
      
      exit 0
      
      else
      
      wget -O /dev/null http://IP_OF_THE_POWERLPLUG/cm?cmnd=Power1%20Off
      
      fi
      

      i installed a cronjob for every minute that execute the script, and it works very well.

      Greetings Torsten

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER @Foxy25
        last edited by OberfragGER

        @foxy25 What do you switch on/off with the Gosund? The monitor?

        Maybe you can get rid of the extra device. 2 Solutions in my opinion:

        1. Use relays and control it via the pi4 directly - https://tutorials-raspberrypi.de/raspberry-pi-relais-schalter-steuern/
        2. Try to use vcgencmd display_power 0 and vcgencmd display_power 1, i think this will work (or maybe echo 0 > /sys/class/backlight/rpi_backlight/bl_power)

        There a various ways to turn off the RPI displays. See here:
        https://www.screenly.io/blog/2017/07/02/how-to-automatically-turn-off-and-on-your-monitor-from-your-raspberry-pi/

        1 Reply Last reply Reply Quote 0
        • F Offline
          Foxy25
          last edited by Foxy25

          Hi,

          uhhh yes… sorry, how stupid from me…

          I switch the display an and off with the WIFI-Powerplug.

          There a many ways to fullfill somebodys needs. For me the Wifi-Plug and the small script was ein easy way to deploy that. The goal was to switch the Display complete powerless to save energie.
          Not only switch the display to dark or switch of the HDMI-Port.
          It works very good and im happy with that solution.

          Greetings Torsten

          O 1 Reply Last reply Reply Quote 1
          • F Offline
            Foxy25
            last edited by

            Hi,

            Ok today we finish the woodwork and assemple all things together.

            20210422_153252_a.jpg

            20210422_155108a.jpg

            20210422_163616a.jpg

            20210422_164538a.jpg

            20210422_183817a.jpg

            Everything work great!

            Greetings Torsten

            1 Reply Last reply Reply Quote 1
            • O Offline
              OberfragGER @Foxy25
              last edited by

              @foxy25 No, not stupid.
              This was just a hint. Nothing more.
              But thry a relay ;) then you can really make it powerless without the gosund.

              Like you told us. Your friend is a carpenter. He uses a Festool! Very nice. And also how he cut out the piece including the corners.

              If you have some rest of the yellow wall color in you cellar… dig in the platering, put in the cable from the outlet, put cement on it, sand it and paint it. No one sees the extra wire. Just a hint, its your house! I would have do it in that way. It think its worth the time.

              1 Reply Last reply Reply Quote 0
              • F Offline
                Foxy25
                last edited by

                Hi OberfragGer

                Yes i know, but now it is set and good ;-)

                In a couple of month i renovate my apartment including the kitchen, entrance hall and living room,
                so i want to hide the wire. Maybe i set a new powerwallplug behind or above the cabinet.

                But for me it is ok. Thank you for your hints.

                Greetings Torsten

                1 Reply Last reply Reply Quote 1
                • 1
                • 2
                • 2 / 2
                • First post
                  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