When the EGR is on the ECM is looking for a 10* rise in intake air temp. I used a relay and used the EGR solenoid voltage to pick it up. Using a scanner I tried different resistance using pots to adj. Found about 8k set temp to around 75* and 6k about 65*. Disconnected the IAT and ran wires to resistors to the IAT pig tail. Used a Radio shack relay and by playing with the values I got rid of the check engine lite. Used NC connection for cooler temp and the contacts hot when picked up to get the 10* IAT temp rise.
The best way is to get A Federal, non egr ECM and swap yours out. I did this to get rid of the trans gov pressure code after getting DTT trans. Contrary to what has been said, you do not need to get the ECM reflashed. I did the swap and have had no issues or those Calif EGR or other codes.