A simple Python library for controlling a Lutron RadioRA 2 system with a Main Repeater.
You can get the code from https://github.com/thecynic/pylutron
import pylutron
rra2 = pylutron.Lutron("192.168.0.x", "lutron", "integration")
rra2.load_xml_db()
rra2.connect()
This code is released under the MIT license.