gemu2015 / Sonoff-Tasmota

Tasmota Fork TCS34725,PN532_i2,ccc1101 Moritz support,m5stack 4,7 epaper, hotplug drivers
GNU General Public License v3.0
24 stars 19 forks source link

How to connect CC1101 to ESP (Wemos) #25

Open iz3man opened 3 years ago

iz3man commented 3 years ago

I looked for any docs of this fork, but couldn't find any. Maybe I'm totally wrong here. I was looking for a way to control a 868Mhz radio device. Ideally with tasmota and the CC1101 I have laying around here. Is there a connection diagram somewhere how to do it, and how to configure the ESP to make this work? Thanks!!

gemu2015 commented 3 years ago

@iz3man most of my fork is transferred to Tasmota so you may find the docs there. the cc1101 moritz driver is nearly ready but it is meant for special LORA Devices named MAX (EQ3 Systems) I will no longer support this because EQ3 did put the MAX system to end of life. There are many different LORA systems on the market that all differ in the actual protocol used. You may look into the moritz driver as a template how to adapt such a system to the CC1101 chip (SPI: MOSI,MISO,SCLK,CS ) in Tasmota there is also another driver using CC1101 (Jarolift Keeloq shutter) currently not other devices are ported in Tasmota.

you may find hints in the sources of Rudolf Koenig (culfw) who supports a range of 868Mhz devices with his driver. i also took the moritz routines from there.

iz3man commented 3 years ago

@gemu2015 Thanks a lot for your long answer. Being not able to code stuff, I may have to look somewhere else. ;)

TheChatty commented 3 years ago

I'd also like a CC1101 driver in Tasmota. I suggest to implement it like SML does with ModBus (so also similar to culfw): It would then offer a device descriptor and several device commands. Also it would offer to just dump received packets to enable someone to create his own descriptor/commands set. Btw, I've got a 433 Mhz transceiver, so please leave it configurable ;-)

gemu2015 commented 3 years ago

i definitely will do no more development with cc1101. the only LORA devices which i would be interested (Homematic) have proprietary encrypted protocols which can not be used here. When i have to replace my EQ3 devices i will choose Zigbee replacements. Tasmota now supports all kinds of Zigbee devices Tasmota also supports RF transmitters and receivers for some protocols