Skip to content

User guide RF2

Florian edited this page Jun 19, 2018 · 9 revisions

Level of complexity: middle

RF2 gateway enables to send command to RF devices with the KAKU protocol. DIO chacon devices are an example. It uses the same pinout as the RF gateway and both gateways can be used on the same setup.

Receiving RF codes with the KAKU protocol is not compatible with ZgatewayRF , so as to get the code of your remotes you should comment ZgatewayRF in user_config.h. Transmitting can be done with both ZgatewayRF and ZgatewayRF2

Once you get the infos publish the parameters with mqtt like that for off:

sudo mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoRF2/CODE_8233243/UNIT_0/PERIOD_272 -m 0

for on:

sudo mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoRF2/CODE_8233243/UNIT_0/PERIOD_272 -m 1

You can specify different parameters in the subject:

  • CODE_ this is the code of your devices
  • PERIOD_ pulselength of your devices signal
  • UNIT_ unit number (example plug switch number)
  • The payload 1 or 0 correspond respectively to ON and OFF signal
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.