Directrly connecting your RFXCOM usb dongle to a MQTT broker. This script will post recived events to the MQTT broker and also let you control lighting2 devices such as NEXA switches and dimmers.
Requires:
https://github.com/woudt/pyRFXtrx
and
sudo apt-get install mosquitto-clients python-mosquitto