Developer DocumentationDeveloper Documentation
Home
Document
  • 简体中文
  • English
Log in Register
Home
Document
  • 简体中文
  • English
  • Document

    • Overview
    • Equipment type
    • Status code
    • Q&A

Equipment type

Aromatherapy machine S-AC-WB-AD-090-9

1. Get real-time data

Request address: https://dev.iot.svavo.cn/api/Device/Aromatherapy/LatestData

Request method: GET

Request Parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "dayOfWeek": 0,//Day of the week
      "alarmSound": 0,//Alarm sound 0 Off 1 On (parameters sent)
      "reset": 0, //Reset 0 Hold 1 Execute (parameters sent)
      "sprayTest": 0, //Test spray 0 Hold 1 Execute (parameters sent)
      "sprayCount": 0, // Cumulative number of sprays
      "shellStatus": 0, // Shell status 0 Close cover 1 Open cover
      "remain": 0, // Remaining amount 0 0% 1 >0% 2 >30% 3 >60% 4 >90%
      "workStatus": 0, // Working status 0 Disable 1 Run (parameters sent)
      "sprayMode": 0, // Spray mode 0 induction 1 timing (parameters sent)
      "weekPlans": [// Weekly plan can be set up to 56 groups (parameters sent)
        {
          "isEnabled": true,//Is it enabled?
          "planOrder": 0,//Plan sorting
          "sprayDurationOfOnce": 0, // Duration of each spraying Seconds (parameters sent)
          "spraySpan": 0, // Spraying interval Minutes (parameters sent)
          "startTime": 0, // Start time Format: 07:50 is 0750 or 750 (parameters sent)
          "endTime": 0, // End time Format: 23:59 is 2359 (parameters sent)
          "autoSprayDate": 0// Automatic spray date Use 7 digits to indicate the occupancy from Monday to Sunday, such as 1111111 for every day, 1100000 for Monday and Tuesday, 0000011 or 11 for Saturday and Sunday (parameters sent)
        }
      ]
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/Aromatherapy/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send is successful
    "deviceId": 0, //Device ID
    "reset": 0,
    "sprayTest": 0,
    "alarmSound": 0,
    "workStatus": 0,
    "sprayMode": 0,
    "sprayDurationOfOnce": 0,
    "spraySpan": 0,
    "weekPlans": [
      {
        "startTime": 0,
        "endTime": 0,
        "autoSprayDate": 0
      }
    ]
  },
  "accessId": "string", //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Every 1 minuteDetect battery voltageLow battery for the first time
Action triggerevery timePower onRead all status parameters of the device
every timeOpen/Close lidThe device status has changed
every timeSet the duration/concentration of a single sprayFunction parameters have changed
every timeSet the spray interval timeFunction parameters have changed
every timeSet the automatic fragrance spray modeFunction settings have changed
every timeSet up an automatic spray scheduleFunction parameters have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Bluetooth APP test sprayStatistics have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Induction FragranceStatistics have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Automatic fragrance sprayStatistics have changed
every timeTurn on/off sound promptFunction settings have changed
Status triggerevery timeWhen the fragrance is finished, the remaining amount is automatically detectedThe margin has changed

Aromatherapy machine S-AC-WB-ZM-090-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/Aromatherapy/ZM/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "dayOfWeek": 0,//Day of the week
      "alarmSound": 0,//Alarm sound 0 off 1 on (parameters sent)
      "reset": 0, //Reset 0 hold 1 execute (parameters sent)
      "sprayTest": 0, //Test spray 0 hold 1 execute A 2 execute B (parameters sent)
      "sprayCount": 0, // The cumulative number of sprays A
      "sprayCountB": 0, // The cumulative number of sprays B
      "BrightMode": 0, // Screen brightness mode 0 is light-sensitive automatic brightness 1 is custom brightness
      "BrightValue": 0, // Current brightness value
      "Tem": 0, // Ambient temperature
      "Hum": 0, // Ambient humidity 0-99%
      "remain": 0, // Remaining amount 1 is B lacking liquid 2 is A lacking liquid 3 is neither lacking liquid 0 is both lacking liquid
      "workStatus": 0, // Working status 0 Disabled 1 Running (parameters sent)
      "sprayMode": 0, // Spraying mode 0 Sensing 1 Timing (parameters sent)
      "weekPlans": [// Weekly plan can be set up to 56 groups (parameters sent)
        {
          "isEnabled": true,//Is it enabled
          "planOrder": 0,//Planning order
          "sprayDurationOfOnce": 0, // Duration of each spraying Seconds (parameters sent)
          "spraySpan": 0, // Spraying interval Minutes (parameters sent)
          "atomizer": 0, // Atomizer 0 is atomizer position A (default), 1 is atomizer position B
          "startTime": 0, // Start time Format: 07:50 is 0750 or 750 (parameters sent)
          "endTime": 0, // End time Format: 23:59 is 2359 (parameters sent)
          "autoSprayDate": 0// Automatic spray date Use 7 digits to indicate the occupancy from Monday to Sunday, such as 1111111 for every day, 1100000 for Monday and Tuesday, 0000011 or 11 for Saturday and Sunday (parameters sent)
        }
      ]
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/Aromatherapy/ZM/SendSet

Request method: POST

Request data:

