Attach a bend sensor and a cloudBit to your cat door, and record his comings and goings in a Google spreadsheet.
This Trigger fires every time your cloudBit receives an input signal from another littleBits module.
This action will add a single row to the bottom of the first worksheet of a spreadsheet you specify. Note: a new spreadsheet is created after 2000 rows.