Add new protocol dimmer1

Add the protocol dimmer1
i dont know how i implement the test function.
The pulse length are not sorted. Could you please sort them and adopt the pulses?