• 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 57.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
    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
    • C Offline
      Cr4z33 @Cr4z33
      last edited by Cr4z33 Feb 24, 2019, 9:36 AM Feb 24, 2019, 9:34 AM

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

      @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

      @shbatm so I found out by myself the lines to edit in node_helper.js.

      I can succesfully turn off the TV by using the remote module, but for some unknown reason I can’t turn it on… :thinking_face:
      Running the command from the terminal works perfectly.

      S 1 Reply Last reply Feb 24, 2019, 6:53 PM Reply Quote 0
      • S Online
        sdetweil @swvalenti
        last edited by Feb 24, 2019, 1:56 PM

        @swvalenti what does the command say? also do git branch to see what branch you are on

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Feb 24, 2019, 2:04 PM Reply Quote 0
        • S Offline
          swvalenti Project Sponsor @sdetweil
          last edited by Feb 24, 2019, 2:04 PM

          @sdetweil on the dev branch below is the error

          git checkout master
          error: pathspec ‘master’ did not match any file(s) known to git.

          S 1 Reply Last reply Feb 24, 2019, 2:10 PM Reply Quote 0
          • S Online
            sdetweil @swvalenti
            last edited by Feb 24, 2019, 2:10 PM

            @swvalenti ok, what does git branch say

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Feb 24, 2019, 2:12 PM Reply Quote 0
            • S Offline
              swvalenti Project Sponsor @sdetweil
              last edited by Feb 24, 2019, 2:12 PM

              @sdetweil develop

              • shbatm-develop
              S 1 Reply Last reply Feb 24, 2019, 2:15 PM Reply Quote 0
              • S Online
                sdetweil @swvalenti
                last edited by sdetweil Feb 24, 2019, 2:15 PM Feb 24, 2019, 2:15 PM

                @swvalenti so there is no branch called ‘master’

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Feb 24, 2019, 2:15 PM Reply Quote 0
                • S Offline
                  swvalenti Project Sponsor @sdetweil
                  last edited by Feb 24, 2019, 2:15 PM

                  @sdetweil oh boy that is odd, how do I get the master back?

                  S 2 Replies Last reply Feb 24, 2019, 2:18 PM Reply Quote 0
                  • S Online
                    sdetweil @swvalenti
                    last edited by Feb 24, 2019, 2:18 PM

                    @swvalenti rename the current folder/directory out of the way, and git clone the remote repo (your fork or his ) again.

                    then get to the right branch, and then copy any modified files from the saved repo into this new copy,
                    once complete, remove the old saved directory

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Online
                      sdetweil @swvalenti
                      last edited by Feb 24, 2019, 2:19 PM

                      @swvalenti the master repo has master and develop as branches

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 2 / 8
                      2 / 8
                      • First post
                        29/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