{
  "sendData": {
    "sendProcess": 0,
    "batchSyncRoomId": 0,
    "batchSyncSpaceId": 0,
    "deviceId": 0,
    "reset": 0,
    "sprayTest": 0,
    "alarmSound": 0,
    "workStatus": 0,
    "sprayMode": 0,
    "sprayDurationOfOnce": 0,
    "spraySpan": 0,
    "weekPlans": [
      {
        "isEnabled": true, //Is the plan enabled?
        "startTime": 0,
        "endTime": 0,
        "autoSprayDate": 0,
        "atomizer": 0
      }
    ],
    "oils": [
      {
        "isEnabled": true, //Is essential oil enabled?
        "oilName": "White Tea Fragrance" //Set the name of the essential oil
      }, //A atomization position
      {
        "isEnabled": true,
        "oilName": "oilName"
      } //B atomization position
    ]
  },
  "accessId": "string",
  "accessSecret": "string"
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

Tissue Box S-PS-WB-PD-016-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "useLength": 0, //Amount of paper used cm
      "useCount": 0, //Number of times used
      "useRoll": 0, //Number of rolls used
      "rollLength": 0, //Length of roll
      "hwProtocol": 0, //Hardware protocol (can be sent)
      "shellStatus": 0, //Shell status 0 Closed 1 Open
      "useMode": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "paperTest": 0, //Bluetooth test paper output (can be sent)
      "gearLength": 0, //Gear length 25cm 35cm 45cm (can be sent)
      "priority": 0, //Priority 0 Cloud 1 Device (can be sent)
      "remain": 0, //Remaining amount 0 No paper 1 Low paper 2 Paper
      "grantStatus": 0, //Authorization status 0 Closed 1 Open (can be sent)
      "applyGrant": 0, //Authorization application 0 Close 1 Apply
      "workStatus": 0, //Working status 0 Disable 1 Run (can be sent)
      "faultCode": 0, //Fault 0 No fault, 1 Cutter motor fault, 2 Roller motor fault, 3 Paper output detection fault 4 Paper jam fault
      "reset": 0 //Reset 0 Hold 1 Execute
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send is successful
    "deviceId": 0, //Device ID
    "rollLength": 0,
    "hwProtocol": 0,
    "useMode": 0,
    "paperTest": 0,
    "gearLength": 0,
    "priority": 0,
    "grantStatus": 0,
    "applyGrant": 0,
    "workStatus": 0,
    "remainThreshold": 0,
    "reset": 0
  },
  "accessId": "string", //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Action triggerevery timePower on the deviceRead all status parameters of the device
every timeOpen/Close lidThe device status has changed
every timeSet the paper output position/paper output lengthFunction parameters have changed
Every 5 timesBluetooth APP paper outputStatistics have changed
Every 5 timesInduction paperStatistics have changed
Status triggerevery timeAutomatically detect the remaining paper roll when paper ejection is completeThe remaining amount of paper roll has changed
every timeWhen paper output is completed, the paper break status is automatically detectedPaper breaks
every timeAutomatically detects failures when paper is ejected (finished)error occured
every timeWhen paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronouslyLow battery for the first time

Tissue Box S-PS-WB-PD-R16-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/Rfid/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "useLength": 0, //Amount of paper used cm
      "useCount": 0, //Number of times used
      "useRoll": 0, //Number of rolls used
      "rollLength": 0, //Length of roll
      "hwProtocol": 0, //Hardware protocol (can be sent)
      "shellStatus": 0, //Shell status 0 Closed 1 Open
      "useMode": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "paperTest": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "gearLength": 0, //Gear length 25cm 35cm 45cm (can be sent)
      "priority": 0, //Priority 0 Cloud 1 Device (can be sent)
      "remain": 0, //Remaining amount 0 No paper 1 Low paper 2 Paper
      "grantStatus": 0, //Authorization status 0 Closed 1 Open (can be sent)
      "applyGrant": 0, //Authorization application 0 Close 1 Apply
      "workStatus": 0, //Working status 0 Disable 1 Run (can be sent)
      "faultCode": 0, //Fault 0 No fault, 1 Cutter motor fault, 2 Roller motor fault, 3 Paper output detection fault 4 Paper jam fault
      "reset": 0, //Reset 0 Hold 1 Execute
      "rfid": "string" //rfid number
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/Rfid/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "rollLength": 0,
    "hwProtocol": 0,
    "useMode": 0,
    "paperTest": 0,
    "gearLength": 0,
    "priority": 0,
    "grantStatus": 0,
    "applyGrant": 0,
    "workStatus": 0,
    "remainThreshold": 0,
    "reset": 0
  },
  "accessId": "string", //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Action triggerevery timePower on the deviceRead all status parameters of the device
every timeOpen/Close lidThe device status has changed
every timeSet the paper output position/paper output lengthFunction parameters have changed
Every 5 timesBluetooth APP paper outputStatistics have changed
Every 5 timesInduction paperStatistics have changed
Status triggerevery timeAutomatically detect the remaining paper roll when paper ejection is completeThe remaining amount of paper roll has changed
every timeWhen paper output is completed, the paper break status is automatically detectedPaper breaks
every timeAutomatically detects failures when paper is ejected (finished)error occured
every timeWhen paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronouslyLow battery for the first time
every timeWhen the cover is closed, the electronic tag is automatically readA new electronic tag ID appears

Tissue Box S-PS-NB-PD-G16-9

Same asS-PS-WB-PD-R16-9。

