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

[MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates

Scheduled Pinned Locked Moved Development
76 Posts 13 Posters 55.0k Views 13 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.
  • S Offline
    shbatm Module Developer @Cr4z33
    last edited by Feb 9, 2019, 2:02 PM

    @cr4z33 thanks! I’ll add it when I get a chance.

    1 Reply Last reply Reply Quote 0
    • S Offline
      shbatm Module Developer @robiv8
      last edited by shbatm Feb 9, 2019, 2:04 PM Feb 9, 2019, 2:03 PM

      @robiv8 make sure your are on the develop branch (git checkout develop from a command line inside the module folder).

      https://github.com/shbatm/MMM-Remote-Control/blob/develop/node_helper.js#L988

      R 1 Reply Last reply Feb 9, 2019, 5:20 PM Reply Quote 0
      • R Offline
        robiv8 @shbatm
        last edited by Feb 9, 2019, 5:20 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • R Offline
          robiv8
          last edited by Feb 9, 2019, 5:44 PM

          OK So i can see that:

          REMOTE_CLIENT_CONNECTED {}
          0|mm  | REMOTE_ACTION { data: 'translations' }
          0|mm  | REMOTE_ACTION { action: 'SHOW_ALERT',
          0|mm  |   type: 'alert',
          0|mm  |   title: 'Test',
          0|mm  |   message: 'This is a test text',
          0|mm  |   timer: '4' }
          

          but nothing happened!
          The Devtools says:

          alert is suspended.
          updatenotification is suspended.
          

          so I mean you are right with MMM-Page-Selector
          Good to know on the one hand,
          but on the other SHIT
          I spent a lot of time making it look and working with the page selector.
          Now I can start over :-(

          1 Reply Last reply Reply Quote 0
          • R Offline
            robiv8
            last edited by robiv8 Feb 9, 2019, 9:42 PM Feb 9, 2019, 6:11 PM

            One more question!
            Now I have 6 pages that I use with physical buttons.
            If I restart the setup now with Carousel which example am I taking?
            Global, Positional or Slides

            I found it out myself. :-)

            Thank you

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cr4z33 @shbatm
              last edited by Cr4z33 Feb 17, 2019, 10:32 AM Feb 15, 2019, 4:17 PM

              @shbatm I need to replace the monitor ON / OFF commands with these TV ones from the package ‘cec-client’.

              Where do I have to look at?

              TV ON:
              echo on 0 | cec-client -s -d 1

              TV OFF:
              echo standby 0 | cec-client -s -d 1

              TV Status:
              echo pow 0 | cec-client -s -d 1

              C 1 Reply Last reply Feb 24, 2019, 9:34 AM Reply Quote 0
              • S Offline
                swvalenti Project Sponsor @shbatm
                last edited by swvalenti Feb 15, 2019, 5:43 PM Feb 15, 2019, 5:42 PM

                @shbatm said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:

                @nobita said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:

                I have to Remove from jopyth or not

                You can checkout my fork/branch without removing @Jopyth’s by adding a remote:

                $ cd ~/MagicMirror/modules/MMM-Remote-Control
                $ git remote add shbatm https://github.com/shbatm/MMM-Remote-Control.git
                $ git fetch shbatm
                $ git checkout -b shbatm-develop shbatm/develop
                $ npm install
                

                After that you can switch back and forth using git checkout master and git checkout shbatm-develop

                @shbatm
                I followed this and I am on the dev branch but when I launch the remote in browser I don’t see any of the added features?

                S 1 Reply Last reply Feb 18, 2019, 2:40 AM Reply Quote 0
                • S Offline
                  shbatm Module Developer @swvalenti
                  last edited by Feb 18, 2019, 2:40 AM

                  @swvalenti Most of the changes are in the background with the API and are enabled by default, but the new front-end features have to be turned on in your config:

                  {
                      module: 'MMM-Remote-Control'
                      // uncomment the following line to show the URL of the remote control on the mirror
                      // , position: 'bottom_left'
                      // you can hide this module afterwards from the remote control itself
                      config: {
                          customCommand: {},  // Optional, See "Using Custom Commands" below
                          customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
                          showModuleApiMenu: true, // Optional, Enable the Module Controls menu
                          pm2ProcessName: "mm",  // Optional, if you don't use the default PM2 process, provide the name here.
                          apiKey: "",         // Optional, See API/README.md for details
                      }
                  },
                  
                  C 1 Reply Last reply Feb 18, 2019, 9:00 AM Reply Quote 0
                  • C Offline
                    Cr4z33 @shbatm
                    last edited by Feb 18, 2019, 9:00 AM

                    @shbatm please see my post. ;)

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      swvalenti Project Sponsor
                      last edited by Feb 22, 2019, 12:48 AM

                      I am unable to switch back to master after git checkout master in the $ cd ~/MagicMirror/modules/MMM-Remote-Control what am I doing wrong?

                      S 1 Reply Last reply Feb 24, 2019, 1:56 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 2 / 8
                      2 / 8
                      • First post
                        20/76
                        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