In my alternate (futuristic) home automation world I would be running #forth on an #fpga (or a #greenarrays GA144) to control RS-485 hardwired (off the shelf) Modbus sensors and actuators (or perhaps even allowing for some BACnet stuff). All code by me or easily understood open source with no hidden dependencies or abstractions.
Yeah, old and antiquated. But proven, durable and works.