Tissue Box S-PS-WB-ZM-063-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/ZM/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "useLength": 0, //Amount of paper used cm
      "useCount": 0, //Number of times used
      "useRoll": 0, //Number of rolls used
      "rollLength": 0, //Length of roll
      "hwProtocol": 0, //Hardware protocol (can be sent)
      "shellStatus": 0, //Shell status 0 Closed 1 Open
      "lockStatus": 1, //Lock status 0 Closed 1 Unlocked
      "useMode": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "paperTest": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "gearLength": 0, //Gear length 25cm 35cm 45cm (can be sent)
      "remain": 0, //Remaining amount 0 No paper 1 Low paper 2 Paper
      "alarmSound": 0,//Alarm sound 0 off 1 on (parameters sent)
      "workStatus": 0, //Working status 0 Disable 1 Run (can be sent)
      "faultCode": 0, //Fault 0 means no fault, bit0=1 means infrared paper feeding fault, bit1=1 means paper ejection micro switch fault, bit2=1 means roller motor fault, bit3=1 means paper break
      "rfid": "string", //rfid number
      "version": 17, //Firmware version number Actual version divided by 10 is version 1.7
      "beatSpan": 120, //Heartbeat interval seconds
      "powerMode": 0, //Power mode 0 DC 1 AC
      "voltage": 583 //Voltage Actual voltage divided by 100 is 5.83V
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/ZM/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "batchSyncRoomId": 0, //Room ID that needs batch synchronization (this field is ignored for single device)
    "batchSyncSpaceId": 0, //Home ID that needs batch synchronization (this field is ignored for single device)
    "deviceId": 0, //Device ID
    "rollLength": 0, 
    "hwProtocol": 0, 
    "lockStatus": 0, 
    "useMode": 0,
    "paperTest": 0,
    "gearLength": 0,
    "workStatus": 0,
    "remainThreshold": 0, //Remaining reminder threshold, i.e. >= this value to push an alarm
    "alarmSound": 0,
    "cleanTipStatus": 0, //Clean reminder switch 0 off 1 on
    "cleanTipCount": 0, //Number of cleaning reminders, i.e. push reminder messages when the number is reached. The count will be reset after the reminder
  },
  "accessId": "string",
  "accessSecret": "string"
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Action triggerevery timePower on the deviceRead all status parameters of the device
every timeUnlock/CloseThe device status has changed
every timeSet the paper output lengthFunction parameters have changed
every timeSet the paper output modeFunction settings have changed
every timeBluetooth APP paper outputStatistics have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Induction paperStatistics have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Automatic paper outputStatistics have changed
every timeTurn on/off sound promptFunction settings have changed
Status triggerevery timeWhen paper output is completed, the paper break status is automatically detectedPaper breaks
every timeWhen paper output is completed, the output length of each roll of paper is automatically countedThe paper roll has run out
every timeWhen paper ejection is completed, the remaining amount of roll paper is automatically detectedThe remaining amount of paper roll changes
every timeAutomatically detects failures when paper is ejected (finished)error occured
every timeWhen paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronouslyLow battery for the first time

Tissue Box S-PS-WB-ZM-016-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/ZM016/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "useLength": 0, //Amount of paper used cm
      "useCount": 0, //Number of times used
      "useRoll": 0, //Number of rolls used
      "shellStatus": 0, //Shell status 0 Closed 1 Open
      "lockStatus": 1, //Lock status 0 Closed 1 Unlocked
      "useMode": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "paperTest": 0, //Usage mode 0 Induction 1 Automatic (can be sent)
      "gearLength": 0, //Gear length 25cm 35cm 45cm (can be sent)
      "remain": 0, //Remaining amount 0 No paper 1 Low paper 2 Paper
      "remainThreshold": 0, //remaining threshold 0 is A prompt, 1 is B prompt (can be sent)
      "alarmSound": 0, //Alarm sound 0 off 1 on (parameters sent)
      "workStatus": 0, //Working status 0 Disable 1 Run (can be sent)
      "faultCode": 0, //fault 0 is no fault, bit0=1 is infrared paper feed fault, bit1=1 infrared paper output fault, bit2=1 roller motor fault, bit3=1 cutter motor fault, bit4=1 paper break
      "rfid": "string", //rfid number
      "version": 17, //firmware version number Actual version divided by 10 is version 1.7
      "beatSpan": 120, //heartbeat interval seconds
      "powerMode": 0, //Power mode 0 DC 1 AC
      "voltage": 583 //Voltage Actual voltage divided by 100 is 5.83V
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/InductionPaperBox/ZM016/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "batchSyncRoomId": 0, //Room ID that needs batch synchronization (this field is ignored for single device)
    "batchSyncSpaceId": 0, //Home ID that needs batch synchronization (this field is ignored for single device)
    "deviceId": 0, //Device ID
    "rollLength": 0, 
    "hwProtocol": 0, 
    "lockStatus": 0, 
    "useMode": 0,
    "paperTest": 0,
    "gearLength": 0,
    "workStatus": 0,
    "remainThreshold": 0, //Remaining reminder threshold, i.e. >= this value to push an alarm
    "alarmSound": 0,
    "cleanTipStatus": 0, //Clean reminder switch 0 off 1 on
    "cleanTipCount": 0, //Number of cleaning reminders, i.e. push reminder messages when the number is reached. The count will be reset after the reminder
  },
  "accessId": "string",
  "accessSecret": "string"
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Action triggerevery timePower on the deviceRead all status parameters of the device
every timeUnlock/CloseThe device status has changed
every timeSet the paper output lengthThe device status has changed
every timeSet the paper output modeFunction settings have changed
every timeBluetooth APP paper outputStatistics have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Induction paperStatistics have changed
When powered by normal power, once;
when powered by battery, once every 5 times;
Automatic paper outputStatistics have changed
Status triggerevery timeWhen paper ejection is completed, the remaining amount of roll paper is automatically detectedThe remaining amount of paper roll changes
every timeWhen paper output is completed, the paper break status is automatically detectedPaper breaks
every timeAutomatically detects failures when paper is ejected (finished)error occured
every timeWhen paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronouslyLow battery for the first time

