A smoke alarm beeping thrice without smoke might indicate faulty wiring. Examine your wiring for any damages or exposed wires. If found, seek assistance from an electrician to rectify the wiring issues.
Refer to this link for more information on dealing with faulty wiring in smoke alarms.