Authorization · Video 8 of 19
OCPP Authorize explained: the four answers a tapped RFID card can get
Read an OCPP Authorize answer and find its cause: Accepted, Blocked, Expired or Invalid, and why ConcurrentTx only answers StartTransaction.
In this video
Which tag setting is behind each, and where the refusals show up in a charger log.
Chapters
Transcript
Authorize. Learn the answers a tapped card can get, and where Powerfill shows them. A resident taps a card at the garage charger, and nothing happens. To help, you need to know what the central system answered, and why. When a card is tapped, the charger sends Authorize with the card's idTag. The central system looks the tag up and answers with idTagInfo. Its status is one of four words.
Only one of them lets the car charge. Accepted: the tag is known and allowed. The charger goes on to StartTransaction. Blocked: the tag is known, but it may not charge. Here, the resident moved out, so the card was blocked. Expired: the tag had an end date, and that date has passed. This card belonged to a contractor, and it was valid until the job ended. Invalid: the central system does not know this tag at all.
A visitor tapped a card that was never registered. One more status, ConcurrentTx, means the tag is already in another transaction, and it may not run two at once. It is not an answer to Authorize. Here, the tap itself is Accepted. The refusal comes in the answer to StartTransaction, when the transaction tries to begin. A charger set to stop on a refused start ends that transaction at once, with the reason DeAuthorized.
The usual cause is an old transaction that never stopped, and still holds the tag. This is how Powerfill shows the answers. In the sidebar, open Developers. Open Logs: the messages your chargers sent, line by line. Under More filters, open Auth result.
This list holds only refusals. Accepted is left out, because it is the normal case. Pick all four. ConcurrentTx is written here as Already charging.
Click Done. Only the refused lines are left. Each line names the charger, the tag and the answer. This one is the visitor's unknown card. The Already charging line answers StartTransaction, and it carries the transaction number. Open Tags. The tag answers show up here too. Tags answered Invalid are collected under Unknown. If a card should work, click Add, and give the new tag access to a location.
Close the list. Expired keeps only the tags whose end date has passed. Here is the contractor's card. A new expiry date makes it work again. Blocked keeps the blocked tags. Open the resident's card. In Powerfill, a blocked tag is a tag whose Max Transactions is zero. The same number says how many transactions the tag may run at once. When a tag has that many open, the next start gets ConcurrentTx.
So look for the transaction still open. A known tag without access to that charger's location is refused too. You can now read an authorization answer and find its cause. Blocked and Expired are tag settings. Invalid is an unknown tag. ConcurrentTx is a transaction still open.