Tissue box module S-PS-WB-MD-001-0

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/PaperBoxMoudle/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "remain": 0 //Remaining amount 0 paper empty 1, 2, 3, 4 100% full paper
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/PaperBoxMoudle/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "remainThreshold": 0 //Margin Threshold 0 Default Point C 1 Point B 2 Point A
  },
  "accessId": "string", //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 24 hoursHeartbeatnone
Every 5 minutesAutomatically detect the remaining amount of roll paper (remaining amount of roll paper ≥ point C)The remaining amount of paper roll has changed
Every 1 minuteAutomatic detection of remaining paper roll (remaining paper roll < point C)The remaining amount of paper roll has changed
Action triggerevery timePower onRead all status parameters of the device
Status triggerevery timeWhen detecting the remaining amount of paper roll, the battery voltage is detected simultaneouslyLow battery for the first time

Tissue box holder module S-PS-WB-MD-002-0

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/PaperBoxMoudle/002/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    {
      "Remain": 0,// Remaining quantity 0 means no paper, 1 means A has paper, 2 means B has paper
      "RemainThreshold": 0,// Remaining quantity threshold 0 means A prompt, 1 means B prompt (parameter sent)
      "PaperChange": 0,// Paper towel change 0 means no paper, 1 means paper has been changed
      "WorkStatus": 1,// Working status 0 is disabled 1 is running (parameter sent)
      "CreateTime": "2024-04-12 18:18:25",
      "DtuNo": null,
      "Version": 12,
      "BeatSpan": 24,// Heartbeat interval 24 hours
      "PowerMode": 1,
      "Voltage": 397
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/PaperBoxMoudle/002/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "remainThreshold": 0, //remaining threshold 0 default point A 1 point B
    "workstatus": 1, //working status 0 disabled 1 running
  },
  "accessId": "string", //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 24 hoursHeartbeatnone
Every 5 minutesAutomatically detect the remaining amount of roll paper (remaining amount of roll paper ≥ point B)The remaining amount of paper roll has changed
Every 1 minuteAutomatically detect the remaining amount of roll paper (remaining amount of roll paper < point B)The remaining amount of paper roll has changed
Every 10 minutesAutomatically detect battery voltage (battery voltage ≥ 3.4v)Low battery for the first time
Every 1 minuteAutomatically detect battery voltage (battery voltage < 3.4v)Low battery for the first time
Action triggerevery timePower onRead all status parameters of the device

Hand Dryer S-DS-WB-HD-185-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/HandDryer/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (independent device does not include gateway)
      "totalDryCount": 0, // Total number of hand drying times
      "dryDurationOfOnce": 0, // Duration of each hand drying Seconds
      "powerDurationOfOnce": 0, // Power consumption of each hand drying Watt-hours
      "hwProtocol": 0, // Data communication method 0 WIFI 1 FSK
      "tem": 0, // Ambient temperature -50~80 ℃
      "dryMode": 0, // Hand drying mode 0 Automatic wind 1 Normal temperature 2 Hot wind
      "windSpeed": 0, // Adjustable wind speed 100% 40%-100% Step 6%
      "heatingPower": 0, // Adjustable heating power 1 2 3 4 5 Increasingly large
      "autoSterilize": 0, // Automatic sterilization function 0 Off 1 On
      "sterilizeResult": 0, // Sterilization result 0 No 1 Sterilization success 2 Sterilization failure
      "lightStatus": 0, // Light status 0 Off 1 Radar sensor 2 Infrared sensor 3 Always on
      "lightEffect": 0, // Light effect 0 Always on 1 Synchronous breathing 2 Single light breathing Three lights flowing water 3 Single light gradient Three lights running
      "lightColor": 0, // Light color 0 Default 1 Custom
      "lightColor_RGB": "string", // RGB color 255,255,255
      "fullColor": 0, // Full color 0 Off 1 On
      "waterStatus": 0, // Water full status 0 Normal 1 Fully loaded
      "filterStatus": 0, // Filter status 0 Normal 1 Expired
      "faultCode": 0, // Fault 0 No fault, bit0 Fan motor fault-current is too large, bit1 Fan motor fault-current is too small, bit2 Heating wire failure - current is too large, bit3 Heating wire failure - current is too small, bit4 Abnormal ambient temperature
      "workStatus": 0 // Working status 0 Disable 1 Run
    },
    "categoryId": 0 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/HandDryer/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "dryMode": 0,
    "windSpeed": 0,
    "autoSterilize": 0,
    "lightStatus": 0,
    "lightColor": 0,   
    "lightColor_RGB": "string",
    "fullColor": 0,
    "lightEffect": 0,
    "workStatus": 0
  },
  "accessId": "string", //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Every 20 minutesDetection of ambient temperatureAmbient temperature changes
Every 24 hoursAutomatic sterilization starts when no one is detected for 1 hourAutomatic sterilization is successful (full 30 minutes)
real timeChecking the water level in the sinkWater-filled state
Action triggerevery timePower on the deviceRead all status parameters of the device
every timeSetting the hand drying modeFunction settings have changed
every timeSet the wind speed modeFunction parameters have changed
every timeNormal temperature air/hot air hand dryingStatistics have changed
Every 5000 timesNormal temperature air/hot air hand dryingFilter life expired
every timeTurn on/off automatic sterilizationFunction settings have changed
every timeSet up lighting modeFunction settings have changed
Status triggerevery timeSet up lighting modeAmbient temperature changes
every timeDetection fault when drying handserror occured

