The problem in your case is that the device isn’t discovered and therefore the driver isn’t loaded/started. Someone needs to access the hub logs to see why.
Wait until tomorrow.
The problem in your case is that the device isn’t discovered and therefore the driver isn’t loaded/started. Someone needs to access the hub logs to see why.
Wait until tomorrow.
Still showing no data. The history page has no information on it.
2024-10-20T21:57:49.622872394Z TRACE Aqara Presence Sensor Received event with handler capability
2024-10-20T21:57:50.156935269Z TRACE Aqara Presence Sensor Received event with handler capability
2024-10-20T21:57:56.555460311Z TRACE Aqara Presence Sensor Received event with handler capability
2024-10-20T21:58:29.759900773Z WARN Aqara Presence Sensor device_manager.is_valid_connection : failed to connect to device, dni = 54:EF:44:5B:E4:1F, err= wantread, status= nil
2024-10-20T21:58:29.761195398Z WARN Aqara Presence Sensor device_manager.is_valid_connection : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
2024-10-20T21:58:29.762459565Z WARN Aqara Presence Sensor refresh : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
2024-10-20T21:58:29.763340815Z INFO Aqara Presence Sensor <Device: c65c84af-d3f6-417a-b4a2-ddb3a80c0154 (Aqara-FP2)> emitting event: {"attribute_id":"movement","capability_id":"movementSensor","component_id":"main","state":{"value":"inactive"}}
2024-10-20T21:58:29.780450148Z DEBUG Aqara Presence Sensor Aqara-FP2 device thread event handled
2024-10-20T21:58:29.781435607Z INFO Aqara Presence Sensor <Device: c65c84af-d3f6-417a-b4a2-ddb3a80c0154 (Aqara-FP2)> received command: {"args":{},"capability":"refresh","command":"refresh","component":"main","positional_args":{}}
2024-10-20T21:58:29.783103690Z TRACE Aqara Presence Sensor Found CapabilityCommandDispatcher handler in aqara-fp2
2024-10-20T21:58:29.784041023Z WARN Aqara Presence Sensor device_manager.is_valid_connection : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
2024-10-20T21:58:29.787814023Z INFO Aqara Presence Sensor discovery_mdns.find_device_ips
2024-10-20T21:58:31.059894899Z INFO Aqara Presence Sensor found_name = _Aqara-FP2._tcp
2024-10-20T21:58:31.064062440Z INFO Aqara Presence Sensor ip = 192.168.86.52
2024-10-20T21:58:31.067758899Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating TCP socket for REST Connection
2024-10-20T21:58:31.073088774Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Setting TCP socket timeout for REST Connection
2024-10-20T21:58:31.074058732Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Connecting TCP socket for REST Connection
2024-10-20T21:58:31.177088899Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Set Keepalive for TCP socket for REST Connection
2024-10-20T21:58:31.180866024Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating SSL wrapper for for REST Connection
2024-10-20T21:58:31.404568482Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Performing SSL handshake for for REST Connection
2024-10-20T21:58:33.884847816Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Successfully created TCP connection
Login here:
https://my.smartthings.com/advanced
Are there more than one FP2s here?
https://my.smartthings.com/advanced/devices
Are more than one Aqara drivers installed (select hub → drivers)?
https://my.smartthings.com/advanced/hubs
If not, reboot the hub:
Only 1 fp2. There were 2 drivers. I deleted the nonSamsung one. Rebooted the hub. Still no history.
Okay…
From your logs:
2024-10-20T19:46:00.408245886Z WARN Aqara Presence Sensor device_manager.is_valid_connection : failed to connect to device, dni = 54:EF:44:5B:E4:1F, err= wantread, status= nil
2024-10-20T19:46:00.409563053Z WARN Aqara Presence Sensor device_manager.is_valid_connection : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
2024-10-20T19:46:00.410567303Z WARN Aqara Presence Sensor device_manager.update_status : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
2024-10-20T19:46:00.411408803Z DEBUG Aqara Presence Sensor Aqara-FP2 device thread event handled
2024-10-20T19:48:53.822420449Z WARN Aqara Presence Sensor device_manager.is_valid_connection : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
This doesn’t look good:
device_manager.is_valid_connection : failed to find conn_info, dni = 54:EF:44:5B:E4:1F
Just a week ago, changes were made to the driver that should fix exactly this, but your driver is from two weeks ago.
I’ll look into this tomorrow.
(And WARN is a bit of an understatement here, more like an ERROR.)
Is anyone else having issues adding the FP2 sensor to ST where their ST hub is embedded into their TV (or other appliance)?.
Hopefully this issue is easily fixed as I am currently unable to use this device in my home automations, perhaps an option can be introduced to add the device using its ip address or MAC address?
For what it is worth I created a python script to find all mdns services connected to my LAN, I can see a specific entry for _aqara-fp2._tcp.local. which I assume means the sensor and LAN are working normally but the ST hub is just not processing the mdns packets.
I have come across a similar thread where mdns stopped working for another user here, this could be a common issue?
Some recent changes were made to the driver itself that address the issue other users experience: pretty much a timing issue, retrying until the device/firmware is ready to answer requests. I expect that the driver will be updated this week.
In your case, the driver isn’t even loaded/started, because the mdns discovery doesn’t seem to work (on TV hubs).
But I repeat myself.
@nayelyz ?
God damn
Do you have the beta driver installed? If not, do that.
Delete device, install beta driver, add device.
This is probably your version:
2024-10-10T18:17:34.467176782
This is the beta version:
2024-10-21T19:30:17.712081085
(You don’t have to delete the device in the Aqara Home app.)
How do I install driver beta
Sorry…
Click here:
https://api.smartthings.com/invitation-web/accept?id=450930c1-02a6-43d8-adaa-4cbc51027956
Login, Accept, enroll, available drivers, Aqara FP2 driver at the end of the list, install.
Do not “switch driver” in the ST app. You really have to delete and add the device again.
Now to get it connected last time I struggled
What did you do this time? Step by step?
I deleted the device from ST, installed the driver, confirmed I was on the beta driver, attempted to add device to ST, attempted to add device to ST, deleted from aqara app and held button for 10 seconds, added to aqara app, attempted to add device to ST, attempted to add device to ST, no luck.
Let me try to replicate it…
2024-10-21T23:51:54.783999232Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-21T23:51:55.015037607Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-21T23:51:56.204171357Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-21T23:51:56.539704149Z INFO Aqara Presence Sensor discovery_mdns.find_device_ips
2024-10-21T23:51:57.602021982Z INFO Aqara Presence Sensor found_name = _Aqara-FP2._tcp
2024-10-21T23:51:57.611928524Z INFO Aqara Presence Sensor ip = 192.168.86.52
2024-10-21T23:51:57.613201024Z TRACE Aqara Presence Sensor unknown dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-21T23:51:57.615388440Z TRACE Aqara Presence Sensor try_add_device : dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-21T23:51:57.618264982Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating TCP socket for REST Connection
2024-10-21T23:51:57.623758899Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Setting TCP socket timeout for REST Connection
2024-10-21T23:51:57.624785149Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Connecting TCP socket for REST Connection
2024-10-21T23:51:57.661789732Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Set Keepalive for TCP socket for REST Connection
2024-10-21T23:51:57.666390399Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating SSL wrapper for for REST Connection
2024-10-21T23:51:57.882506024Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Performing SSL handshake for for REST Connection
2024-10-21T23:51:58.217162940Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-21T23:51:58.290129232Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-21T23:53:46.121338154Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-fp2
default_handlers:
init:
driverSwitched:
removed:
infoChanged:
added:
child_dispatchers:
2024-10-21T23:53:46.170961487Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Capability handlers:
CapabilityCommandDispatcher: aqara-fp2
default_handlers:
refresh:
refresh
multipleZonePresence:
updateZoneName
deleteZone
createZone
child_dispatchers:
2024-10-21T23:53:46.173002362Z INFO Aqara Presence Sensor Created dispatcher [SecretDataDispatcher]aqara-fp2 that had no handlers
2024-10-21T23:53:46.175531445Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Secret Data handlers:
SecretDataDispatcher: aqara-fp2
default_handlers:
child_dispatchers:
2024-10-21T23:53:46.202963695Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-21T23:53:46.291553487Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-21T23:53:46.292598445Z INFO Aqara Presence Sensor received driver startupState: {"hub_zigbee_id":"KG2XAAIKmWM=","hub_node_id":1,"hub_ipv4":"192.168.86.39"}
2024-10-21T23:53:46.304923154Z INFO Aqara Presence Sensor discovery_mdns.find_device_ips
2024-10-21T23:53:47.780158904Z INFO Aqara Presence Sensor found_name = _Aqara-FP2._tcp
2024-10-21T23:53:47.781219487Z INFO Aqara Presence Sensor ip = 192.168.86.52
2024-10-21T23:53:47.782156654Z TRACE Aqara Presence Sensor unknown dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-21T23:53:47.782981237Z TRACE Aqara Presence Sensor try_add_device : dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-21T23:53:47.787666821Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating TCP socket for REST Connection
2024-10-21T23:53:47.808053987Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Setting TCP socket timeout for REST Connection
2024-10-21T23:53:47.810176904Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Connecting TCP socket for REST Connection
2024-10-21T23:53:47.903822821Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Set Keepalive for TCP socket for REST Connection
2024-10-21T23:53:47.908454821Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating SSL wrapper for for REST Connection
2024-10-21T23:53:48.150304529Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Performing SSL handshake for for REST Connection
2024-10-21T23:53:51.527934279Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Successfully created TCP connection
2024-10-21T23:56:47.848972530Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-21T23:56:47.866158410Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-21T23:57:04.791527701Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-fp2
default_handlers:
added:
driverSwitched:
infoChanged:
init:
removed:
child_dispatchers:
2024-10-21T23:57:04.795363826Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Capability handlers:
CapabilityCommandDispatcher: aqara-fp2
default_handlers:
multipleZonePresence:
createZone
deleteZone
updateZoneName
refresh:
refresh
child_dispatchers:
2024-10-21T23:57:04.800712416Z INFO Aqara Presence Sensor Created dispatcher [SecretDataDispatcher]aqara-fp2 that had no handlers
2024-10-21T23:57:04.803259231Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Secret Data handlers:
SecretDataDispatcher: aqara-fp2
default_handlers:
child_dispatchers:
2024-10-21T23:57:04.825536113Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-21T23:57:04.885988241Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-21T23:57:04.899013834Z INFO Aqara Presence Sensor received driver startupState: {"hub_zigbee_id":"KG2XAAIKmWM=","hub_node_id":1,"hub_ipv4":"192.168.86.39"}
2024-10-21T23:57:04.910724103Z INFO Aqara Presence Sensor discovery_mdns.find_device_ips
2024-10-21T23:57:06.640157387Z INFO Aqara Presence Sensor found_name = _Aqara-FP2._tcp
2024-10-21T23:57:06.641214958Z INFO Aqara Presence Sensor ip = 192.168.86.52
2024-10-21T23:57:06.642709455Z TRACE Aqara Presence Sensor unknown dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-21T23:57:06.643609446Z TRACE Aqara Presence Sensor try_add_device : dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-21T23:57:06.652398338Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating TCP socket for REST Connection
2024-10-21T23:57:06.663573756Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Setting TCP socket timeout for REST Connection
2024-10-21T23:57:06.667160424Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Connecting TCP socket for REST Connection
2024-10-21T23:57:06.858751630Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Set Keepalive for TCP socket for REST Connection
2024-10-21T23:57:06.862651746Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating SSL wrapper for for REST Connection
2024-10-21T23:57:07.067032677Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Performing SSL handshake for for REST Connection
2024-10-21T23:57:09.519739126Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Successfully created TCP connection
2024-10-22T00:00:07.315674668Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-22T00:00:07.324884543Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-22T00:03:23.101346302Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-fp2
default_handlers:
added:
removed:
infoChanged:
driverSwitched:
init:
child_dispatchers:
2024-10-22T00:03:23.103881844Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Capability handlers:
CapabilityCommandDispatcher: aqara-fp2
default_handlers:
refresh:
refresh
multipleZonePresence:
createZone
deleteZone
updateZoneName
child_dispatchers:
2024-10-22T00:03:23.105900094Z INFO Aqara Presence Sensor Created dispatcher [SecretDataDispatcher]aqara-fp2 that had no handlers
2024-10-22T00:03:23.194276011Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Secret Data handlers:
SecretDataDispatcher: aqara-fp2
default_handlers:
child_dispatchers:
2024-10-22T00:03:23.210035219Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-22T00:03:23.227100761Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-22T00:03:23.231024969Z INFO Aqara Presence Sensor received driver startupState: {"hub_zigbee_id":"KG2XAAIKmWM=","hub_node_id":1,"hub_ipv4":"192.168.86.39"}
2024-10-22T00:03:23.242793802Z INFO Aqara Presence Sensor discovery_mdns.find_device_ips
2024-10-22T00:03:24.680642511Z INFO Aqara Presence Sensor found_name = _Aqara-FP2._tcp
2024-10-22T00:03:24.681700344Z INFO Aqara Presence Sensor ip = 192.168.86.52
2024-10-22T00:03:24.682624136Z TRACE Aqara Presence Sensor unknown dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-22T00:03:24.683589677Z TRACE Aqara Presence Sensor try_add_device : dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-22T00:03:24.684462636Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating TCP socket for REST Connection
2024-10-22T00:03:24.701110386Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Setting TCP socket timeout for REST Connection
2024-10-22T00:03:24.703039052Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Connecting TCP socket for REST Connection
2024-10-22T00:03:24.955426844Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Set Keepalive for TCP socket for REST Connection
2024-10-22T00:03:24.960019719Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating SSL wrapper for for REST Connection
2024-10-22T00:03:25.171637302Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Performing SSL handshake for for REST Connection
2024-10-22T00:03:29.067949803Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Successfully created TCP connection
2024-10-22T00:06:25.105443403Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-22T00:06:25.116110612Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-22T00:06:36.812372780Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with lifecycle handlers:
DeviceLifecycleDispatcher: aqara-fp2
default_handlers:
driverSwitched:
infoChanged:
removed:
added:
init:
child_dispatchers:
2024-10-22T00:06:36.814880821Z 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-22T00:06:36.816883655Z INFO Aqara Presence Sensor Created dispatcher [SecretDataDispatcher]aqara-fp2 that had no handlers
2024-10-22T00:06:36.819505613Z TRACE Aqara Presence Sensor Setup driver aqara-fp2 with Secret Data handlers:
SecretDataDispatcher: aqara-fp2
default_handlers:
child_dispatchers:
2024-10-22T00:06:36.882230613Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-22T00:06:36.886287863Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
2024-10-22T00:06:36.973570155Z INFO Aqara Presence Sensor received driver startupState: {"hub_zigbee_id":"KG2XAAIKmWM=","hub_node_id":1,"hub_ipv4":"192.168.86.39"}
2024-10-22T00:06:36.991691863Z INFO Aqara Presence Sensor discovery_mdns.find_device_ips
2024-10-22T00:06:38.634315155Z INFO Aqara Presence Sensor found_name = _Aqara-FP2._tcp
2024-10-22T00:06:38.635481030Z INFO Aqara Presence Sensor ip = 192.168.86.52
2024-10-22T00:06:38.636443947Z TRACE Aqara Presence Sensor unknown dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-22T00:06:38.637310863Z TRACE Aqara Presence Sensor try_add_device : dni= 54:EF:44:5B:E4:1F, ip= 192.168.86.52
2024-10-22T00:06:38.638149988Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating TCP socket for REST Connection
2024-10-22T00:06:38.663027447Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Setting TCP socket timeout for REST Connection
2024-10-22T00:06:38.663924738Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Connecting TCP socket for REST Connection
2024-10-22T00:06:38.723801447Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Set Keepalive for TCP socket for REST Connection
2024-10-22T00:06:38.729499155Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Creating SSL wrapper for for REST Connection
2024-10-22T00:06:38.945587863Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Performing SSL handshake for for REST Connection
2024-10-22T00:06:41.612355697Z INFO Aqara Presence Sensor 54:EF:44:5B:E4:1F Successfully created TCP connection
2024-10-22T00:09:38.942267705Z TRACE Aqara Presence Sensor Received event with handler discovery
2024-10-22T00:09:39.131824061Z TRACE Aqara Presence Sensor Received event with handler driver_lifecycle
Doesn’t even request a token anymore…
I’m checking.
Can you please add
```
before and after your logs?
Like:
```
Log
Log
Log
```
Thanks!