The $599 Dekoda clamps over the rim like a toilet bowl cleaner, pointing an optical sensor at your excretions and secretions.