Architecture Review and generic connectivity questions

Hey all,

Putting this in General because I’m not sure where it fits best - I won’t be offended if it gets moved!

I’ve followed the project for a while and now I’m ready to integrate it into a project I’m building.

The main question I have is around connectivity - is it possible to have a device connect “automatically” (i.e. without user interaction with Intiface etc)?

In the scene I’m building, a large part of it is that everything is pre-configured for the “end user”, including the vibrator being connected to the controller.

The toy can be switched on before the scene starts as part of the scene setup, but it’s then going to be “hidden” and when it is “found” the finder should be able to just insert it and go on with the rest of the scene without needing to reconnect it or press any buttons.

Assuming that this is possible, I’d appreciate it if someone could confirm that my understanding of how all this fits together makes sense?

From reading the docs, I think I can have the following setup:

  • Intiface Engine running headless on a Pi or similar with BLE support
  • A toy (yet to be decided, probably an xbox controller for prototyping, a cheap dolph for initial testing, and a lovense for “production” if I get that far!) that connects to Intiface when it is powered on
  • Python code that interacts with the Intiface Engine API to control the speed/pattern of the toy

My only concerns are the connectivity one mentioned above, and whether it’s possible to send a single message to initialise a pattern on a device or if I need to stream the speeds from my own code to the API in order to get that effect.

Thanks in advance!