I like the holder design of Aeonfly www.prusaprinters.org/social/52370 and remodeled it to use it as a holder for my Silvercrest bluetooth speaker.
The holder can be used on shower rails with a diameter of 20-25 mm. It is assembled with two M3 square nuts and M3 cylinder screws in the appropriate length for your shower rail.
The author remixed this model.