Yes, it was used. I did think it was a tracker but it has no markings or identification on it so was unsure. I wondered if anyone has come across anything similarI assume you bought the bike used, correct? Surely you’ve discovered someone’s aftermarket tracker?
Not that I've noticed but might be worth checking out. I must admit it seemed a strange place to connect a tracker, if that's what it is, but they may have just looked for a convenient place in the loom. I'm led to believe some of the other bikes in the range don't like non triumph bits adding in, but the Bonneville range doesn't have some some of the more fancy electronics so may be ok.The fact that it's connected into the rear lights/indicators makes me think it might be a brake light modulator. Do your brake lights flash when you apply them?
here is a couple of better photos, it appears to be metal constructionIt's a square end profile to that with tiny cross heads holding the end plates on, might be worth taking a better picture of it