Aqara FP2 Tested with SmartThings?

I am having trouble getting it connected. When I go to install the driver it wont let me.

You don’t have to install the driver. It’s already installed on your hub (since about two weeks).

Try this:

If it still doesn’t work, you should delete the device in the Aqara Home app, add it again and then add it in ST.

I have my fp2 connected to wifi and my hub still asks me to “please connect the presence sensor fp2 to the network by using the aqara hub app” I have tried holding the button and reconnecting it to the wifi 3 times already.

Can you see it in the Aqara Home app?

yes i can see it

Delete it in the app. Do not reset the device. Does the LED flash rapidly?

Is it the Chinese version? If so, Aqara support has confirmed that that version does not work with most third-party integrations, unfortunately including SmartThings. :cold_sweat:

i got mine from amazon i live in the USA

OK, then that’s not the issue. :thinking:

yes it does flash yellow

Client seperaten/isolation (de)activated on your WiFi router? Really the same network, not a guest network?

I use google mesh. i even turned off all the points but the main to see if that would work.

I’m going to bed soon…

Do this (the SmartThings CLI part):

Thanks for the help dont make me keep you up. I tired that but didnt have luck.

With the output of the SmartThings CLI we could check if the driver is installed and if the discovery works…

It should look like this:

When you start the scan in the ST app, it should create a log that looks like this (scroll down, Successfully created TCP connection):

2024-10-01T07:53:16.628461921Z TRACE Aqara Presence Sensor  Setup driver aqara-fp2 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-fp2
  default_handlers:
    removed:
    init:
    driverSwitched:
    infoChanged:
    added:
  child_dispatchers:

2024-10-01T07:53:16.634018296Z TRACE Aqara Presence Sensor  Setup driver aqara-fp2 with Capability handlers:
CapabilityCommandDispatcher: aqara-fp2
  default_handlers:
    refresh:
      refresh
    multipleZonePresence:
      createZone
      updateZoneName
      deleteZone
  child_dispatchers:

2024-10-01T07:53:16.673406671Z INFO Aqara Presence Sensor  Created dispatcher [SecretDataDispatcher]aqara-fp2 that had no handlers
2024-10-01T07:53:16.680166171Z TRACE Aqara Presence Sensor  Setup driver aqara-fp2 with Secret Data handlers:
SecretDataDispatcher: aqara-fp2
  default_handlers:
  child_dispatchers:

2024-10-01T07:53:16.688160505Z TRACE Aqara Presence Sensor  Received event with handler driver_lifecycle
2024-10-01T07:53:16.693856213Z INFO Aqara Presence Sensor  received driver startupState: {"hub_zigbee_id":"KG2XAAILh00=","hub_node_id":1,"hub_ipv4":"192.168.1.116"}
2024-10-01T07:53:16.754670546Z TRACE Aqara Presence Sensor  Received event with handler discovery
2024-10-01T07:53:16.765714171Z INFO Aqara Presence Sensor  discovery_mdns.find_device_ips
2024-10-01T07:53:17.474704588Z INFO Aqara Presence Sensor  found_name = _Aqara-FP2._tcp
2024-10-01T07:53:17.482858755Z INFO Aqara Presence Sensor  ip = 192.168.1.121
2024-10-01T07:53:17.494244838Z INFO Aqara Presence Sensor  found_name = _Aqara-FP2._tcp
2024-10-01T07:53:17.501554505Z INFO Aqara Presence Sensor  found_name = _Aqara-FP2._tcp
2024-10-01T07:53:17.506068671Z INFO Aqara Presence Sensor  ip = 192.168.1.121
2024-10-01T07:53:17.510552588Z TRACE Aqara Presence Sensor  unknown dni= 54:EF:44:5C:4C:98, ip= 192.168.1.121
2024-10-01T07:53:17.515177046Z TRACE Aqara Presence Sensor  try_add_device : dni= 54:EF:44:5C:4C:98, ip= 192.168.1.121
2024-10-01T07:53:17.519963588Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Creating TCP socket for REST Connection
2024-10-01T07:53:17.524763088Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Setting TCP socket timeout for REST Connection
2024-10-01T07:53:17.529265213Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Connecting TCP socket for REST Connection
2024-10-01T07:53:17.576603380Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Set Keepalive for TCP socket for REST Connection
2024-10-01T07:53:17.748174755Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Creating SSL wrapper for for REST Connection
2024-10-01T07:53:17.765533505Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Performing SSL handshake for for REST Connection
2024-10-01T07:53:20.441035088Z INFO Aqara Presence Sensor  54:EF:44:5C:4C:98 Successfully created TCP connection

Deleted for privacy

Cool!

That’s a good sign!

Now you really have to make sure to delete the device from the Aqara Home app.

Power cycle the FP3 but don’t reset it!

Add it back to the Aqara Home app.

If you can see it there, add it in ST.

This is why it’s necessary (from your logs):

2024-10-16T00:31:22.645333300Z ERROR Aqara Presence Sensor get_credential : ip = 192.168.86.52, failed to get token, error = wantread
2024-10-16T00:31:22.648093263Z WARN Aqara Presence Sensor credential is nil

I had the same issue:

I did all of this and the same thing keeps happening(same error messages). I will be going to sleep. Thanks so much for all of the help.

We’ll solve this tomorrow.

Guess I have to re-open these issues…

Got mine working last night when i saw the fp2 update.

  1. Make sure no reference to it in SmartThings. I ran through app and advanced web to be safe
  2. 15 secone button cycle on FP2
  3. While FP2 light is blinking detect with aqara app
  4. Add fp2 specific device in SmartThings.

If anyone needs help still let me know.