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.

    Using Alexa control to change calendar views?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 674 Views 2 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.
    • B Offline
      blouzbee
      last edited by

      So im trying to wrap my head around wether this is possible or not. I’m using MMM-calendarext3, in the notes I see

      CX3_GLANCE_CALENDAR, payload: {instanceId, step}

      and

      CX3_SET_DATE, payload: {instanceId, date}

      I also understand Alexa control can send alerts to other modules. I’m not sure if I’m misunderstanding these features. can someone detail a high-level overview of how this might work, if at all?

      in the end, I would like to be looking at my calendar and say Alexa show November. the view would switch the month for a min and go back to the default view. Thank you kindly.

      S 1 Reply Last reply Reply Quote 1
      • S Do not disturb
        sdetweil @blouzbee
        last edited by sdetweil

        @blouzbee yes ac can send notifications.

        you configure the notifications section, a list of
        {
        name
        port
        notification to send
        }
        (repeat as many times as needed)

        name is the thing u will tell Alexa to turn on.
        (it’s a fake outlet)
        notification is two things

        a string, with the notification name/identification
        and some data ( called payload)

        in the info you posted,
        CX3_GLANCE_CALENDAR (the name)
        {instanceId, step} ( the payload)
        but I don’t know where u get those pieces of data from. they have to be hard coded in the ac config

        you cannot set anything dynamically with these ac switches/plugs…

        they are either on or off

        you either turn it on or off

        Alexa turn on {name}

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          blouzbee @sdetweil
          last edited by blouzbee

          @sdetweil

          Thank you for the overview. It really helped me wrap my head around it. i got it working the way i like. After getting MMM-Alexacontrol working i added this to the config section of the AlexaControl module in config.js

          notifications: [
          	{		
          	name: 'next month',
          	port: 11100,
          	OnOff: false,
          	notification: ["CX3_GLANCE_CALENDAR", {step: 5}]
          	}
          	        ],
          

          Search for new devices in the Alexa app, it should find “next month”. I have my calendar in week mode showing six weeks. I say “Alexa, turn on next month” and it advances the view 5 weeks(i might change it to 6) , stays there for a min then goes back to the default view.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • 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