You'd have to wire the lighting system into a controller of some sort, most easily an Arduino or Raspbery Pi. It's probably not as difficult as it sounds, the lights themselves are a pretty simple and universal once you disconnect them from the car's wiring harness.