Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Daveladd
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Daveladd

    @Daveladd

    0
    Reputation
    3
    Posts
    352
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Daveladd Follow

    Best posts made by Daveladd

    This user hasn't posted anything yet.

    Latest posts made by Daveladd

    • RE: Calendar module won't show all events

      @ninjabreadman
      Slick fix, Well done. Think this should get pushed to the master branch? Does not seem it will get in the way of other functionality/stability since we can still use the lower electron version but obviously the workaround means updates involve stashing changes and such.

      posted in Troubleshooting
      D
      Daveladd
    • RE: Calendar Broadcast

      Apologies for not being specific enough. Was having troubles unpacking the notification payload. Found that this method works:

      notificationReceived:function(notification, payload, sender) {
          if (notification === 'CALENDAR_EVENTS' && sender.name === 'calendar') {
              var x = payload;
                  for (let value of x) {
      

      then I was able to use variables such as x[0] or value.title/startDate/endDate etc, to access the data.

      posted in Development
      D
      Daveladd
    • Calendar Broadcast

      I am looking to develop a module that receives the broadcast notification from MM/default/calendar (which is presently being used as a work schedule) and can, for example, parse out the array and display a picture of the person next on the schedule. As of yet I cannot seem to get any even basic output from the CALENDAR_EVENTS notification let alone parse out the array into something useful. Any help would be much appreciated.

      posted in Development
      D
      Daveladd