Inclusion Criteria:  (1) participants are between 20 and 70 years old; (2) participants must meet the DSM-5 diagnostic criteria for insomnia and have been diagnosed for more than three months; (3) participants must be willing to sign an informed consent form; (4) participants who took sleep aiding pills must cooperate not to change any medication and dosage during the study.  Exclusion Criteria:  (1) participants using pacemakers or cardiac monitors; (2) participants with severe physical illness or after surgery, such as heart disease, metabolic diseases, or cancer; (3) participants with severe mental disorders, such as schizophrenia, severe major depression, severe anxiety, bipolar disorder, dementia, substance use disorder; or severe neurological diseases such as a seizure, stroke or Parkinson's disease; (4) participants with other serious sleep disorders, such as severe sleep obstructive apnea, severe periodic limb movement syndrome or narcolepsy; (5) participants who are unable to attend regular follow-up evaluations; (6) participants who are unable to keep good sleep hygiene and cannot stop using electronic products before going to bed.