Soap Dispenser S-SC-WB-SD-055-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/SoapDispenser/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "useCount": 6947300, //Cumulative number of uses
      "shellStatus": 0, //Shell status 0 Closed 1 Open
      "autoDetect": 0, //Adaptive sensing distance 0 Hold 1 Start
      "detectDistance": 0, // Sensing distance
      "remain": 0, //Remaining amount 0 Remaining amount insufficient >0 Sufficient
      "workStatus": 1, // Working status 0 Disabled 1 Running
      "faultCode": 0,//Fault code 0 No fault, 1 Motor fault
      "createTime": "2023-11-30 10:37:39", //Creation time
      "dtuNo": null, //Gateway number (independent device does not include gateway)
      "version": 17, //firmware version number Actual version divided by 10 is version 1.7
      "beatSpan": 120, //heartbeat interval seconds
      "powerMode": 0, //Power mode 0 DC 1 AC
      "voltage": 583 //Voltage Actual voltage divided by 100 is 5.83V
    },
    "categoryId": 501 //Equipment type
  },
  "message": "Request Success", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/SoapDispenser/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "batchSyncRoomId": 0, //Room ID that needs batch synchronization (this field is ignored for single device)
    "batchSyncSpaceId": 0, //Home ID that needs batch synchronization (this field is ignored for single device)
    "deviceId": 0, //Device ID
    "autoDetect": 0, //Adaptive sensing distance
    "workStatus": 0, //Working status 0 Disable 1 Run
    "cleanTipStatus": 0, //Clean reminder switch 0 off 1 on
    "cleanTipCount": 0, //Number of cleaning reminders, i.e. push reminder messages when the number is reached. The count will be reset after the reminder
    "specs": 0, //Specifications 0 Bottled 1 InBags
    "capacity": 0, //Bag parameters Capacity ML
    "availableCount": 0 //Bag parameters Available times
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

Soap Dispenser S-SC-WB-SD-056-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/SoapDispenser/056/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "totalUseCount": 0, // Total number of liquid discharges
      "onOffStatus": 1, // Power on/off status 0 Power off 1 Power on (can be sent)
      "shellStatus": 0, // Lid status 0 Closed 1 Open
      "faultCode": 1, // Fault 0 is no fault, 1 Motor fault
      "statisticMode": 0, // Remaining quantity statistics method 0 Detect according to sensor remaining quantity 1 Decrease according to set specifications (can be sent)
      "remain": 0, // Remaining quantity status 0 No remaining quantity, 1 Less than 20%, 2 20-50%, 3 50%-100%, 4 Greater than >100%
      "bottleTotalCount": 0, // Total number of liquid discharges of the current bottle (can be sent)
      "bottleRemainCount": 0, // Remaining number of liquid discharges of the current bottle
      "workStatus": 1, // Working status 0 Disable 1 Run (can be sent)
      "useTimeRecords": [ // Use time records
        "2024-03-04 13:38:00",
        "2024-03-04 13:38:18",
        "2024-03-04 13:38:24",
        "2024-03-04 13:38:29",
        "2024-03-04 13:38:34",
        "2024-03-04 13:38:37",
        "2024-03-04 13:38:43",
        "2024-03-04 13:38:52",
        "2024-03-04 13:38:57",
        "2024-03-04 13:40:15"
      ],
      "createTime": "2024-03-04 13:41:30", //Creation time
      "dtuNo": null, //Gateway number (independent device does not include gateway)
      "version": 11, //firmware version number Actual version divided by 10 is version 1.7
      "beatSpan": 48, //heartbeat interval seconds
      "powerMode": 1, //Power mode 0 DC 1 AC
      "voltage": 600 //Voltage Actual voltage divided by 100 is 5.83V
    },
    "categoryId": 501 //Equipment type
  },
  "message": "Request Success", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/SoapDispenser/056/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "batchSyncRoomId": 0, //Room ID that needs batch synchronization (this field is ignored for single device)
    "batchSyncSpaceId": 0, //Home ID that needs batch synchronization (this field is ignored for single device)
    "deviceId": 0, //Device ID
    "goodsId": 0, //Associated consumables ID
    "onOffStatus": 0,
    "cleanTipStatus": 0, //Clean reminder status 0 Off 1 On
    "cleanTipCount": 0, //Clean reminder interval If set to 50, a cleaning reminder will be pushed when the number of uses reaches 50
    "workStatus": 0
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 2 hoursHeartbeatnone
Action triggerevery timePower onRead all status parameters of the device
every timeTurn standby on/offThe device status has changed
every timeOpen/Close lidThe device status has changed
every timeSet function parameters via Bluetooth APPFunction settings/parameters have changed
Every 10 timesInduction liquid (battery powered)Statistics have changed
every timeInduction liquid (normal power supply)Statistics have changed
Status triggerevery timeAutomatically detect the motor operation status within 3 seconds after the liquid starts to flow outMotor failure
every timeWhen the liquid is discharged, the remaining amount is automatically detectedThe margin has changed
every timeIn the function mode of calculating the marginA liquid shortage alarm occurs, or the remaining liquid discharge times are 0

