First of all, what a `kin mess.
Right. looks like red/Black is power. Yellow blue is circuit.
Green white was tamper but not even fitted. The yellow is indeed a link to the tamper terminals.
either way then i can use the both green / white or just use as the yellow as show all being well i try in the next few days when i get back thanks again