Module connected to canbus and to controlled device