Soap Dispenser M-EM-WB-SD-01-B(ODM-EM)

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/SoapDispenser/ODM/EM/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "bottleUseCount": 0, // The actual number of times the current bottle has been discharged
      "totalUseBottle": 0, // The cumulative number of bottles used
      "onOffStatus": 1, // Power on/off status 0 Power off 1 Power on (can be sent)
      "shellStatus": 0, // Lid status 0 Closed lid 1 Opened lid
      "detectDistance": 0, // Effective sensing distance The default is about 7cm, the adjustable range is 0%-100% adjustable detection distance (PWM parameters can be sent)
      "faultCode": 1, // Fault 0 is no fault, 1 motor fault
      "statisticMode": 0, // Remaining quantity statistics method 0 According to sensor remaining quantity detection 1 According to the set specification decreasing (can be sent)
      "remain": 0, // Remaining quantity status 0 No remaining quantity, 1 Less than 20%, 2 20-50%, 3 50%-100%, 4 Greater than >100%
      "bottleTotalCount": 0, // Total number of times the current bottle has been discharged (can be sent)
      "bottleRemainCount": 0, // Remaining number of times the current bottle has been discharged
      "workStatus": 1, // Working status 0 Disable 1 Run (can be sent)
      "useTimeRecords": [ // Use time records
        "2024-03-04 13:38:00",
        "2024-03-04 13:38:18",
        "2024-03-04 13:38:24",
        "2024-03-04 13:38:29",
        "2024-03-04 13:38:34",
        "2024-03-04 13:38:37",
        "2024-03-04 13:38:43",
        "2024-03-04 13:38:52",
        "2024-03-04 13:38:57",
        "2024-03-04 13:40:15"
      ],
      "createTime": "2024-03-04 13:41:30", //Creation time
      "dtuNo": null, //Gateway number (independent device does not include gateway)
      "version": 11, //firmware version number Actual version divided by 10 is version 1.7
      "beatSpan": 48, //heartbeat interval seconds
      "powerMode": 1, //Power mode 0 DC 1 AC
      "voltage": 600 //Voltage Actual voltage divided by 100 is 5.83V
    },
    "categoryId": 501 //Equipment type
  },
  "message": "Request Success", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/SoapDispenser/ODM/EM/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "batchSyncRoomId": 0, //Room ID that needs batch synchronization (this field is ignored for single device)
    "batchSyncSpaceId": 0, //Home ID that needs batch synchronization (this field is ignored for single device)
    "deviceId": 0, //Device ID
    "goodsId": 0, //Associated consumables ID
    "onOffStatus": 0,
    "statisticMode": 0,
    "cleanTipStatus": 0, //Clean reminder status 0 Off 1 On
    "cleanTipCount": 0, //Clean reminder interval If set to 50, the cleaning reminder will be pushed when the number of uses reaches 50
    "remainThreshold": 0, //Remaining threshold If it is count detection, it is fixed to 0. If it is sensor detection, it follows the segmented points of 0A 1B 2C 3D
    "workStatus": 0
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 48 hoursHeartbeatnone
Every 2 hoursDetect battery voltageLow battery for the first time
Action triggerevery timePower onRead all status parameters of the device
every timeTurn standby on/offThe device status has changed
every timeOpen/Close lidThe device status has changed
every timeSet function parameters via Bluetooth APPFunction settings/parameters have changed
Every 10 timesInduction liquidStatistics have changed
every timeFluid exchangeDevice status/Statistics have changed
Status triggerevery timeAutomatically detect the motor operation status within 3 seconds after the liquid starts to flow outerror occured
every timeAutomatically detect the remaining amount when opening the coverThe margin has changed
every timeWhen the liquid is discharged, the remaining amount is automatically detectedThe margin has changed

Smart Toilet Flush S-FS-WB-FS-001-A

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/FlushingValveBig/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "Stage1_FlushCount": 0, // The first stage has accumulated the number of flushes
      "Stage2_FlushCount": 0, // The second stage has a cumulative number of flushes
      "DetectSensitivity": 0, // Infrared detection sensitivity: 4s when unmanned by default, adjustable range 4s-6s, step 1s; When manned is 2s, the adjustable range is 2s-3s, and the step is 0.5s
      "AutoDetect": 0, // Adaptive sensing distance 0 keeps 1 to start
      "DetectDistance": 0, // The effective sensing distance is about 70cm by default, and the adjustable range is 0%-100% adjustable detection distance PWM parameters
      "PulseNumber": 0, // Instantaneous water flow rate (number of pulses)/sec represents water pressure Q(L/min) = (number of pulses F+3)/5
      "UseStatus": 0, // Device usage status 0 is unmanned and 1 is occupied
      "Stage1_FlushTime": 0, // The first flushing time is 2s by default, the adjustable range is 0-25s, and the step is 1s
      "Stage2_FlushTime": 0, // The second flushing time is 6s by default, the adjustable range is 3-60s, and the step is 1s
      "WorkStatus": 0, // Working status 0 Retire 1 Run
      "UsePulseNumber": 0, // Instantaneous water flow per person (number of pulses) water consumption = F/225
      "TotalPulseNumber": 0, // Cumulative instantaneous water flow (number of pulses)
      "HwProtocol": 0, // Data communication mode: 0, auto, 1, WIFI, 2, FSK
      "FlushTest": 0, // Test flush 0 hold 1 to perform flush
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/FlushingValveBig/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "DetectSensitivity": 0, // Infrared detection sensitivity: 4s when unmanned by default, adjustable range 4s-6s, step 1s; When manned is 2s, the adjustable range is 2s-3s, and the step is 0.5s   
    "AutoDetect": 0, // Adaptive sensing distance 0 keeps 1 to start
    "DetectDistance": 0, // The effective sensing distance is about 70cm by default, and the adjustable range is 0%-100% adjustable detection distance PWM parameters
    "Stage1_FlushTime": 0, // The first flushing time is 2s by default, the adjustable range is 0-25s, and the step is 1s
    "Stage2_FlushTime": 0, // The second flushing time is 6s by default, the adjustable range is 3-60s, and the step is 1s
    "WorkStatus": 0, // Working status 0 Retire 1 Run
    "HwProtocol": "string", // Data communication mode: 0, auto, 1, WIFI, 2, FSK
    "FlushTest": 0, // Test flush 0 hold 1 to perform flush
    "CleanTipStatus": 0, // Test flush 0 Hold 1 Perform flush cleaning reminder status 0 Off 1 On
    "CleanTipCount": 0, // Cleaning reminder threshold times
    "LinkDeviceId": 0 // The ID of the associated device
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

