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

Scheduled Pinned Locked Moved System
421 Posts 61 Posters 453.3k Views 57 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.
  • ? Offline
    A Former User @Keith
    last edited by Dec 2, 2019, 9:08 AM

    @Keith

    I can hide and show single modules or all modules but I can’t figure out hide one and show another

    Almost same. :D

    command: {
      "HIDE_A_REVEAL_B": {
        moduleExec: {
          module: [], // For all modules,
          exec: (module, params, key) => {
            if (module.name == "MODULE_A") { // if module name is...
              module.hide()
            }
            if (module.name == "MODULE_B") {
              module.show()
            }
          }
        }
      },
    }
    

    Not tested code, but I believe you can catch the idea.

    K 2 Replies Last reply Dec 2, 2019, 11:59 PM Reply Quote 0
    • ? Offline
      A Former User @tanvir586
      last edited by Dec 2, 2019, 9:10 AM

      @tanvir586

      Read this doc.
      https://developers.google.com/assistant/sdk/guides/service/python/embed/register-device

      1 Reply Last reply Reply Quote 0
      • T Offline
        tanvir586
        last edited by Dec 2, 2019, 2:23 PM

        Ive already registered. But now i can’t find the model id.

        ? 1 Reply Last reply Dec 2, 2019, 2:33 PM Reply Quote 0
        • ? Offline
          A Former User @tanvir586
          last edited by Dec 2, 2019, 2:33 PM

          @tanvir586
          0_1575297171747_ef28bbf2-1619-4e91-9491-e5a4aa58b08a-image.png

          T J 2 Replies Last reply Dec 2, 2019, 4:21 PM Reply Quote 0
          • T Offline
            tanvir586 @Guest
            last edited by Dec 2, 2019, 4:21 PM

            @Sean thanks for reply.
            My screen is like this.!0_1575303692872_Screenshot_20191202-162015_Samsung Internet.jpg
            I don’t have registration section.

            S 1 Reply Last reply Dec 2, 2019, 4:25 PM Reply Quote 0
            • S Offline
              sdetweil @tanvir586
              last edited by Dec 2, 2019, 4:25 PM

              @tanvir586 back a couple pages, you created an application, right?

              at https://console.actions.google.com/u/0/?pli=1

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • T Offline
                tanvir586
                last edited by Dec 2, 2019, 4:53 PM

                Sorry guys i think i didn’t register it.
                I followed this video https://youtu.be/UBgH5hejYtM.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Keith @Guest
                  last edited by Dec 2, 2019, 11:59 PM

                  @Sean I’ll give that a try and let you know. Thanks

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Keith @Guest
                    last edited by Dec 3, 2019, 4:56 PM

                    @Sean I got it working, thanks for your help. The code that worked for me is below

                    command: {
                          "HIDECALENDAR": {
                              moduleExec: {
                                   module:()=>{
                          return []
                        }, // For all modules,
                                  exec: (module, params, key) => {
                                      if (module.name == "MMM-GooglePhotos") { // if module name is...
                                          module.show()
                                      }
                                      if (module.name == "MMM-CalendarExt2") {
                                          module.hide()
                                      }
                                  }
                              }
                          },
                          "SHOWCALENDAR": {
                              moduleExec: {
                                   module:()=>{
                          return []
                        }, // For all modules,
                                  exec: (module, params, key) => {
                                      if (module.name == "MMM-GooglePhotos") { // if module name is...
                                          module.hide()
                                      }
                                      if (module.name == "MMM-CalendarExt2") {
                                          module.show()
                                      }
                                  }
                              }
                    
                          }
                      }
                    
                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tanvir586
                      last edited by Dec 4, 2019, 12:11 AM

                      Is it possible to make AssistantMk2 to show my ip camera feed? If i ask AssistantMk2 to show my front door, it says to select output display.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 36
                      • 37
                      • 38
                      • 39
                      • 40
                      • 41
                      • 42
                      • 43
                      • 38 / 43
                      38 / 43
                      • First post
                        373/421
                        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