##属性上报
温湿度传感器如果温度变化达到0.5度或者湿度变化达到6%上报一个报文。
This sensor will report if the temperature change is over 0.5 degress or the humidity change is over 6%.
属性 | 说明 |
---|---|
temperature | 温度 |
humidity | 湿度 |
{"cmd":"report","model":"sensor_ht","sid":"112316","short_id":4343,"token":"5","data":"{\" temperature \":”2333”}" }
{"cmd":"report","model":"sensor_ht","sid":"112316","short_id":4343,"token":"6","data":"{\" humidity \":”6678”}" }
以上例子对应的温度为23.33,湿度为66.78%