zwiebert / tronferno-mcu

Control and program Fernotron receivers by micro-controller. (ESP32, 2011-2022)
GNU General Public License v3.0
21 stars 2 forks source link

Feature request: alternative 433 MHz rf remote as sender #9

Open niceborn opened 1 year ago

niceborn commented 1 year ago

Hello,

thank you very much for your nice software.

I have now a setup, where I use tronferno with an additional ESP32 OpenMQTTGateway (esp32dev-rf).

With this <10€ hardware remote

image https://scimagic.com.cn/products-item/15-buttons-rf-wireless-remote-control-long-range-1000m/

I'm able to remote control a group with 4 motors independent and as a group

Right now the pressed key is send to my iobroker MQTT and with a blocky script the key value (e.g. 5889119) is translated to the topic and message (rollo/13/cmd up), which is send back to the tronferno ESP32 by MQTT again. This works really great and quick.

But you need an iobroker installation and network between. More complexity leads to more faults.

Better would be if the translation could be done internally in the tronferno-mcu. If tronferno could read out the simple codes and display them and with a page for all receivers you could simply add the values for up, down and stop, like the repeater function but with translate.

What do you think?

BR Michael

zwiebert commented 1 year ago

Hello Michael,

thanks for the suggestion, but at the moment I don't plan to implement that.

The RF receiver code is written and optimized to receive Fernotron commands only.

I had planned something like you suggested before the MQTT client was added, but it would have worked for these Intertechno brand of transmitters only, that I have lying around here unused.

RF formats are different between brands. Back then I had to provide the timings to make Fernotron work with SIGNALduino, and there were all these other files with different timings for different brands.

I guess it would be not too difficult to implement it for one or two brands, but I much prefer your solution using MQTT. I would not expect it to be unreliable.

-Bert

niceborn commented 1 year ago

Hello Bert,

Thank you for your response. I know, it's not easy with all this Brands and cheap remotes. I just tested the OpenMQTTGateway solution, which uses the RCSwitch library for this purpose and my switches, e.g. for plugs and this 15 keys one, where all found and it worked. I use a FS1000A as hardware receiver modul and in tronferno a cc1101 v2.

Again, thank you for your great solution!

BR Michael