Remote on multiple devices

Posted on
  • I am using Puck.js as a remote to play/pause music and movies on my phone and computer. It can also switch to a mode where it sends "volume down" commands to take a photo remotely on my phone.

    The problem I have is that it is inconvenient to move the Puck from one device to the other. For example, if Puck is connected to my phone and I want to use it to my computer, the only way I found is to go to the bluetooth settings on the phone and "forget" the Puck device. Only then it becomes visible on other devices. I also tried simply disconnecting it, but it reconnects immediately by itself.

    Is there an easier way to do it? It would be great if I could disconnect/forget all devices from the Puck itself.

  • but it reconnects immediately by itself.
    It would be great if I could disconnect/forget all devices from the Puck itself.

    I think Puck is the passive side in this and it is the phone that does it. You could refuse connection on the Puck when specific device connects but that would not help much.

    Simplest solution that may work is changing MAC address of the Puck, you may then have different addresses for different devices so switching to right address will let specific device work with the Puck. Check this NRF_setAddress

  • Ohh! You could also use setAdress on a banglejs right? Because switching between PC for development and android for daily use is always such a PITA. Maybe I'll find the time to create a small app for that 💡

  • Using setAddress is a good idea - that should work fine. As @fanoush says the Puck.js/etc device doesn't have any say in the matter, it's the phone/PC/etc that initiates the connection, but my changing the address you can make the Puck seem like it's a physically different device

    Ohh! You could also use setAdress on a banglejs right?

    Yes, you can do that too.

  • Just a FYI re that PITA - I created an app for these situations. It's not the same solution with setAdress though. I map that app to a series of swipes in quicklaunch.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Remote on multiple devices

Posted by Avatar for user159176 @user159176

Actions