zaptec icon indicating copy to clipboard operation
zaptec copied to clipboard

Feature request : Identify which rfid tag is used to start a session

Open Lheriss opened this issue 6 months ago • 5 comments

Hi, As asked, I create a new issue / feature request I would like to have a way to identify which rfid tag is used to start a session. I have configured three of them, and would like to be able to detect how much energy is used with each of them... Many thanks !

Lheriss avatar Jul 17 '25 13:07 Lheriss

@steinmn anything we should include into v0.8? If you want to help out, this is a candidate. I believe there is an attribute that contains the authorized user (rfid-tag), possibly from the session data. It should be simple enough to put that forward into an entity,

sveinse avatar Jul 21 '25 20:07 sveinse

There is a ChargerCurrentUserUuid-state (722) that might be useful, or the chargehistory-api definitely has the information except we don't use that.

Considering I've never used my rfid-tags and don't even know where they are anymore, I can't really test/investigate this one properly.

I think maybe we have enough for v0.8 atm, unless someone else wants to take a crack at this.

steinmn avatar Jul 21 '25 21:07 steinmn

Thanks for looking at it. If there is no immediate burning desires for getting it included, then I agree. Let's wait after v0.8 is out. We have enough

sveinse avatar Jul 22 '25 00:07 sveinse

@Lheriss While waiting for the implementation of this feature, it could be valuable to know that all data-points from Zaptec is available a s attributes in the "Conneted" object of the charger and the integration. It can be accessed via a blueprint: https://github.com/custom-components/zaptec?tab=readme-ov-file#templates

sveinse avatar Aug 02 '25 10:08 sveinse

The NFC is available in attribute charger_currrent_user_uuid. If the charging was authenticated by NFC it will read nfc-xxxxxxxxxxxxxx where x is the NFC ID which has been added to the user account. If using the "Authorize charging" it will be ble-xxxxxxxx-bbbb-cccc-dddd-000000000000

sveinse avatar Aug 03 '25 22:08 sveinse