A man is publicly thanking those who saved his life after he collapsed inside his own home and nearly died.