HomeyDuino pairing/connection issues

Hi, have a Arduino MKR WiFi 1010 and I’m trying to connect it to the HomeyDuino app. I have created a very simple sample app where I set up WiFi with the WIFININA library. I have prooven to connect with WIFI, because I have an IP and I can see the device in the devices list on my router.

Then I do a Homey.begin(“xxx”); and also a Homey.loop(); in the loop-method. And when I try to discover it in the Homey, it can not find it. I have also tried to put in the IP adress manually, but it refuses to connect.

Did anyone have this issue and know how to solve it?

Thanks in advance

You need to define one ore more capabilities, better try some example.sketches to see how it works.