MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. waki
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    waki

    @waki

    0
    Reputation
    81
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    waki Unfollow Follow

    Latest posts made by waki

    • RE: MMM-pages & mmm-remote-control

      I tried this, there is no error. The notification gets recieved by the mmm-pages modules, but it reports:
      [Pages]: received a notification to change to page [object Object] of type object

      From the API I get the answer:
      {“success”:true,“notification”:“PAGE_CHANGED”,“payload”:{“payload”:“1”}}

      But I only get a black page. And I looked inside the code, but my js knowledge is too bad to understand what is happening there.

      posted in Troubleshooting
      W
      waki
    • RE: MMM-pages & mmm-remote-control

      I know the page numbers start with 0. But if I use the commands in the list, no matter what page index I pass, I only get a black page. So I think the formal way, of how I pass the paramter is wrong. And your command also doesnt work

      posted in Troubleshooting
      W
      waki
    • RE: MMM-pages & mmm-remote-control

      I understand this. The question is how to pass the page:
      Like one of these??

      • http://192.168.0.62:8080/api/notification/PAGE_CHANGED?page=1
      • http://192.168.0.62:8080/api/notification/PAGE_CHANGED?1
      • http://192.168.0.62:8080/api/notification/PAGE_CHANGED?payload=1

      or how ?

      posted in Troubleshooting
      W
      waki
    • RE: MMM-pages & mmm-remote-control

      Thank you for the link, but the command is working, if I use the notification “PAGE_DECREMENT” without an aditional parameter. But I´m not sure how to pass the page as paramter, so the mmm-remote-control is executing “this.sendNotification(“PAGE_CHANGED”, 1)”.

      posted in Troubleshooting
      W
      waki
    • MMM-pages & mmm-remote-control

      Hey guys,

      I want to use the restful-api of the mmm-remote control package to switch to a specific page. To achive this, I tried to send a notification with the command “http://192.168.0.62:8080/api/notification/PAGE_CHANGED?payload=1” but it is not working. Can you help me?

      Thanks a lot!

      posted in Troubleshooting
      W
      waki