Topological photonic crystals (TPCs) are considered excellent optical sensor platform due to the robustness of light propagation, immunity to interference, and ease of integration. This paper theoretically proposes a topological valley photonic crystal (VPC) sensor based on second-order corner states and, to our knowledge, realizes for the first time topologically protected dual-parameter detection for refractive index (RI) and temperature. Two highly localized opological corner states (TCSs) are generated by splicing two types of VPCs with bro...