How I did it.
Make the tradfry static in the router.
Go to the config of the tradfry gateway app.
Discover the ipadress.
Than enter the security code and press authentice.
After that I can add the lamps zones and plugs.
Oh one other thing if you reboot homey and your bulbs lamps etc is not reachable reboot the app once.