To set up your Rilheva MQTT peripheral, follow these steps:
1) Insert a SIM card (enabled for data transmission service) of any Italian operator in the appropriate unpowered instrument housing. The SIM must have the PIN code disabled. Once the SIM is inserted screw the antenna to the SMA connector and position it vertically.
2) Power the 12-24VAC/VDC device. Wait for the GSM LED to flash before moving to step 3.
3) Send a configuration SMS to the device (at the SIM number) as follows:
<IMEI> networkSetConfig <apn>
[IMEI] is indicated on the device
[apn] depending on the chosen operator it can be:
TIM → IBOX.TIM.IT
VODAFONE → WEB.OMNITEL.IT or mobile.vodafone.it
WIND → INTERNET.IT
An example of its use is:
123456789012345 networkSetConfig web.omnitel.it
4) Wait for a reply SMS from the device containing the reply: “Ok”.
5) If the data is correct, the device begins the connection procedure to the Rilheva server by highlighting the connection phases with the flashing light of the following LEDs:
- L1 hardware initialization phase of the device
- L2 registration to the GSM network
- L3 Internet access performed
- L4 mqtt connection activated
- L5 mqtt authentication completed
The current phase is represented by the relevant flashing LED (e.g. Flashing L4 = MQTT connection in progress). Upon completion of the phase, the LED becomes fixed and the one for the next phase flashes. When all 5 LEDs are turned on the device is successfully connected to the Rilheva server.
In addition, the following reports are present:
- L6 modbus peripheral error (turned on if at least one modbus peripheral is in error)
- L7 modbus activity (turned on when waiting for a response from a peripheral)
- L8 wait status response to commands sent to the server
- MQTT powered on when connected and properly authenticated on MQTT broker
- GSM NET connected to GSM network if flashing, fixed if searching network.
Was this helpful?
0 / 0