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 8.0k 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.
    • SnilleS Offline
      Snille Module Developer
      last edited by

      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

      PointPubMediaP 1 Reply Last reply Reply Quote 0
      • PointPubMediaP Offline
        PointPubMedia @Snille
        last edited by

        @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
        • PointPubMediaP Offline
          PointPubMedia
          last edited by

          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 Reply Quote 1
          • S Offline
            shashank @PointPubMedia
            last edited by

            @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

            PointPubMediaP 1 Reply Last reply Reply Quote 0
            • PointPubMediaP Offline
              PointPubMedia @shashank
              last edited by

              @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 Reply Quote 0
              • F Offline
                foppa @PointPubMedia
                last edited by

                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

                PointPubMediaP 1 Reply Last reply Reply Quote 0
                • PointPubMediaP Offline
                  PointPubMedia @foppa
                  last edited by yawns

                  @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