I have a gas fireplace that is controlled via a RF transmitter/receiver that operates at 303.8MHZ. According to the manual, each remote has a unique code (1 out of 1,048,576) that is set at the factory. The receiver can learn up to two remotes. I want to be able to control the fireplace using a Raspberry Pi with an RF transmitter.
I was thinking I might be able to create my own remote with the Pi (I haven't the foggiest on how to do that), but then I thought wouldn't it be easier if I could use the Pi to "learn" the on/off commands from the original remote and then I wouldn't have to bother with having to "create" a 2nd transmitter and then having to pair it with the receiver.
Besides the Pi, I would need a RF transmitter doohickey along with a RF receiver (for learning the original remote's codes). Do you think this would work? Any suggestions on where I could learn how to clone the codes and then send them out from the Pi? The manual doesn't tell me much about the security involved. I don't think it uses rolling codes like a garage remote, because the pairing process is different.
BTW, there is no power source where the receiver is located. It is battery operated.
ETA: I want to use the Pi to control the fireplace using Amazon Echo, or some home automation tool. So I'm not interested in having a physical remote.
I guess what I'm looking for is a learning remote that also learns/sends RF (303.8Mhz) commands and can be controlled from a Raspberry Pi. Is there such a product?