The sensor systems in modern cars have a very complex algorithm to convert the temperature reading from the sensor into an accurate reading of outside ambiant temperature (OAT)
OAT calculations for some cars are ridiculously complex due to the positioning of the sensor - the first Nissan Terrano had the sensor inside the spare wheel mount on the rear door, and warmed aior from the exhaust caused the calculation to be inaccurate at high speeds. The sensor was then moved to the drivers' door mirror, needing a new algorithm!
Most cars now have the sensor mounted in front of the radiator which requires a wind chill algorithm only. Any simple temperature sensor mounted on the bike will be far from accurate because of air flow, wind chill etc.
Better to get a home weather station!