I also suggest you ask your question in your native lang section… Having a hard time making out what your needing help with. Sorry.
Same layer as your pfsense? Do you understand the difference between layer 2 and 3?
If you can not put your controller on the same layer 2 as your AP, then use Layer 3 adoption
https://help.ubnt.com/hc/en-us/articles/204909754-UniFi-Device-Adoption-Methods-for-Remote-UniFi-Controllers
UniFi - Device Adoption Methods for Remote UniFi Controllers
If you create a different networkf or your wifi - you have to create rules on this new network you create in pfsense.