Migraine and cluster headache are among the most disabling headache conditions in humans. Both conditions have different phases such as the prodromal/premonitory phase, the aura phase, the headache phase and the postdromal phase. This pilot study examines the potential of wearable sensors combined with machine learning algorithms to investigate the biological changes over time in both conditions. Behaviour such as movement, sleep and activity will be monitored. Stress levels will be estimated through the wearable data combined with input from the patients. Participants will use a wearable device around the wrist and self-developed headache application for 21 days.