• 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
  1. Home
  2. djtale
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
D
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 5
  • Groups 0

djtale

@djtale

1
Reputation
231
Profile views
5
Posts
0
Followers
0
Following
Joined Jan 30, 2019, 9:40 AM
Last Online Apr 19, 2021, 9:01 AM

djtale Unfollow Follow

Best posts made by djtale

  • Help for a Module for Halloween

    Hello,

    I’m trying to make this project ( https://www.instructables.com/id/Raspberry-Pi-Based-Living-Portrait-Player-Intro/ ) into a Module.

    The difficulty I have is that I’m using Simple-Swiper module to switch the pages of my mirror.

    Here is what I’m trying to do :

    • the user can navigate on the different pages.
    • when he reaches the last page , omx player is displayed with the video but doesn’t play the video. It just display the first image. This is what is done in the Living-Portrait-Player.
    • if a move is detected, the video plays.
    • if the user switch the page, omx is killed and disappears.

    I’m asking for your help because I have already started something but I can’t manage to make it work.

    I’m getting inspiration from multiple modules for this project.

    • MMM-PIR which is the one I’m using as a main module and I’m modifying the code of that module.
    • MMM-Podcast
    • MMM-pages to find out what is the current page
    • MMM-RTSPStream for methods related to omxplayer

    I wonder if I can use the callback method in MMM-PIR to run the script when the user arrives on the page. I haven’t tried that yet. And also, how to kill omx when the user changes the page.

    I’m also having difficulties to get the current page in the MM-PIR modules.
    I’m using
    this.sendNotification(“QUERY_PAGE_NUMBER”);
    in the MMM-PIR.js but seems like MMM-pages doesn’t receive the notification.

    I would be so thankful if someone could help me working on this.

    posted in General Discussion
    D
    djtale
    Aug 7, 2019, 6:08 PM

Latest posts made by djtale

  • Config error with MMM-TelegramBot - Parenthesized pattern

    Hello,

    I’m having error when checking my config file :

    [07.04.2021 18:28.20.938] [ERROR] Line 115 column 93: Parsing error: Parenthesized pattern
    

    It seems to be caused by the customCommand.
    Could someone help me finding out what is wrong in my syntax ?

    customCommands: [
    {
    command: "nextpage",
    description: "Passe à la page suivante",
    callback: (command, handler) => {
    self.sendNotification("PAGE_INCREMENT"),
    handler.reply("TEXT", "Voici la page suivante!")
    }
    },
    {
    command: "previouspage",
    description: "Passe à la page précédente",
    callback: (command, handler, self) => {
    self.sendNotification("PAGE_DECREMENT")
    handler.reply("TEXT", "Voici la page précédente!")
    }
    },
    {
    command: "pronote",
    description: "Passe à la page PRONOTE",
    callback: (command, handler, self) => {
    self.sendNotification("PAGE_CHANGED",6)
    handler.reply("TEXT", "Voici ProNote!")
    }
    },
    {
    command: "pause",
    description: "Stop la rotation automatique",
    callback: (command, handler, self) => {
    self.sendNotification("PAUSE_ROTATION")
    handler.reply("TEXT", "OK, rotation arretée")
    }
    },
    {
    command: "resume",
    description: "Redémarre la rotation automatique",
    callback: (command, handler, self) => {
    self.sendNotification("RESUME_ROTATION")
    handler.reply("TEXT", "OK, rotation démarrée")
    }
    }
    ]
    

    Thanks

    posted in Troubleshooting
    D
    djtale
    Apr 7, 2021, 4:36 PM
  • Need help to develop a Module for Halloween

    Hello,

    I’m trying to make this project ( https://www.instructables.com/id/Raspberry-Pi-Based-Living-Portrait-Player-Intro/ ) into a Module.

    The difficulty I have is that I’m using Simple-Swiper module to switch the pages of my mirror.

    Here is what I’m trying to do :

    the user can navigate on the different pages.
    when he reaches the last page , omx player is displayed with the video but doesn’t play the video. It just display the first image. This is what is done in the Living-Portrait-Player.
    if a move is detected, the video plays.
    if the user switch the page, omx is killed and disappears.
    I’m asking for your help because I have already started something but I can’t manage to make it work.

    I’m getting inspiration from multiple modules for this project.

    MMM-PIR which is the one I’m using as a main module and I’m modifying the code of that module.
    MMM-Podcast
    MMM-pages to find out what is the current page
    MMM-RTSPStream for methods related to omxplayer
    I wonder if I can use the callback method in MMM-PIR to run the script when the user arrives on the page. I haven’t tried that yet. And also, how to kill omx when the user changes the page.

    I’m also having difficulties to get the current page in the MM-PIR modules.
    I’m using
    this.sendNotification(“QUERY_PAGE_NUMBER”);
    in the MMM-PIR.js but seems like MMM-pages doesn’t receive the notification.

    I would be so thankful if someone could help me working on this.

    posted in Development
    D
    djtale
    Aug 16, 2019, 2:48 PM
  • Help for a Module for Halloween

    Hello,

    I’m trying to make this project ( https://www.instructables.com/id/Raspberry-Pi-Based-Living-Portrait-Player-Intro/ ) into a Module.

    The difficulty I have is that I’m using Simple-Swiper module to switch the pages of my mirror.

    Here is what I’m trying to do :

    • the user can navigate on the different pages.
    • when he reaches the last page , omx player is displayed with the video but doesn’t play the video. It just display the first image. This is what is done in the Living-Portrait-Player.
    • if a move is detected, the video plays.
    • if the user switch the page, omx is killed and disappears.

    I’m asking for your help because I have already started something but I can’t manage to make it work.

    I’m getting inspiration from multiple modules for this project.

    • MMM-PIR which is the one I’m using as a main module and I’m modifying the code of that module.
    • MMM-Podcast
    • MMM-pages to find out what is the current page
    • MMM-RTSPStream for methods related to omxplayer

    I wonder if I can use the callback method in MMM-PIR to run the script when the user arrives on the page. I haven’t tried that yet. And also, how to kill omx when the user changes the page.

    I’m also having difficulties to get the current page in the MM-PIR modules.
    I’m using
    this.sendNotification(“QUERY_PAGE_NUMBER”);
    in the MMM-PIR.js but seems like MMM-pages doesn’t receive the notification.

    I would be so thankful if someone could help me working on this.

    posted in General Discussion
    D
    djtale
    Aug 7, 2019, 6:08 PM
  • RE: MMM-CalendarExt

    Hello,

    I have downloaded that Docker image to make some tests on MagicMirror :
    https://hub.docker.com/r/bastilimbach/docker-magicmirror/

    I don’t know why the MMM-CalendarExt is not displayed. I have tested multiple settings, even the simpliest provided in the doc page but still nothing appears.

    When I use the Browser debugger, I see a size of 0x0 for the div.container

    The calendar urls are working fine with the default calendar module.

    Is there something missing on the Docker Image ? I doubt because I have same issue with the module on my RaspberryPi MagicMirror

    Would someone accept to test my config module on his MagicMirror ?

    If anyone has some ideas, thanks.

    posted in Productivity
    D
    djtale
    May 29, 2019, 8:16 AM
  • RE: MMM-Swipe - Hand gestures

    Hello !

    I have ordered my HC-SR04 and I’m trying to understand how to setup this module.
    I have understand to setup of the GPIO but I don’t understand the notification stuff.

    Let’ say on first page I have those modules :
    “compliments”,“weatherforecast”,“newsfeed”,“MMM-SingleStock”

    And on second page, I want to have “MMM-CalendarExt”

    Where should I code the notification ?
    If someone can share a simple code to explain how we can switch from page 1 to page 2, I would highly appreciate.

    Thanks.

    posted in Troubleshooting
    D
    djtale
    Jan 30, 2019, 10:15 AM
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