Hello my name is Mark.
Essentially you are going to need a new thermostat. Here is the code description and the set conditions.
P1281-ENGINE IS COLD TOO LONG
When Monitored: The ignition key on, engine running.
Set Condition: The engine does not warm to 176 deg. F while driving for 20 minutes after start.