You need to have your main switch be checking "message". Your inverter button doesn't work when you do this probably because you are confused into how to process button messages. Look at this thread . I explained button messages there.