Smart Urinal Flush S-FS-WB-FS-002-A

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/FlushingValveLite/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "Stage1_FlushCount": 0, // The first stage has accumulated the number of flushes
      "Stage2_FlushCount": 0, // The second stage has a cumulative number of flushes
      "AutoDetect": 0, // Adaptive sensing distance 0 keeps 1 to start
      "DetectDistance": 0, // The effective sensing distance is about 60cm by default, and the adjustable range is 0%-100% adjustable detection distance PWM parameters
      "PulseNumber": 0, // Instantaneous water flow rate (number of pulses)/sec represents water pressure Q(L/min) = (number of pulses F+3)/5
      "UseStatus": 0, // Device usage status 0 is unmanned and 1 is occupied
      "Stage1_FlushTime": 0, // The first flushing time is 2s by default, the adjustable range is 0-25s, and the step is 1s
      "Stage2_FlushTime": 0, // The second flushing time is 6s by default, the adjustable range is 3-25s, and the step is 1s
      "WorkStatus": 0, // Working status 0 Retire 1 Run
      "UsePulseNumber": 0, // Instantaneous water flow per person (number of pulses) water consumption = F/225
      "TotalPulseNumber": 0, // Cumulative instantaneous water flow (number of pulses)
      "HwProtocol": 0, // Data communication mode: 0, auto, 1, WIFI, 2, FSK
      "FlushTest": 0, // Test flush 0 hold 1 to perform flush
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/FlushingValveLite/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "AutoDetect": 0, // Adaptive sensing distance 0 keeps 1 to start
    "DetectDistance": 0, // The effective sensing distance is about 60cm by default, and the adjustable range is 0%-100% adjustable detection distance PWM parameters
    "Stage1_FlushTime": 0, // The first flushing time is 2s by default, the adjustable range is 0-25s, and the step is 1s
    "Stage2_FlushTime": 0, // The second flushing time is 6s by default, the adjustable range is 3-25s, and the step is 1s
    "WorkStatus": 0, // Working status 0 Retire 1 Run
    "HwProtocol": "string", // Data communication mode: 0, auto, 1, WIFI, 2, FSK
    "FlushTest": 0, // Test flush 0 hold 1 to perform flush
    "CleanTipStatus": 0, // Cleaning Reminder Status 0 Off 1 On
    "CleanTipCount": 0, // Cleaning reminder threshold times
    "LinkDeviceId": 0 // The ID of the associated device
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

Door Lock S-SD-FK-LK-001-0

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/DoorLock/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "lockStatus": 0, // Lock status 0 Unlock 1 locked
      "rssi": 0 // Semaphore

    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Action triggerevery timeUnlock/close the lockAfter the device is registered with the gateway or indicator control module, the data is reported through transparent transmission

Panic Button SS001

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/EmergencyButton/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "lockStatus": 0, // Button Status 1 Call
      "rssi": 0 // Semaphore
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Action triggerevery timePress the red buttonAfter the device is registered with the gateway or indicator control module, the data is reported through transparent transmission

Environmental Sensors Pro Version S-SD-WB-ES-002-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/Environment/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "NH3": 0, // The ammonia range is 0~10PPM, and the accuracy is 0.01PPM
      "H2S": 0, // The HYDROGEN SULFIDE range is 0~5PPM, and the accuracy is 0.01PPM
      "Tem": 0, // The temperature range is -40~85, and the accuracy is 0.01 integer value
      "Hum": 0, // Humidity range: 0~100%RH, accuracy 0.01%RH integer value
      "PM25": 0, // PM2.5 Value range: 0-250 μg/m3
      "NH3Trigger": 0, // The early warning threshold for ammonia is 0.6ppm by default
      "H2STrigger": 0, // The early warning threshold of hydrogen sulfide defaults to 1ppm
      "TemTrigger": 0, // The default value of the warning threshold temperature is 35°C, and the value is an integer
      "HumTrigger": 0, // The default value of the warning threshold humidity is 75%RH, which is an integer
      "PM25Trigger": 0, // The default value of PM2.5 is 75μg/m3
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/Environment/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "beatSpan": 0, // Interval
    "nH3Trigger": 0, // The early warning threshold for ammonia is 0.6ppm by default
    "h2STrigger": 0, // The early warning threshold of hydrogen sulfide defaults to 1ppm
    "temTrigger": 0, // The default value of the warning threshold temperature is 35°C, and the value is an integer
    "humTrigger": 0, // The default value of the warning threshold humidity is 75%RH, which is an integer
    "pM25Trigger": 0, // The default value of PM2.5 is 75μg/m3
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 24 hoursMake a heartbeatnone
Every 10 minutesReport the collected environmental datanone
Action triggerevery timePower on the devicenone
Status trigger-Sensors keep collecting environmental dataWhen the detection parameter reaches or falls below the warning line for the first time

Environmental Sensors Normal Version S-SD-WB-ES-003-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/Environment/003/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "Voc": 0, // The range of volatile gases is 0~1000PPM, the accuracy is 0.01PPM, and the integer value is taken
      "Tem": 0, // The temperature range is -40~85, and the accuracy is 0.01 integer value
      "Hum": 0, // Humidity range: 0~100%RH, accuracy 0.01%RH integer value
      "PM25": 0, // PM2.5 Value range: 0-250 μg/m3
      "VocTrigger": 0, // The warning threshold for volatile gases defaults to 50ppm
      "TemTrigger": 0, // The default value of the warning threshold temperature is 35°C, and the value is an integer
      "HumTrigger": 0, // The default value of the warning threshold humidity is 75%RH, which is an integer
      "PM25Trigger": 0, // The default value of PM2.5 is 75μg/m3
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/Environment/003/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "beatSpan": 0, // Interval
    "vocTrigger": 0, // Early warning threshold: volatile organic compounds 0~1000PPM
    "temTrigger": 0, // The default value of the warning threshold temperature is 35°C, and the value is an integer
    "humTrigger": 0, // The default value of the warning threshold humidity is 75%RH, which is an integer
    "pM25Trigger": 0, // The default value of PM2.5 is 75μg/m3
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 24 hoursHeartbeatnone
Every 10 minutesReport the collected environmental datanone
Action triggerevery timePower on the devicenone
Status trigger-Sensors keep collecting environmental dataWhen the detection parameter reaches or falls below the warning line for the first time

