Github Devices Community Docs Blog

So, what is (PiLight on a Sonoff RF Gateway)

Hi there!

I’m trying to send data by MQTT to convert it on RF signal. As a good user, I’m reading the User guide PiLight 09

Today might not be my brightest day my I don’t seem to grasp what my systemcode is. It’s probably well documented somewhere but I haven’t been able to find it.

This is what I get when pushing my remote:

rf433gw/OpenMQTTGateway_SRFB/PilighttoMQTT {"message":{"id":11018,"unit":15,"state":"on"},"protocol":"arctech_switch","length":"11018","repeats":2,"status":2}
rf433gw/OpenMQTTGateway_SRFB/PilighttoMQTT {"message":{"id":11018,"unit":15,"state":"up"},"protocol":"arctech_screen","length":"11018","repeats":2,"status":2}
rf433gw/OpenMQTTGateway_SRFB/PilighttoMQTT {"message":{"id":11018,"unit":15,"state":"on"},"protocol":"arctech_dimmer","length":"11018","repeats":2,"status":2}
rf433gw/OpenMQTTGateway_SRFB/PilighttoMQTT {"message":{"id":11018,"unit":15,"state":"opened"},"protocol":"arctech_contact","length":"11018","repeats":2,"status":2}

I’d like to find out how to send that data by MQTT to convert it on RF signal. I can’t think straight today. What would my mosquitto_pub command look like?

Thanks in advance!

Cheers!