add optionnal parameter for type of peripherical in notification creation