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

How to send a notification

Scheduled Pinned Locked Moved Unsolved Troubleshooting
35 Posts 3 Posters 3.9k Views 3 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 Away
    sdetweil @Alyx
    last edited by sdetweil Nov 22, 2021, 2:58 PM Nov 22, 2021, 2:47 PM

    @alyx I added your config to my MM and added debugging… and it works as expected

    samplemodule reports Selfie_shoot was received

    SampleModule received a module notification: SELFIE_SHOOT from sender: MMM-AlexaControl
    

    and because u have is as onOff:false
    u get a notification every time (on or off)

    I did this using the alexa app…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    A 1 Reply Last reply Nov 22, 2021, 3:19 PM Reply Quote 0
    • A Offline
      Alyx @sdetweil
      last edited by Nov 22, 2021, 3:19 PM

      @sdetweil oh… where do you think I went wrong so?

      S 1 Reply Last reply Nov 22, 2021, 3:22 PM Reply Quote 0
      • S Away
        sdetweil @Alyx
        last edited by Nov 22, 2021, 3:22 PM

        @alyx i don’t know… i didn’t change anything in your config…

        if you use the alexa app to turn the plug on or off, do you see the notifications?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Nov 22, 2021, 3:51 PM Reply Quote 0
        • A Offline
          Alyx @sdetweil
          last edited by Nov 22, 2021, 3:51 PM

          @sdetweil ok I re added the selfie device on the alexa app and it found it fine but its now coming up as unresponsive

          S 1 Reply Last reply Nov 22, 2021, 3:54 PM Reply Quote 0
          • S Away
            sdetweil @Alyx
            last edited by Nov 22, 2021, 3:54 PM

            @alyx so, discovery records the IP address of the ‘device’ and the port.

            so, if your pi changes ip address during boot, then it won’t work again …

            all my pi type devices have fixed addresses to avoid this problem…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            A 1 Reply Last reply Nov 22, 2021, 3:59 PM Reply Quote 0
            • A Offline
              Alyx @sdetweil
              last edited by Nov 22, 2021, 3:59 PM

              @sdetweil ah ok I’ll set a static! TBH I did have that concern but i was wrong to assume it was dynamic with the IP’s

              I’ll come back if this works or not , I have a call rn

              S 1 Reply Last reply Nov 22, 2021, 4:08 PM Reply Quote 0
              • S Away
                sdetweil @Alyx
                last edited by sdetweil Nov 22, 2021, 4:09 PM Nov 22, 2021, 4:08 PM

                @alyx yeh the Alexa design is devices don’t move around, and one would only do discovery occasionally

                then u have to delete the devices and rediscover

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                A 1 Reply Last reply Nov 24, 2021, 10:00 PM Reply Quote 0
                • A Offline
                  Alyx @sdetweil
                  last edited by Nov 24, 2021, 10:00 PM

                  @sdetweil ok so after fighting with my interfaces file for a few days I have a static IP

                  Only issue is that I can discover devices on the Alexa app but they arent usable and just come up an unresponsive…

                  It seems the static IP has messed with that feature ? Any advise on this please?

                  S 1 Reply Last reply Nov 24, 2021, 10:32 PM Reply Quote 0
                  • S Away
                    sdetweil @Alyx
                    last edited by sdetweil Nov 24, 2021, 10:33 PM Nov 24, 2021, 10:32 PM

                    @alyx no after u get a static IP, and your mm config.js has

                    address:"0.0.0.0",
                    ipWhitelist:[],
                    

                    to allow incoming connections from outside the pi machine

                    it should work

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    A 1 Reply Last reply Nov 24, 2021, 11:13 PM Reply Quote 0
                    • A Offline
                      Alyx @sdetweil
                      last edited by Nov 24, 2021, 11:13 PM

                      @sdetweil I did that but still isnt working

                      S 1 Reply Last reply Nov 25, 2021, 1:53 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        24/35
                        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