• 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.

MagicMirror not Mirror

Scheduled Pinned Locked Moved Show your Mirror
10 Posts 4 Posters 7.7k Views 5 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.
  • P Offline
    PointPubMedia @Snille
    last edited by Jan 17, 2017, 1:41 PM

    @Snille said in MagicMirror not Mirror:

    Hi! Looking great! I’m working on something similar but in a Mirror, I see you have a graph on the lower third, what module is that? I’m thinking of integrating my Fibaro to show things like power consumption and other graps… :)

    Best regards Snille

    It’s an iframe module showing a graph from Grafana using data from an energy metering (Z-wave) that get the entire house power consumption!

    1 Reply Last reply Reply Quote 0
    • S Offline
      Snille Module Developer
      last edited by Jan 17, 2017, 2:01 PM

      Ah! Good to know, so the iframe is the thing to use. :) I have to read up on Grafana, looks nice! What Z-Wave controller do you use?

      If you cant find it, make it and share it!
      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

      P 1 Reply Last reply Jan 17, 2017, 2:48 PM Reply Quote 0
      • P Offline
        PointPubMedia @Snille
        last edited by Jan 17, 2017, 2:48 PM

        @Snille said in MagicMirror not Mirror:

        Ah! Good to know, so the iframe is the thing to use. :) I have to read up on Grafana, looks nice! What Z-Wave controller do you use?

        I’m using Vera Plus and Vera Edge just to handle Z-Wave and all others function, like, scene are handle by openLuup!

        1 Reply Last reply Reply Quote 0
        • P Offline
          PointPubMedia
          last edited by Jan 18, 2017, 4:43 PM

          Need some cleanup for the cables and everything but for the moment all the hardware is inside ;)

          1_1484757729373_IMG_20170117_190842.jpg 0_1484757729372_IMG_20170117_190814.jpg

          S 1 Reply Last reply Jan 19, 2017, 3:41 AM Reply Quote 1
          • S Offline
            shashank @PointPubMedia
            last edited by Jan 19, 2017, 3:41 AM

            @PointPubMedia Even i am using Vera Edge for my Home automation, i wanted use remotecontrol module of MM using Virtual switch or Scene from Vera to restart , monitor OFF, Monitor ON at predefined time using Scenes. Can you help me in this how to use luup code below triggers .
            http://192.168.1.2:8080/remote?action=REBOOT
            http://192.168.1.2:8080/remote?action=SHUTDOWN
            http://192.168.1.2:8080/remote?action=MONITORON
            http://192.168.1.2:8080/remote?action=MONITOROFF

            P 1 Reply Last reply Jan 19, 2017, 11:56 AM Reply Quote 0
            • P Offline
              PointPubMedia @shashank
              last edited by Jan 19, 2017, 11:56 AM

              @shashank said in MagicMirror not Mirror:

              @PointPubMedia Even i am using Vera Edge for my Home automation, i wanted use remotecontrol module of MM using Virtual switch or Scene from Vera to restart , monitor OFF, Monitor ON at predefined time using Scenes. Can you help me in this how to use luup code below triggers .
              http://192.168.1.2:8080/remote?action=REBOOT
              http://192.168.1.2:8080/remote?action=SHUTDOWN
              http://192.168.1.2:8080/remote?action=MONITORON
              http://192.168.1.2:8080/remote?action=MONITOROFF

              I’m using a ZWave power outlet instead to control the monitor ON/OFF using motion sensor in the house.
              But if you still want to play with remotecontrol, you can use some LUA code in a scene!

              F 1 Reply Last reply Feb 15, 2017, 9:58 PM Reply Quote 0
              • F Offline
                foppa @PointPubMedia
                last edited by Feb 15, 2017, 9:58 PM

                I have this code in My Vera Plus and Teo scenes, on, off etc.

                local http = require(“socket.http”)

                – 5 Second timeout
                http.TIMEOUT = 1

                – The return parameters are in a different order from luup.inet.wget(…)
                result, status = http.request(“http://192.168.2.41:8080/remote?action=MONITOROFF”)

                @PointPubMedia

                P 1 Reply Last reply Feb 16, 2017, 2:30 PM Reply Quote 0
                • P Offline
                  PointPubMedia @foppa
                  last edited by yawns Feb 16, 2017, 2:32 PM Feb 16, 2017, 2:30 PM

                  @foppa

                  I’m using http request in my LUA like that

                  local status,result = luup.inet.wget(“http://10.99.99.15:8080/TESTING”")

                  I also have a URLENCODE function to convert my string…

                  function urlencode(str)
                     if (str) then
                        str = string.gsub (str, "\n", "\r\n")
                        str = string.gsub (str, "([^%w ])",
                           function (c) return string.format ("%%%02X", string.byte(c)) end)
                        str = string.gsub (str, " ", "%%20")
                     end
                     return str
                  end
                  
                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • 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