Andreas/issue020 thr warn pots and transmitter fix merged

Ready for merge to next branch, should be easy...