eufy_security icon indicating copy to clipboard operation
eufy_security copied to clipboard

Support for SmartTrack Link

Open viks77 opened this issue 1 year ago • 17 comments

It would be really cool if you added support for SmartTrack Link devices to your integration. Eufy SmartTrack Link is similar to Apple's AirTag and works seamlessly with the Apple's Find My app. If necessary, I can share the device with you.

Debug (device):

properties: name: viks model: T87B0 serialNumber: T87B0P00232421AC hardwareVersion: 1.0.0 softwareVersion: 1.5.6 type: 157 stationSerialNumber: T87B0P00232421AC

Debug (station):

properties:
name: viks model: T87B0 serialNumber: T87B0P00232421AC type: 157 hardwareVersion: 1.0.0 softwareVersion: 1.5.6

viks77 avatar Aug 24 '23 06:08 viks77

please work with bropat through eufy-security-client to add support for new devices

fuatakgun avatar Aug 26 '23 08:08 fuatakgun

I've shared my device with him. There is something coming in the next version. https://github.com/bropat/eufy-security-client/issues/385

hvorragend avatar Oct 14 '23 13:10 hvorragend

Bropat has released v2.9.0 a few minutes ago. https://github.com/bropat/eufy-security-client/releases/tag/2.9.0

It would be awesome if you could implement the new features in your integration.

hvorragend avatar Nov 04 '23 17:11 hvorragend

I dont know what new features we are expected to have, bropat will release a new version of add-on but you need to inform me for additional things you are expected to have out of this.

fuatakgun avatar Nov 04 '23 17:11 fuatakgun

First of all, it would be really great if you had a device tracker for your devices. Along with the GPS coordinates.

  • locationCoordinates
  • locationAddress
  • locationLastUpdate
  • trackerType

Another entity with the battery level would be nice.

Perhaps in the next development stage there will be two button entities that carry out the functions "findPhone" and "leftBehindAlarm". I just don't know if this works at all, as these usually have to be carried out via Bluetooth from the cell phone.

I will try as best as I can to support you.

hvorragend avatar Nov 06 '23 20:11 hvorragend

Did you try latest version of integration and add-on? Do you see any devices created inside home assistant for the tracker?

At last resort, can you share the tracker with me?

fuatakgun avatar Nov 06 '23 20:11 fuatakgun

I am using your integration in the latest version v7.7.2.

And bropat's add-on "eufy-security-ws" v1.7.1.

I also had great hope that new devices might be created on their own. This is unfortunately not the case.

I will share my devices with you.

hvorragend avatar Nov 06 '23 20:11 hvorragend

@fuatakgun Did you receive my share invitation?

hvorragend avatar Nov 07 '23 21:11 hvorragend

Yeah, received, hopefully will look at it this week.

I was reviewing your discussion with bropat to understand what exact things are done in add-on side.

fuatakgun avatar Nov 07 '23 21:11 fuatakgun

please follow here: https://github.com/bropat/eufy-security-client/issues/399

fuatakgun avatar Nov 09 '23 12:11 fuatakgun

I rely on add-on to understand device capabilities and create/prepare respective sensors based on add-on's response for each device.

Add-on does not tell me about these attributes locationCoordinates and locationLastUpdate on the first connection so integration does not create respective sensors. But after a while later, these properties can be seen (probably fetched in background).

We have similar cases in different devices and these properties were available for these devices, I am expecting the same for tracker devices. Even though value is not defined yet, the property should be visible on get_properties_metadata response.

fuatakgun avatar Nov 13 '23 08:11 fuatakgun

Is this due to technical reasons by Eufy and cannot be solved in any other way? Or can bropat change something here? You haven't committed it yet. Can I already see what it will look like?

hvorragend avatar Nov 14 '23 20:11 hvorragend

you can see my question to bropat 3 messages up right? I am actually asking this to bropat. I cannot commit it with current state because I need all the information up front and asking bropat to support it. I will create a device_tracker entities with GPS coordinates for each device and battery sensor (already exists) The rest of the functioanlity goes through bluetooth through mobile app, so they will not exist here.

fuatakgun avatar Nov 14 '23 20:11 fuatakgun

@hvorragend please share your device with me, we are good to go from eufy-security-client end

fuatakgun avatar Mar 06 '24 10:03 fuatakgun

Done directly. I'm already looking forward to it. :-)

hvorragend avatar Mar 06 '24 10:03 hvorragend

Do you still need my share?

hvorragend avatar Apr 28 '24 18:04 hvorragend