openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601, BL602 and LN882H
https://openbekeniot.github.io/webapp/devicesList.html
1.45k stars 269 forks source link

Is RfSend command supported? #921

Open anistor opened 1 year ago

anistor commented 1 year ago

I'm looking for functionality similar to or identical (compatible) with RfSend from Tasmota (see https://tasmota.github.io/docs/Commands/#rf-transceiver)

I'm mostly interested in being able to send short RF messages to emulate an RF remote. Receiving is not important to me atm.

I've already noticed there is support for IRsend but could not find anything for RFSend so was wondering.

Thanks!

openshwprojects commented 1 year ago

I don\t have any RF devices yet, so not, but it's planned. It should be easy to get that working, if needed. Would you like to help?

anistor commented 1 year ago

I do not have any rf device either. I have a universal tuya IR remote S06 like this one: https://www.elektroda.com/rtvforum/topic3961676.html

I opened it and found there's enough room in the case so, I'm planning to modify it by adding a 433Mhz rf tx module like this one: https://components101.com/modules/433-mhz-rf-transmitter-module

Unfortunatelly the space is not enough to also add a receiver module, but I personally would not need one because I was able to receive and decode my remotes I'm planning to use with the help of an rtl-sdr dongle and the rtl_433 tool, so I know the codes. So all I need is support for RfSend command via REST and Mqtt.

I think I could try to take the existing IR driver and rip out the IR related parts and then try to stuff in the rc-switch arduino library to add support for sending RF codes. Or is there a better way to start a new driver from scratch?

But I'm really low on available time, so not sure when I can complete this grand plan :) I'll surely make a PR when I have it.

maalouf commented 1 year ago

Hello, i am also interested in porting RC-switch to the openBk app project. can you point me however to some useful information that can help. thank you

k1llerk3ks commented 10 months ago

hey @openshwprojects I don't have experience with this project besides flashing, but i have an Avatto S11 S11-SH4-CBU-V2.4 (https://www.elektroda.com/rtvforum/topic3983995.html) with RF and IR and very happy to help (and learn new stuff :+1: ). and besides that item i have an rf receiver on a microcontroller, power plugs that listen to 433 and a remote control for it (something like: https://www.amazon.de/-/en/Brennenstuhl-Comfort-Wireless-Hand-Held-Transmitter/dp/B001AX8QUM) I think those are widely used and might be a good start for implementing RF into OpenBeken?