MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. JcMarin
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 14
    • Best 2
    • Controversial 0
    • Groups 0

    JcMarin

    @JcMarin

    2
    Reputation
    247
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    JcMarin Unfollow Follow

    Best posts made by JcMarin

    • RE: MMM-NewsFeedTicker - always Loading ...

      Got it fixed with the old magic solution of rebooting the computer :face_with_stuck-out_tongue_closed_eyes:

      I had reloaded the MM and restarted it a couple of times but would not load, but after a restart its working now

      Thanks

      posted in Troubleshooting
      J
      JcMarin
    • RE: Error Installing MMM-Keybindings

      SOLVED

      I finally figured out why MMM-Keybindings was not seeing the remote, after looking at some logs from pm2 I saw some errors reporting no permission to open /dev/input/btremote (which points to /dev/input/event6)

      After further troubleshooting, I saw that the MM process in PM2 for some reason was not running as root

      I recreated the pm2 startup script pm2 startup and that fixed the permissions and now MMM-Keybindings sees the remote clicks no problem.

      thought to post in case this could help someone with same problem

      posted in Troubleshooting
      J
      JcMarin

    Latest posts made by JcMarin

    • RE: Error Installing MMM-Keybindings

      SOLVED

      I finally figured out why MMM-Keybindings was not seeing the remote, after looking at some logs from pm2 I saw some errors reporting no permission to open /dev/input/btremote (which points to /dev/input/event6)

      After further troubleshooting, I saw that the MM process in PM2 for some reason was not running as root

      I recreated the pm2 startup script pm2 startup and that fixed the permissions and now MMM-Keybindings sees the remote clicks no problem.

      thought to post in case this could help someone with same problem

      posted in Troubleshooting
      J
      JcMarin
    • MMM-OnScreenMenu Notifications?

      Need some help with OnScreenMenu

      I’m using an ir remote for my MM which is basically sending keys (keyboard).

      I have managed to activate/deactivate the Menu sending “ONSCREENMENU_TOGGLE_MENU” through KeyBindings module but I don’t know what notification to send for the Up/Down arrows or Enter keys to navigate the Menu

      I tried notification: “ONSCREENMENU_KEYPRESS”,
      payload: {actionName: “KEYPRESS”, name: “ArrowUp”}

      But that does not work, and navigation is not working with the Keyboard either once Menu pop-ups

      What notification or configuration do I need to navigate with keyboard enter and arrow keys?

      Config I have right now

      {
      module: ‘MMM-OnScreenMenu’,
      position: ‘bottom_left’,
      config: {
      touchMode: false,
      enableKeyboard: true,
      enableKeyBindings: true,
      }
      },

      module: “MMM-KeyBindings”,
      config: {
      enabledKeyStates: [“KEY_PRESSED”, “KEY_LONGPRESSED”],
      // evdev: { enabled: true, eventPath: “/dev/input/btremote”},
      enableKeyboard: true,
      actions: [
      {
      key: “Menu”,
      state: “KEY_PRESSED”,
      mode: “DEFAULT”,
      notification: “ONSCREENMENU_TOGGLE_MENU”,
      },
      {
      key: “ArrowUp”,
      state: “KEY_PRESSED”,
      mode: “DEFAULT”,
      notification: “ONSCREENMENU_KEYPRESS”,
      payload: {actionName: “KEYPRESS”, name: “ArrowUp”}
      }
      ]
      }
      },

      posted in Troubleshooting
      J
      JcMarin
    • RE: MMM-Spotify Toggle Play/Pause?

      @Sean

      Great!

      Thanks

      posted in Troubleshooting
      J
      JcMarin
    • RE: MMM-Spotify Toggle Play/Pause?

      @Sean

      Thanks Sean, I think that would be a nice feature for your module (great module btw.!)

      Is this something that could also be done with javascript within MagicMirror? or would it have to be within your module?

      I’m new to MM so finding my way still.

      posted in Troubleshooting
      J
      JcMarin
    • MMM-Spotify Toggle Play/Pause?

      I have MMM-Keybindings sending notifications to MMM-Spotify using an IR Remote that has a Play/Pause Button

      Since I don’t see a notification that toggles the play/pause status, can this be done within MM somehow?

      Can someone point me in the right direction?

      posted in Troubleshooting
      J
      JcMarin
    • RE: MMM-NewsFeedTicker - always Loading ...

      Got it fixed with the old magic solution of rebooting the computer :face_with_stuck-out_tongue_closed_eyes:

      I had reloaded the MM and restarted it a couple of times but would not load, but after a restart its working now

      Thanks

      posted in Troubleshooting
      J
      JcMarin
    • MMM-NewsFeedTicker - always Loading ...

      I have installed the module but it just stays in Loading … and never finishes loading

      Rest of the modules (Spotify, Calender, Weather) working ok

      here is my config for the module.

      Any ideas?

      {
                  disabled: false,
                  module: "MMM-NewsFeedTicker",
                          position: "bottom_bar",
                          //classes: "day_scheduler",
                          config: {
                                  feeds: [
                                          {
                                          title: "New York Times",
                                          url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
                                          encoding: "UTF-8", //ISO-8859-1
                                          className: "myClass",
                                          defaultLogo : ""
                                          },
                                          {
                                          title: "BBC World News",
                                          url: "http://feeds.bbci.co.uk/news/world/rss.xml#",
                                          encoding: "UTF-8", //ISO-8859-1
                                          className: "myClass",
                                          defaultLogo : ""
                                          }
                                  ]
                          }
                  },
      
      posted in Troubleshooting
      J
      JcMarin
    • RE: Error Installing MMM-Keybindings

      Yes, this is an Apple Metalic Remote (model A-1294) and receiver is the embedded MacBook Pro IR Receiver (old MacBook Pro 15" Core 2 Duo 2.33 - late 2006)

      For now, I have worked around MMM-Keybindings not seeing the remote keys by installing lirc and using irxevent to send Keys to MMM-Keybindings

      This is the config I was trying:
      module: “MMM-KeyBindings”,
      config: {
      enabledKeyStates: [“KEY_PRESSED”, “KEY_LONGPRESSED”],
      evdev: { enabled: true, eventPath: “/dev/input/btremote”},
      enableKeyboard: true,
      KeyMap: {
      Home: “KEY_HOMEPAGE”,
      Enter: “KEY_ENTER”,
      ArrowLeft: “KEY_LEFT”,
      ArrowRight: “KEY_RIGHT”,
      ArrowUp: “KEY_VOLUMEUP”,
      ArrowDown: “KEY_VOLUMEDOWN”,
      Menu: “KEY_MENU”,
      MediaPlayPause: “KEY_PLAYPAUSE”,
      MediaNextTrack: “KEY_FORWARD”,
      MediaPreviousTrack: “KEY_BACK”,
      Return: “KEY_BACKS”
      },
      actions: [{
      key: “ArrowUp”,
      state: “KEY_PRESSED”,
      instance: “SERVER”,
      mode: “DEFAULT”,
      notification: “REMOTE_ACTION”,
      payload: { action: “TOGGLE”, module: “module_2_clock”},
      }]
      }

      btremote is pointing to /dev/input/event6 and as I said evtest does see the remote

      I also tried ir-keytables but although I can force it to look at the event6 dev there is no /dev/rc directory and it gives an error

      I guess lirc is not a bad solution while combining it with MMM_Keybindings, little more work and things to configure but I could not get it to work directly

      posted in Troubleshooting
      J
      JcMarin
    • RE: Error Installing MMM-Keybindings

      So MMM-Keybinding is working for me now with Keyboard but does not work with the Apple IR Remote

      The remote is linked to /dev/input/event6 and evtest sees all the keys which I have added to the Keymap in the config, but MMM-Keybindings does not see the event (I installed MMM-ViewNotifications to see what is detected)

      If I enable the keyboard MMM-Keybindings actually see some of the remotes keys but as keyboard input

      I also have tried to use ip-keytable to map other keyboard keys to the rremote but ip-keytable does NOT see the remote (/sys/class/rc/rc No such file or directory), looks like the remote is recognized as keyboard input but not actually an ir remote

      Anyonw has any experience with the Apple IR and how to use it in Magic Mirror?

      posted in Troubleshooting
      J
      JcMarin
    • RE: Error Installing MMM-Keybindings

      Well I think that the module installed now, at least I’m not getting any errors with “npm install” but it’s not working after adding and configuring on my MM

      I’m using an Apple IR remote that is working under ubuntu fine (in dev/input/event8)

      whats the best way to troubleshoot this? how do I know if MM is getting the input and if MM-Keybinds is truly installed and working?

      posted in Troubleshooting
      J
      JcMarin