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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Every 1 minute | Detect battery voltage | Low battery for the first time | |
Action trigger | every time | Power on | Read all status parameters of the device |
every time | Open/Close lid | The device status has changed | |
every time | Set the duration/concentration of a single spray | Function parameters have changed | |
every time | Set the spray interval time | Function parameters have changed | |
every time | Set the automatic fragrance spray mode | Function settings have changed | |
every time | Set up an automatic spray schedule | Function parameters have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Bluetooth APP test spray | Statistics have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Induction Fragrance | Statistics have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Automatic fragrance spray | Statistics have changed | |
every time | Turn on/off sound prompt | Function settings have changed | |
Status trigger | every time | When the fragrance is finished, the remaining amount is automatically detected | The 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Action trigger | every time | Power on the device | Read all status parameters of the device |
every time | Open/Close lid | The device status has changed | |
every time | Set the paper output position/paper output length | Function parameters have changed | |
Every 5 times | Bluetooth APP paper output | Statistics have changed | |
Every 5 times | Induction paper | Statistics have changed | |
Status trigger | every time | Automatically detect the remaining paper roll when paper ejection is complete | The remaining amount of paper roll has changed |
every time | When paper output is completed, the paper break status is automatically detected | Paper breaks | |
every time | Automatically detects failures when paper is ejected (finished) | error occured | |
every time | When paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronously | Low 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Action trigger | every time | Power on the device | Read all status parameters of the device |
every time | Open/Close lid | The device status has changed | |
every time | Set the paper output position/paper output length | Function parameters have changed | |
Every 5 times | Bluetooth APP paper output | Statistics have changed | |
Every 5 times | Induction paper | Statistics have changed | |
Status trigger | every time | Automatically detect the remaining paper roll when paper ejection is complete | The remaining amount of paper roll has changed |
every time | When paper output is completed, the paper break status is automatically detected | Paper breaks | |
every time | Automatically detects failures when paper is ejected (finished) | error occured | |
every time | When paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronously | Low battery for the first time | |
every time | When the cover is closed, the electronic tag is automatically read | A 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Action trigger | every time | Power on the device | Read all status parameters of the device |
every time | Unlock/Close | The device status has changed | |
every time | Set the paper output length | Function parameters have changed | |
every time | Set the paper output mode | Function settings have changed | |
every time | Bluetooth APP paper output | Statistics have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Induction paper | Statistics have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Automatic paper output | Statistics have changed | |
every time | Turn on/off sound prompt | Function settings have changed | |
Status trigger | every time | When paper output is completed, the paper break status is automatically detected | Paper breaks |
every time | When paper output is completed, the output length of each roll of paper is automatically counted | The paper roll has run out | |
every time | When paper ejection is completed, the remaining amount of roll paper is automatically detected | The remaining amount of paper roll changes | |
every time | Automatically detects failures when paper is ejected (finished) | error occured | |
every time | When paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronously | Low 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Action trigger | every time | Power on the device | Read all status parameters of the device |
every time | Unlock/Close | The device status has changed | |
every time | Set the paper output length | The device status has changed | |
every time | Set the paper output mode | Function settings have changed | |
every time | Bluetooth APP paper output | Statistics have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Induction paper | Statistics have changed | |
When powered by normal power, once; when powered by battery, once every 5 times; | Automatic paper output | Statistics have changed | |
Status trigger | every time | When paper ejection is completed, the remaining amount of roll paper is automatically detected | The remaining amount of paper roll changes |
every time | When paper output is completed, the paper break status is automatically detected | Paper breaks | |
every time | Automatically detects failures when paper is ejected (finished) | error occured | |
every time | When paper is ejected, data is reported or heartbeat is reported, the battery voltage is detected synchronously | Low 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 24 hours | Heartbeat | none |
Every 5 minutes | Automatically detect the remaining amount of roll paper (remaining amount of roll paper ≥ point C) | The remaining amount of paper roll has changed | |
Every 1 minute | Automatic detection of remaining paper roll (remaining paper roll < point C) | The remaining amount of paper roll has changed | |
Action trigger | every time | Power on | Read all status parameters of the device |
Status trigger | every time | When detecting the remaining amount of paper roll, the battery voltage is detected simultaneously | Low 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 24 hours | Heartbeat | none |
Every 5 minutes | Automatically detect the remaining amount of roll paper (remaining amount of roll paper ≥ point B) | The remaining amount of paper roll has changed | |
Every 1 minute | Automatically detect the remaining amount of roll paper (remaining amount of roll paper < point B) | The remaining amount of paper roll has changed | |
Every 10 minutes | Automatically detect battery voltage (battery voltage ≥ 3.4v) | Low battery for the first time | |
Every 1 minute | Automatically detect battery voltage (battery voltage < 3.4v) | Low battery for the first time | |
Action trigger | every time | Power on | Read 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Every 20 minutes | Detection of ambient temperature | Ambient temperature changes | |
Every 24 hours | Automatic sterilization starts when no one is detected for 1 hour | Automatic sterilization is successful (full 30 minutes) | |
real time | Checking the water level in the sink | Water-filled state | |
Action trigger | every time | Power on the device | Read all status parameters of the device |
every time | Setting the hand drying mode | Function settings have changed | |
every time | Set the wind speed mode | Function parameters have changed | |
every time | Normal temperature air/hot air hand drying | Statistics have changed | |
Every 5000 times | Normal temperature air/hot air hand drying | Filter life expired | |
every time | Turn on/off automatic sterilization | Function settings have changed | |
every time | Set up lighting mode | Function settings have changed | |
Status trigger | every time | Set up lighting mode | Ambient temperature changes |
every time | Detection fault when drying hands | error 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 2 hours | Heartbeat | none |
Action trigger | every time | Power on | Read all status parameters of the device |
every time | Turn standby on/off | The device status has changed | |
every time | Open/Close lid | The device status has changed | |
every time | Set function parameters via Bluetooth APP | Function settings/parameters have changed | |
Every 10 times | Induction liquid (battery powered) | Statistics have changed | |
every time | Induction liquid (normal power supply) | Statistics have changed | |
Status trigger | every time | Automatically detect the motor operation status within 3 seconds after the liquid starts to flow out | Motor failure |
every time | When the liquid is discharged, the remaining amount is automatically detected | The margin has changed | |
every time | In the function mode of calculating the margin | A 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 48 hours | Heartbeat | none |
Every 2 hours | Detect battery voltage | Low battery for the first time | |
Action trigger | every time | Power on | Read all status parameters of the device |
every time | Turn standby on/off | The device status has changed | |
every time | Open/Close lid | The device status has changed | |
every time | Set function parameters via Bluetooth APP | Function settings/parameters have changed | |
Every 10 times | Induction liquid | Statistics have changed | |
every time | Fluid exchange | Device status/Statistics have changed | |
Status trigger | every time | Automatically detect the motor operation status within 3 seconds after the liquid starts to flow out | error occured |
every time | Automatically detect the remaining amount when opening the cover | The margin has changed | |
every time | When the liquid is discharged, the remaining amount is automatically detected | The 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Action trigger | every time | Unlock/close the lock | After 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Action trigger | every time | Press the red button | After 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 24 hours | Make a heartbeat | none |
Every 10 minutes | Report the collected environmental data | none | |
Action trigger | every time | Power on the device | none |
Status trigger | - | Sensors keep collecting environmental data | When 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 24 hours | Heartbeat | none |
Every 10 minutes | Report the collected environmental data | none | |
Action trigger | every time | Power on the device | none |
Status trigger | - | Sensors keep collecting environmental data | When 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 reporting | Trigger frequency | Function operation/status detection node | Triggering conditions |
---|---|---|---|
Timing trigger | Every 24 hours | Heartbeat | none |
Action trigger | every time | Power on the device | none |
every time | Pair the device via the APP | The function parameter settings have been changed | |
every time | Pair the device by pressing the button | The 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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 name | type of data | remark |
---|---|---|
accessId | string | Access ID |
accessSecret | string | Access Key |
deviceNo | string | device 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
}