This is a remix of the original model by @PaulPhillips that I found to put an Orbit B-Hyve timer on a wall or a fence (https://www.printables.com/model/506863-b-hyve-dx-4-smart-hose-timer-mounting-bracket)
I am amazed that this thing was manufactured without any consideration of where it would be placed, as it seems to be a long-term use device. The original model I found solved the problem for me, but I thought about it and played around with the design to simplify it a little.
In this version, the top portion has a tab which slides behind the main body, and is held together by the screws affixing the unit to the fence, and the hose that goes through the top hole. That's all it does!
The author remixed this model.
This remix does not require that the pieces be screwed together. The top part has a tab that slides behind the main body and can be secured by screwing the whole unit to the wall/fence.