Toilet Stall Indicator S-DT-AL-TL-003-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/LinkageLight/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "lightMode": 0, // Light Mode 0 Default 1 Maintenance Mode - Blue Light (Can be Issued) [Guide Light: 2 Red Light (Full State) 3 Green Light (Not Full)]
      "rssi": 0, // Semaphore
      "workStatus": 0 // Working status 0 Retire 1 Run
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/LinkageLight/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "lightMode": 0, // Light Mode 0 Default 1 Maintenance Mode - Blue Light
    "workStatus": 0 // Working status 0 Retire 1 Run
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

3. Data reporting mechanism

Type of trigger data reportingTrigger frequencyFunction operation/status detection nodeTriggering conditions
Timing triggerEvery 24 hoursHeartbeatnone
Action triggerevery timePower on the devicenone
every timePair the device via the APPThe function parameter settings have been changed
every timePair the device by pressing the buttonThe function parameter settings have been changed

Toilet Guide Lights S-DT-AL-TL-004-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/LinkageLight/004/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "lightMode": 0, //Light Mode 0 Default 1 Maintenance Mode - Blue Light (Can be Issued) [Guide Light: 2 Red Light (Full State) 3 Green Light (Not Full)]
      "rssi": 0, // Semaphore
      "workStatus": 0 // Working status 0 Retire 1 Run
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

2. Device data delivery

Request URL: https://dev.iot.svavo.cn/api/Device/LinkageLight/004/SendSet

Request method: POST

Request data:

{
  "sendData": { //Send data
    "sendProcess": 0, //Send mode 0 Entrust the cloud to send 1 Generate local send byte package 2 Update the cloud after the local send success response
    "deviceId": 0, //Device ID
    "lightMode": 0, // Light Mode 0 Default 1 Maintenance Mode - Blue Light
    "workStatus": 0 // Working status 0 Retire 1 Run
  },
  "accessId": "string",  //Access ID
  "accessSecret": "string" //Access Key
}

Return data:

{
  "message": "Illegal request",
  "resultCode": 1004, //Operation failed
  "success": false, //Request status
  "data": null //The data object is not included in the delivery
}

IoT Gateways S-DT-AL-DT-003-9

1. Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/GateWay/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "string", //Creation time
      "dtuNo": "string", //Gateway number (standalone devices do not include gateways)
      "getFullData": 0, // 0 Normal 1 obtains full data
      "rssi": 0, // Semaphore
      "workStatus": 0 // Working status 0 Retire 1 Run
    },
    "categoryId": 0 //Device category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

Door Lock S-SD-FK-DD-001-0 (Toilet Item)

Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/WashRoom/DoorLock/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true, //Request status
  "data": { //Data object
    "latestData": { //Latest data
      "createTime": "2023-10-20 18:09:13", //Creation time
      "dtuNo": "DT00129F00098", //Gateway number (independent device does not include gateway)
      "deviceNo": "DD00102185864",
      "beatSpan": 0,//heartbeat interval
      "powerMode": 1,// 0 no external power 1 with external power
      "voltage": 0, //voltage divided by 100
      "messageType": 0, //message type
      "rssi": 58, //semaphore reference value
      "lockStatus": 1,// lock status 0 closed 1 open
      "serialNumber": 2185864 //serial number reference value
    },
    "categoryId": 701 //Device Category ID
  },
  "message": "string", //Return message
  "resultCode": 1000 //Return code
}

Environmental Sensor S-SD-LR-ES-001-9 (Washroom Items)

Get real-time data

Request URL: https://dev.iot.svavo.cn/api/Device/WashRoom/Environment/LatestData

Request method: GET

Request parameters:

parameter nametype of dataremark
accessIdstringAccess ID
accessSecretstringAccess Key
deviceNostringdevice ID

Return data:

{
  "success": true,
  "data": {
    "latestData": {
      "createTime": "2024-01-11 10:35:23",
      "dtuNo": "DT0012AP00001",
      "deviceNo": "ES0012AA00001",
      "beatSpan": 60, //heartbeat interval seconds
      "powerMode": 2, //Power mode 0: Battery power 1: DC power 2: AC power 
      "voltage": 220, //Voltage Divide the result by 100 For example: 480/100=4.8V
      "messageType": 0,
      "nh3": 0.02, //Ammonia ppm
      "h2s": 0.0049, //Hydrogen sulfide
      "nh3_Trigger": 0.6, //Ammonia warning value
      "h2s_Trigger": 0.006, //Hydrogen sulfide warning value
      "tem": 24, //Temperature Celsius
      "tem_Trigger": 35, //Temperature warning value
      "hum": 26, //Humidity percentage %
      "hum_Trigger": 75, //Humidity warning value
      "pm25": 9, //PM2.5 0-250 μg/m3
      "pm25_Trigger": 75 //PM2.5 warning value
    },
    "categoryId": 601
  },
  "message": "Request Success",
  "resultCode": 1000
}
Prev
Overview
Next
Status code