X-Git-Url: http://git.rot13.org/?p=zc;a=blobdiff_plain;f=docs%2Ffactory-reset.txt;fp=docs%2Ffactory-reset.txt;h=fb3de960fd2d1d766f55a99c235decbb40e938af;hp=0000000000000000000000000000000000000000;hb=30f459b208bca6af7494ef275dd73dac039f4c8f;hpb=0ae9a56cf69115d6997a2ae4a44569a67eabf483 diff --git a/docs/factory-reset.txt b/docs/factory-reset.txt new file mode 100644 index 0000000..fb3de96 --- /dev/null +++ b/docs/factory-reset.txt @@ -0,0 +1,33 @@ +To reset power to sernsor, disconnect battery for 40s to drain all capacitors +(count from 20 to 60 to produce 40s timeout) + +Pressing S6 button can be done only when sensor is active (after plugging in battery +for example) + +start server on mqtt.zc‐ssensor.com + +dpavlin@subvision:~/zc$ ./mqtt-zc-sensor.sh + +Prepare new mqtt server: + +./zc-send queue/864823042076992 mqtt +./zc-send queue/864823042076992 interval 300 + +factory reset will also reset interval to 86400 seconds + + + + +4. Reset Factorry Default Settting + +When the product is working abnormally, user can use button S6 to reset the default +parameters. + +Press and hold the buttton S6 for 3 seconds, you will see the sensor red and green lights (D3, D4 LED) +flash synchronously at 4Hz frequency, then D3, D4 keep light on at the same time. + +Release the button S6 now and wait for about 3 seconds, the device will reboot and the parameters +will be reestored to their default state. + +The senssor server IP with CTIOT protocol is restoreed to 117.60.157.137, 568 83. +For sensor of MQTT prrotocol, the proxy server IP willl be restored to mqtt.zc‐ssensor.com, 1883.