If you edit the title, then you can change the section of this forum. I think it should be in the "Displays" section, unless it is just a question about map().
The Nextion Arduino library has many shortcomings. That is why there are so many alternatives, which also have shortcomings. The best option is to start here:
Then you have to find an example for a Gauge.
Perhaps it is something like this:
int t = 80;
Serial.print("z0.val=");
Serial.print(t);
Serial.print("\xFF\xFF\xFF");
Which values needs to be mapped to which values ?
The DallasTemperature library returns a floating point number, you can cast that to a integer and then use the map().