LUA Scripting for Engine Temperature

Hi there, I'm currently working on a locomotive with clearly visible shutters, and I'm looking to script engine temperature, and a certain temp that would trigger an animation for the shutters to open. How do I go about doing this? I've got in contact with Oovee who has done this on their Class 57s, but I don't expect rapid response quite yet.