Add new protocol dimmer1

Add the protocol dimmer1
i dont know how i implement the test function.