Rf receive only (#701)

* Disable RF transmit

* Added definition example (commented out)

Co-authored-by: Jonathan Michael Wells <jonathan-wells@oist.jp>
This commit is contained in:
JonandJonathan Michael Wells authored and GitHub committed 2020-07-19 06:29:49 -05:00
1 parent 6e9b170c00
commit 40152d6a02
3 files changed
+11

No files matched your search

+6
View File
@@ -15,6 +15,12 @@ Generate your RF signals by pressing a remote button or other and you should see
`home/OpenMQTTGateway/433toMQTT {"value":1315156,"protocol":1,"length":24,"delay":317}`
### Disabling Transmit function to safe a PIN
To disable transmit functions to allow the use of another pin, add the following to the config_rf.h file :
`#define RF_DISABLE_TRANSMIT`
### Send data by MQTT to convert it on RF signal
`mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTto433" -m '{"value":1315156}'`