A fence planter installation is like a potted plant installation on its side.
The weight of the plant swinging from its hanger at the top back towards the device is enough to let the device sense the weight of the plant.
A way to locate the device on the wall needs to be found.  It could be attached to the planter, or attached to the wall - either way it will be pinched between the two.
The pictures below illustrate this.