WiFi scale server
  1. Interaction Interfaces Between V2.0/V3.0 Devices and the Server
WiFi scale server
  • Interaction Interfaces Between V2.0/V3.0 Devices and the Server
    • Device Registration and Network Configuration
      POST
    • Device Configuration Sync
      GET
    • Get Update Firmware Version Information
      POST
    • Upload Smart Scale Data
      POST
    • Batch Upload Smart Scale Data
      POST
    • Get Update Firmware Version Information-v2.0
      POST
  • Interaction Interfaces Between Torre Devices and the Server
    • Device Registration and Network Configuration
      POST
    • Device Configuration Sync
      POST
    • Get Update Firmware Version Information
      POST
    • Upload Smart Scale Data
      POST
  1. Interaction Interfaces Between V2.0/V3.0 Devices and the Server

Device Configuration Sync

GET
/lefu/wifi/config

Request

Query Params
sn
string 
optional
Device serial number
Example:
S101LF8080100001
mac
string 
optional
MAC address
Example:
24:6F:28:39:BA:9D
type
string 
optional
Product model
WifiVersion
string 
optional
Changed to lowercase for consistency
WiFi version number
firmwareVersion
string 
optional
Firmware version number
Example:
1.0.0
charge
string 
optional
Battery level
Example:
0.25
timezone
integer 
optional
Time zone

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/lefu/wifi/config?sn=S101LF8080100001&mac=24:6F:28:39:BA:9D&type&WifiVersion&firmwareVersion=1.0.0&charge=0.25&timezone'

Responses

🟢200OK
application/json
Body
data
object 
optional
nowTime
integer 
optional
now
integer 
optional
unit
integer 
optional
errorCode
integer 
optional
o=success,1=fail
text
string 
optional
The firmware on the device has been successfully written; this parameter is for compatibility with existing devices.
Examples
{
    "data": {
        "now": 1730369814315,
        "unit": 1
    },
    "errorCode": 0,
    "text": "Get config info success"
}
Previous
Device Registration and Network Configuration
Next
Get Update Firmware Version Information
Built with