Implement automatic sleep mode disable for NL43/NL53 during config updates and measurements
This commit is contained in:
10
docs/API.md
10
docs/API.md
@@ -48,6 +48,8 @@ Update device configuration.
|
||||
}
|
||||
```
|
||||
|
||||
**Important:** When TCP is enabled and connection details are provided, sleep mode will be automatically disabled on the device. This is necessary because sleep/eco mode turns off TCP communications, which would prevent remote monitoring and control.
|
||||
|
||||
## Device Status
|
||||
|
||||
### Get Cached Status
|
||||
@@ -96,6 +98,8 @@ POST /{unit_id}/start
|
||||
```
|
||||
Starts measurement on the device.
|
||||
|
||||
**Important:** Before starting the measurement, sleep mode is automatically disabled to ensure TCP communications remain active throughout the measurement session.
|
||||
|
||||
### Stop Measurement
|
||||
```
|
||||
POST /{unit_id}/stop
|
||||
@@ -445,6 +449,12 @@ Enables Sleep Mode on the device. When enabled, the device will automatically en
|
||||
|
||||
**Note:** This is a SETTING, not a command to sleep immediately. Sleep Mode only applies when using Timer Auto measurements.
|
||||
|
||||
**Warning:** Sleep/eco mode turns off TCP communications, which will prevent remote monitoring and control. For this reason, SLMM automatically disables sleep mode when:
|
||||
- Device configuration is created or updated with TCP enabled
|
||||
- Measurements are started
|
||||
|
||||
If you need to enable sleep mode for battery conservation, be aware that TCP connectivity will be lost until the device is physically accessed or wakes for a scheduled measurement.
|
||||
|
||||
### Wake Device
|
||||
```
|
||||
POST /{unit_id}/wake
|
||||
|
||||
Reference in New Issue
Block a user