MQTT master node details and topic distribution FCC ID: 2AUJP-SWIT40WN This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. 1. MQTT server details 1. Host name: hub.swittons.com 2. Username: swittonsdevice 3. Password: swttonsprescriber360 2. Topic details for edge device 1. Publisher: swittons/
2. Subscriber: swittons/DEVICE_ID (where DEVICE_ID is mac address for WiFi, IMEI number for GSM) Light up RED LED in a blinking pattern for 2 times. (on-off, on-off) with a delay of Light up GREEN LED in a blinking pattern for 3 times. (on-off, on-off) with a delay 3. Edge device behaviour for topics vs messages The edge device should execute certain actions if a specific message is received on the topic mentioned in point (2.2). Message: ERR Action:
200 ms between on and offs Message: OK Action:
of 200 ms between on and offs 4. Edge device message description for orders The edge device should send a message to the following topic when connected to the MQTT broker Topic:
Message: {device_id: DEVICE_ID,button:01}
Description: 01 can be 01,02,03 or 04 depending on the button pressed. DEVICE_ID is mac address for WiFi, IMEI number for GSM The edge device should send a message along with button press information to the following topic Topic:
Message: {device_id: DEVICE_ID,button:01}
Description: 01 can be 01,02,03 or 04 depending on the button pressed. DEVICE_ID is mac address for WiFi, IMEI number for GSM Note: The client ID for the edge device should be unique and in no way similar to one another. The message format as mentioned in point 4 should always be a valid JSON STRING. swittons/device swittons/order