• 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 48.7k 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.
  • C Offline
    Cr4z33
    last edited by Cr4z33 Jul 1, 2019, 1:30 PM Jun 29, 2019, 10:59 AM

    I need to add some custom commands to control MMM-RTSPStream streams like if they were tv channel buttons, but I am not skilled enough to understand the interested readme section. :smiling_face_with_open_mouth_cold_sweat:

    @shbatm could you please help me adding one stream button (as example for all the others to add)?

    All I need is to run a combo of ‘RTSP-STOP all’ first (I am using OMXplayer therefore I prefer to kill any running stream first) and ‘RTSP-PLAY streamX’ immediately after.

    C 2 Replies Last reply Jul 3, 2019, 6:45 AM Reply Quote 0
    • S Offline
      swvalenti Project Sponsor
      last edited by Jun 30, 2019, 6:01 PM

      When I press Restart MagicMirror it doesn’t restart…if I hit Refresh Browser the browser refreshes. Any idea why Restart MagicMirror command doesn’t work? Running latest updates on all platforms.

      R 1 Reply Last reply Jun 30, 2019, 7:56 PM Reply Quote 0
      • R Offline
        retroflex Project Sponsor Module Developer @swvalenti
        last edited by Jun 30, 2019, 7:56 PM

        @swvalenti Yeah, same here. Would really like to find an answer for this…

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cr4z33 @Cr4z33
          last edited by Jul 3, 2019, 6:45 AM

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

          I need to add some custom commands to control MMM-RTSPStream streams like if they were tv channel buttons, but I am not skilled enough to understand the interested readme section. :smiling_face_with_open_mouth_cold_sweat:

          @shbatm could you please help me adding one stream button (as example for all the others to add)?

          All I need is to run a combo of ‘RTSP-STOP all’ first (I am using OMXplayer therefore I prefer to kill any running stream first) and ‘RTSP-PLAY streamX’ immediately after.

          @shbatm you there mate please? :smiling_face_with_halo:

          1 Reply Last reply Reply Quote 0
          • C Offline
            Cr4z33 @Cr4z33
            last edited by Jul 15, 2019, 10:32 AM

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

            I need to add some custom commands to control MMM-RTSPStream streams like if they were tv channel buttons, but I am not skilled enough to understand the interested readme section. :smiling_face_with_open_mouth_cold_sweat:

            @shbatm could you please help me adding one stream button (as example for all the others to add)?

            All I need is to run a combo of ‘RTSP-STOP all’ first (I am using OMXplayer therefore I prefer to kill any running stream first) and ‘RTSP-PLAY streamX’ immediately after.

            It looks like @shbatm is not following this forum since many months.

            Therefore @bolish or someone else could you please post your custom menu entries code so that I can better figure out how to enter that MMM-RTSPStream code?

            The related README section didn’t make so much sense to me. :man_shrugging_medium_skin_tone:

            1 Reply Last reply Reply Quote 0
            • B Offline
              BD0G
              last edited by Nov 4, 2019, 10:18 PM

              Using Raspberry Pi Zero W with latest version of Buster. MM2 working . used command in first post to install MMM-RemoteControl. Used Master Branch and not Dev. Module directory created sucessfully. Edited config.js with appropriate entries. I dont have anything displaying on screen besides the clock and Holidays .

              Its supposed to display the default webpage in the center of the screen. I dont see that . Just black in that area.

              Here is the config.js

              code_tvar config = {
              	address: "localhost", // Address to listen on, can be:
              	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
              	                      // - another specific IPv4/6 to listen on a specific interface
              	                      // - "", "0.0.0.0", "::" to listen on any interface
              	                      // Default, when address config is left out, is "localhost"
              	port: 8080,
              	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
              	                                                       // or add a specific IPv4 of 192.168.1.5 :
              	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
              	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
              	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
              	
              	language: "en",
              	timeFormat: 12,	
              	units: "imperial",
              	// serverOnly:  true/false/"local" ,
              			     // local for armv6l processors, default 
              			     //   starts serveronly and then starts chrome browser
              			     // false, default for all  NON-armv6l devices
              			     // true, force serveronly mode, because you want to.. no UI on this device
              	
              	modules: [
              		 {
                      		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: {
                          		apiKey: '56cab4b5d5e24cfea8c436ac591d722c'
                      	}
                  		},
              
              			
              		{
              			module: "alert",
              		},
              		{
              			module: "updatenotification",
              			position: "top_bar"
              		},
              		{
              			module: "clock",
              			position: "top_left"
              		},
              		{
              			module: "calendar",
              			header: "US Holidays",
              			position: "top_left",
              			config: {
              				calendars: [
              					{
              						symbol: "calendar-check",
              						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					}
              				]
              		}
              		},
              		
              	]
              
              };
              
              /*************** DO NOT EDIT THE LINE BELOW ***************/
              if (typeof module !== "undefined") {module.exports = config;}
              
              ext
              
              S 1 Reply Last reply Nov 4, 2019, 10:19 PM Reply Quote 0
              • S Away
                sdetweil @BD0G
                last edited by Nov 4, 2019, 10:19 PM

                @BD0G gotta have a position setting

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Nov 4, 2019, 10:21 PM Reply Quote 0
                • B Offline
                  BD0G @sdetweil
                  last edited by Nov 4, 2019, 10:21 PM

                  @sdetweil Damn you are helpful!
                  I forgot to uncomment the position setting. Duh. Man little things just slip by. :)

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BD0G
                    last edited by BD0G Nov 4, 2019, 10:36 PM Nov 4, 2019, 10:35 PM

                    That works. Now I am struggling with understanding the IP Whitelist area . I want to open up access to all IP Addresses internally between 192.168.1.2 and 192.168.1.254 as I am unsure which of those IP addresses will be dynamically assigned to the device I use to access the MMM-Remote-Control app.

                    ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                    	                                                       // or add a specific IPv4 of 192.168.1.5 :
                    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                    	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                    
                    S 1 Reply Last reply Nov 4, 2019, 11:22 PM Reply Quote 0
                    • S Away
                      sdetweil @BD0G
                      last edited by sdetweil Nov 4, 2019, 11:23 PM Nov 4, 2019, 11:22 PM

                      @BD0G so, i just clear the whitelist, and allow anyone on my network to connect… (its only me,inside my house)

                      ipWhitelist: [],
                      

                      you will also have to open up the address block

                      address: [] or [0.0.0.0]
                      

                      otherwise it means ONLY the same machine can talk to the mirror…

                      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
                      • 1 / 8
                      • 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