RTS2 is project to create an open source environment for control of a fully autonomous observatory. It is running about dozen fully autonomous observatories. Its modular design allow easily addition of new devices (to already huge supported HW list).
UfakPython is a small subset of Python programming language, for small embedded devices, like PICs. UfakPython sources are translated to C by UfakPython Compiler. Small Device C Compiler can then compile the C outputs to the target device's codes.