Skip to content

Commit 17841c3

Browse files
authored
FIRMWARE mqtt description edits
1 parent 1ff6bad commit 17841c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

FIRMWARE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ This section describes the various commands that can be sent to the OpenEEW firm
123123
124124
### ALARM
125125
126-
Tell the firmware to make the device blink the LEDs and bleep a warning of an impending earthquake.
126+
Tell the firmware to make the device blink the LEDs and bleep a warning of an impending earthquake.
127127
- "true" : Blink the LEDs the color RED / bleep warning
128128
- "test" : Blink the LEDs the color ORANGE / bleep warning
129129
- "false" : Stop an in-progress Alarm - turn off the LEDs and sound
@@ -236,7 +236,7 @@ mosquitto_pub -h 192.168.1.101 -t iot-2/cmd/10secondhistory/fmt/json -m {} -i cm
236236
mosquitto_pub -h OrgID.messaging.internetofthings.ibmcloud.com -p 8883 --cafile messaging.pem -u $WIOTP_APIKEY -P $WIOTP_TOKEN -i "a:OrgID:mosquitto" -t iot-2/type/OpenEEW/id/A8032A4DD5F0/cmd/10secondhistory/fmt/json -m {}
237237
```
238238

239-
#### RESTART
239+
### RESTART
240240

241241
Use this MQTT topic to force a restart on a device that has lost its mind.
242242

@@ -259,13 +259,13 @@ mosquitto_pub -h 192.168.1.101 -t iot-2/cmd/threshold/fmt/json -m {ThresholdOver
259259
mosquitto_pub -h OrgID.messaging.internetofthings.ibmcloud.com -p 8883 --cafile messaging.pem -u $WIOTP_APIKEY -P $WIOTP_TOKEN -i a:OrgID:mosquitto -t iot-2/type/OpenEEW/id/A8032A4DD5F0/cmd/threshold/fmt/json -m {ThresholdOverride:10.2}
260260
```
261261

262-
#### FACTORY RESET
262+
### FACTORY RESET
263263

264-
The OpenEEW dashboard allows you to "Remove your sensor from the OpenEEW network" button. It promises that your sensor will no longer contribute data.
264+
The OpenEEW dashboard allows you to "Remove your sensor from the OpenEEW network". It promises that your sensor will no longer contribute data.
265265
This MQTT topic does a "reset to factory defaults". It remove all WiFi SSID / password from NVM ram and then restarts the device. The device restarts into SmartConfig Provisioning mode. Once the device is in SmartConfig Provisioning mode, the mobile app can be used to connect it to a different WiFi network and register it again (potentially under a different email address / user)
266266

267267
```sh
268-
mosquitto_pub -h 192.168.1.101 -t iot-2/cmd/factoryreset/fmt/json -m {} -i cmd:restart
268+
mosquitto_pub -h 192.168.1.101 -t iot-2/cmd/factoryreset/fmt/json -m {} -i cmd:factory
269269

270270
mosquitto_pub -h OrgID.messaging.internetofthings.ibmcloud.com -p 8883 --cafile messaging.pem -u $WIOTP_APIKEY -P $WIOTP_TOKEN -i "a:OrgID:mosquitto" -t iot-2/type/OpenEEW/id/A8032A4DD5F0/cmd/factoryreset/fmt/json -m {}
271271
```

0 commit comments

Comments
 (0)