A well-built mattress/smart bed with built-in heating and cooling system with preset options that can be adjusted at will. An integrative sleep tracking app provides a variety of metrics including HR, mattress temperature, sleep/wake ratio, REM/SWS/light sleep phases, respiratory rate, and nocturnal movement.