R4238 Smart Irrigation Control
Modderhut opened this issue · 1 comments
Device normal info
- WOOX
- R4238
{
"result": {
"active_time": 1693248944,
"category": "sfkzq",
"create_time": 1693248936,
"custom_name": "",
"icon": "smart/icon/ay1533895021982bN2sO/11d9adfee48220559d5d8f38f612ae44.png",
"id": "bfe115cc587df095c4fo3d",
"ip": "xxx.xxx.xxx.xxx",
"is_online": true,
"lat": "",
"local_key": "xxxxxxxxxxxx",
"lon": "",
"model": "R4238",
"name": "R4238 Smart Irrigation Control",
"product_id": "behtc3gdmbuvzrjz",
"product_name": "R4238 Smart Irrigation Control",
"sub": false,
"time_zone": "+02:00",
"update_time": 1693248944,
"uuid": "7b2636aedfb2be57"
},
"success": true,
"t": 1693425912632,
"tid": "873a386a477011ee8298eeefa7b3467e"
}
[
{
"code": "switch",
"value": false
},
{
"code": "weather_delay",
"value": "cancel"
},
{
"code": "countdown",
"value": 0
},
{
"code": "cycle_time",
"value": ""
},
{
"code": "normal_timer",
"value": "AAJYABR/ZAAH5wcGAQ=="
}
]
{
"result": {
"category": "sfkzq",
"functions": [
{
"code": "switch",
"desc": "{}",
"name": "阀门开关",
"type": "Boolean",
"values": "{}"
},
{
"code": "weather_delay",
"desc": "{"range":["cancel","24h","48h","72h","96h","120h","144h","168h"]}",
"name": "天气延时",
"type": "Enum",
"values": "{"range":["cancel","24h","48h","72h","96h","120h","144h","168h"]}"
},
{
"code": "countdown",
"desc": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}",
"name": "灌溉时间",
"type": "Integer",
"values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"
},
{
"code": "cycle_time",
"desc": "{"maxlen":255}",
"name": "周期灌溉",
"type": "String",
"values": "{"maxlen":255}"
},
{
"code": "normal_timer",
"desc": "{"maxlen":255}",
"name": "普通定时",
"type": "String",
"values": "{"maxlen":255}"
}
],
"status": [
{
"code": "switch",
"name": "阀门开关",
"type": "Boolean",
"values": "{}"
},
{
"code": "fault",
"name": "故障告警",
"type": "Bitmap",
"values": "{"label":["low_battery","fault","lack_water","sensor_fault","motor_fault"],"maxlen":5}"
},
{
"code": "battery_percentage",
"name": "电池电量",
"type": "Integer",
"values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}"
},
{
"code": "weather_delay",
"name": "天气延时",
"type": "Enum",
"values": "{"range":["cancel","24h","48h","72h","96h","120h","144h","168h"]}"
},
{
"code": "countdown",
"name": "灌溉时间",
"type": "Integer",
"values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"
},
{
"code": "work_state",
"name": "工作状态",
"type": "Enum",
"values": "{"range":["auto","manual","idle"]}"
},
{
"code": "use_time_one",
"name": "单次使用时间",
"type": "Integer",
"values": "{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"
},
{
"code": "cycle_time",
"name": "周期灌溉",
"type": "String",
"values": "{"maxlen":255}"
},
{
"code": "normal_timer",
"name": "普通定时",
"type": "String",
"values": "{"maxlen":255}"
}
]
},
"success": true,
"t": 1693427635711,
"tid": "8a43266c477411eeb3f09e6a0abc163a"
}
{
"result": {
"properties": [
{
"code": "switch",
"custom_name": "",
"dp_id": 1,
"time": 1693425406614,
"value": false
},
{
"code": "fault",
"custom_name": "",
"dp_id": 4,
"time": 1693248936498,
"value": 0
},
{
"code": "battery_percentage",
"custom_name": "",
"dp_id": 7,
"time": 1693425113362,
"value": 57
},
{
"code": "weather_delay",
"custom_name": "",
"dp_id": 10,
"time": 1693425406614,
"value": "cancel"
},
{
"code": "countdown",
"custom_name": "",
"dp_id": 11,
"time": 1693425406614,
"value": 0
},
{
"code": "work_state",
"custom_name": "",
"dp_id": 12,
"time": 1693425406614,
"value": "idle"
},
{
"code": "use_time_one",
"custom_name": "",
"dp_id": 15,
"time": 1693424555757,
"value": 49
},
{
"code": "cycle_time",
"custom_name": "",
"dp_id": 16,
"time": 1693353005207,
"value": ""
},
{
"code": "normal_timer",
"custom_name": "",
"dp_id": 17,
"time": 1693353005227,
"value": "AAJYABR/ZAAH5wcGAQ=="
}
]
},
"success": true,
"t": 1693427674997,
"tid": "a1b2634b477411eeb3f09e6a0abc163a"
}
that would be great