This is 98% of what your want, already done for you. Just change the RS-232 commands to match your old lighting system and you’ll be there. I did not write it, but I helped the guy who did with getting started on the Arduino/ThingShield code. He made the Arduino code very simple - just a passthrough device between ST and the RS-232 shield. Note: You’ll want to use an Arduino MEGA 2560 along with my “SmartThings” ThingShield library (which is needed to support the extra HW UARTs on the MEGA 2560 for serial comms.)