Portisch / RF-Bridge-EFM8BB1

Alternative Firmware for the Sonoff RF Bridge EFM8BB1 chip
293 stars 124 forks source link

New protocol for DIO Chacon RF 433Mhz #95

Closed mgenrique closed 5 years ago

mgenrique commented 5 years ago

I edited de RF_Protocols.h for add a new protocol for the DIO Chacon RF: http://www.leroymerlin.es/fp/15632071/pack-mando-a-distancia-y-3-enchufes-di-o-

This values works for me: /*

.....

if EFM8BB1_SUPPORT_DIO_PROTOCOL == 1

    /*
     * DIO CHACON
     */
    {
        { &PROTOCOL_BUCKETS(DIO_emg), ARRAY_LENGTH(PROTOCOL_BUCKETS(DIO_emg)) },
        { &PROTOCOL_START(DIO_emg), ARRAY_LENGTH(PROTOCOL_START(DIO_emg)) },
        { &PROTOCOL_BIT0(DIO_emg), ARRAY_LENGTH(PROTOCOL_BIT0(DIO_emg)) },
        { &PROTOCOL_BIT1(DIO_emg), ARRAY_LENGTH(PROTOCOL_BIT1(DIO_emg)) },
        { &PROTOCOL_END(DIO_emg), ARRAY_LENGTH(PROTOCOL_END(DIO_emg)) },
        32
    }

endif

I dont know how to do a Pull Request. Can someone do it for me?