rpi2caster.py - working routine for sending signals to the caster!