xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
2.99k stars 636 forks source link

Support RF KAKU protocol used by DIO chacon devices #2187

Open schmurtzm opened 4 years ago

schmurtzm commented 4 years ago

Is your feature request related to a problem? Please describe. I recently buy DIO RF plugs, these are not supported by espruna due to a new RF 433 protocol : KAKU.

Describe the solution you'd like An update of the RF protocols supported. Including pilight seems to be a fast way to do it as 1technophile did it before.

Describe alternatives you've considered

OpenMQTTGateway supports this RF protocol, he speak about it here. It can be a solution but I use espruna since a long time and I'm satisfied by the stability and functionalities.

Additional context alt text

mcspr commented 4 years ago

Does it work with the ZgatewayRF or ZgatewayPilight option in the openmqttgateway? RCSwitch implementation there looks extended with quite a lot of new protocols

schmurtzm commented 4 years ago

Yes I’ve tried with ZgatewayPilight and it works (not with ZgatewayRF). But I’m disappointed by the speed of the Pilight implementation in openmqttgateway : it takes about 2 seconds between the reception and the mqtt message.

The few RFlink sources also exposes a lot of protocols, there is an esp conversion available on github with few protocols (which includes KAKU) : it can be a way too.

mcspr commented 4 years ago

Will probably try with pilight option first. Rflink seems like too much manual work involved :)

schmurtzm commented 4 years ago

Yes, you're probably right, there's a ESPilight library and a an implementation of this library in MQTT433gateway from the same author so it can helps .... ;)

Just for information, in my investigations I also found a source of RFlink-ESP by couin3 that keep compatibility with the original RFlink plugins. The code is more segmented and easy to handle. It's probably less handful than ESPilight library but still interesting thanks to this compatibility with RFlink plugins. This French topic talk about these RFlink conversion to ESP8266.

Speaking about these modified RFlink sources for ESP, I remark a detail in the first source of RFlink-ESP by Stef-aap that I particularly like : he said in the readme : "Protocols are more generic, so you need less protocols". And it's really true : with a true RFlink (based on arduino mega 2560) my 433mhz devices are detected as EV1527 , TriState, Eurodomest or AB400D. With RFlink-ESP by Stef-aap all my stuff are detected as EV1527 : it is easier in the source code and easier to make it work with a lot of devices !

Best regards.