I think you can work around it very easily by stopping down the lens and using filters.
But I’m sure if the phone has direct connection to the device and not working through hubs it’s not anywhere near 1s of delay.
As for how dependent it is on that specific type of hardware (Shelly plugs), it is 100% dependent as the app directly controls the smart plug (with the help of the router ofc). There is no way around it, no other smart switch family is currently supported.
Note also that some of the best printers used metronomes to count exposure time and turn the enlarger light on and off manually.
If you did, I would go in the custom firmware for the smart switch direction. A lot of them are just an ESP32 inside, and you could probably get to 0.001 seconds that way (but you are switching AC which cycles on the order of 0.02 seconds, so whatever)