Closed hmmbob closed 1 year ago
That is indeed unexpected behaviour. Im having trouble to reproduce, do you perhaps know of a previous version that didnt have this problem?
No, i only installed the hardware last weekend so I've only ever used the current / latest version.
Edit: could it be a configuration thingie? I don't think I see all possible config items that I've seen on screen are listed in the JSON (I think to remember a 'switch' option?)
Could this be the problem?
I am using EnableAll instead of EnableOne (so that I can start charging, and my wife can stop charging with a different card). which is RFIDReader == 1
edit: Or, it might be here - also only checking for mode 2:
Yes I think you found the bug! Interesting because I think this code was untouched, so that would mean the original code has it too. But I think you misunderstand the settings; from the code: EnableAll: All learned cards accepted for locking/unlocking EnableOne: Only the card that unlocks, can relock the EVSE.
So I think everybody uses EnableOne.
But I still think its a bug, its on my list, keep this issue open, bit busy nowadays.
Yes I think you found the bug! Interesting because I think this code was untouched, so that would mean the original code has it too.
Ha, nice bug found then 🤣
But I think you misunderstand the settings; from the code: EnableAll: All learned cards accepted for locking/unlocking EnableOne: Only the card that unlocks, can relock the EVSE.
No, that is exactly the use case I wanted to have! Any of the learned cards can unlock the evse, and also any of them can lock it again regardless of the previous card used. That's very comfortable at home when you have 2 different key(chains) (i.e. myself and my wife) with a small token attached to it (in our case: Vattenfall charge tokens, both having a different ID).
But I still think its a bug, its on my list, keep this issue open, bit busy nowadays.
No worries. I'll happily test whenever you're ready for it. I'll be out for Pentecost (Pinksteren) anyways as well, so any testing from my side would be after that anyways 😉
rfid-enableall.zip @hmmbob Could you test this version (extensively, since I cannot test this fully myself)?
I'll try this weekend!
Thanks!
@hmmbob Any progress on testing this?
Nope, I forgot. Thanks for reminding me!
I'm using a fixed cable and a RFID reader to lock my charger - at least I thought so. Yesterday I've scanned one of the learned tags to enable the charging point and charged my car. Today I removed the cable from the car (as soon as you unlock the doors, the car also unlocks the cable and you can just pull it out) which the EVSE detected properly ("Not Connected").
Upon return, I plugged in the cable and without scanning a RFID tag the EVSE started charging again. This was unexpected, I assumed removing the cable would lock the EVSE and would have expected to need to swipe the RFID tag again to "unlock" the EVSE before loading could commence.
raw_data
: