Skip to content

Search the documentation

Kit
Firmware

RFIDReader

Smart Home

Reads the number of a card or tag held close to it. The reader powers the card with radio waves and the card answers with its number.

The RFIDReader class is reached through this attribute of home.

Can be None.

All the attributes of home are in its table. Read Attributes that can be None to see when a part is None.

The number of the card held close to the reader, as hex text such as "3906f6945d", or None when there is none.

read_card() -> Optional[str]

Used in examples: Doorbell

True when a card or tag is held close to the reader.

is_card_present() -> bool