thronborg,

You might find the code examples in post #374 helpful. This dates back to August 2010 when I was first incorporating a pot into my system.

Ken