Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Info for deerma.humidifier.jsq5
- Database file created:H:\Private\OpenHab3.2.0.M3\conf\misc\miio\deerma.humidifier.jsq5-miot-experimental.json
- {
- "deviceMapping": {
- "id": [
- "deerma.humidifier.jsq5"
- ],
- "propertyMethod": "get_properties",
- "maxProperties": 1,
- "channels": [
- {
- "property": "on",
- "siid": 2,
- "piid": 1,
- "friendlyName": "Humidifier - Switch Status",
- "channel": "on",
- "type": "Switch",
- "refresh": true,
- "actions": [
- {
- "command": "set_properties",
- "parameterType": "ONOFFBOOL"
- }
- ]
- },
- {
- "property": "fault",
- "siid": 2,
- "piid": 2,
- "friendlyName": "Humidifier - Device Fault",
- "channel": "fault",
- "type": "Number",
- "stateDescription": {
- "readOnly": true,
- "options": [
- {
- "value": "0",
- "label": "No Faults"
- },
- {
- "value": "1",
- "label": "Insufficient Water"
- },
- {
- "value": "2",
- "label": "Water Separation"
- }
- ]
- },
- "refresh": true,
- "actions": [],
- "readmeComment": "Value mapping [\"0\"\u003d\"No Faults\",\"1\"\u003d\"Insufficient Water\",\"2\"\u003d\"Water Separation\"]"
- },
- {
- "property": "fan-level",
- "siid": 2,
- "piid": 5,
- "friendlyName": "Humidifier - Fan Level",
- "channel": "fan_level",
- "type": "Number",
- "stateDescription": {
- "options": [
- {
- "value": "1",
- "label": "Level1"
- },
- {
- "value": "2",
- "label": "Level2"
- },
- {
- "value": "3",
- "label": "Level3"
- },
- {
- "value": "4",
- "label": "Humidity"
- }
- ]
- },
- "refresh": true,
- "actions": [
- {
- "command": "set_properties",
- "parameterType": "NUMBER"
- }
- ],
- "readmeComment": "Value mapping [\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\",\"4\"\u003d\"Humidity\"]"
- },
- {
- "property": "target-humidity",
- "siid": 2,
- "piid": 6,
- "friendlyName": "Humidifier - Target Humidity",
- "channel": "target_humidity",
- "type": "Number:Dimensionless",
- "unit": "percentage",
- "stateDescription": {
- "minimum": 40,
- "maximum": 80,
- "step": 1,
- "pattern": "%.0f %unit%"
- },
- "refresh": true,
- "actions": [
- {
- "command": "set_properties",
- "parameterType": "NUMBER"
- }
- ]
- },
- {
- "property": "relative-humidity",
- "siid": 3,
- "piid": 1,
- "friendlyName": "Environment - Relative Humidity",
- "channel": "relative_humidity",
- "type": "Number:Dimensionless",
- "unit": "percentage",
- "stateDescription": {
- "minimum": 0,
- "maximum": 100,
- "step": 1,
- "pattern": "%.0f %unit%",
- "readOnly": true
- },
- "refresh": true,
- "actions": []
- },
- {
- "property": "temperature",
- "siid": 3,
- "piid": 7,
- "friendlyName": "Environment - Temperature",
- "channel": "temperature",
- "type": "Number:Temperature",
- "unit": "celsius",
- "stateDescription": {
- "minimum": -30,
- "maximum": 100,
- "step": 1,
- "pattern": "%.0f %unit%",
- "readOnly": true
- },
- "refresh": true,
- "actions": []
- },
- {
- "property": "alarm",
- "siid": 5,
- "piid": 1,
- "friendlyName": "Alarm - Alarm",
- "channel": "alarm",
- "type": "Switch",
- "refresh": true,
- "actions": [
- {
- "command": "set_properties",
- "parameterType": "ONOFFBOOL"
- }
- ]
- },
- {
- "property": "on1",
- "siid": 6,
- "piid": 1,
- "friendlyName": "Indicator Light - Switch Status",
- "channel": "on1",
- "type": "Switch",
- "refresh": true,
- "actions": [
- {
- "command": "set_properties",
- "parameterType": "ONOFFBOOL"
- }
- ]
- },
- {
- "property": "water-shortage-fault",
- "siid": 7,
- "piid": 1,
- "friendlyName": "Custom - Water Shortage Fault",
- "channel": "water_shortage_fault",
- "type": "Switch",
- "stateDescription": {
- "readOnly": true
- },
- "refresh": true,
- "actions": []
- },
- {
- "property": "the-tank-filed",
- "siid": 7,
- "piid": 2,
- "friendlyName": "Custom - The Tank Filed",
- "channel": "the_tank_filed",
- "type": "Switch",
- "stateDescription": {
- "readOnly": true
- },
- "refresh": true,
- "actions": []
- }
- ],
- "experimental": true
- }
- }
- Testing Properties:
- on -> get_properties[{"did":"on","siid":2,"piid":1}] -> 4,
- fault -> get_properties[{"did":"fault","siid":2,"piid":2}] -> 5,
- fan_level -> get_properties[{"did":"fan-level","siid":2,"piid":5}] -> 6,
- target_humidity -> get_properties[{"did":"target-humidity","siid":2,"piid":6}] -> 7,
- relative_humidity -> get_properties[{"did":"relative-humidity","siid":3,"piid":1}] -> 8,
- temperature -> get_properties[{"did":"temperature","siid":3,"piid":7}] -> 9,
- alarm -> get_properties[{"did":"alarm","siid":5,"piid":1}] -> 10,
- on1 -> get_properties[{"did":"on1","siid":6,"piid":1}] -> 11,
- water_shortage_fault -> get_properties[{"did":"water-shortage-fault","siid":7,"piid":1}] -> 12,
- the_tank_filed -> get_properties[{"did":"the-tank-filed","siid":7,"piid":2}] -> 13,
- {"life":72936,"uid":1669052867,"model":"deerma.humidifier.jsq5","ipflag":1,"fw_ver":"2.1.3","mcu_fw_ver":"0005","miio_ver":"0.0.9","hw_ver":"esp8266","mmfree":22404,"wifi_fw_ver":"8903c22","netif":{"localIp":"192.168.0.112","mask":"255.255.255.0","gw":"192.168.0.254"}}
- {"id":3,"method":"miIO.info","params":[]} -> {"id":3,"result":{"life":72936,"uid":1669052867,"model":"deerma.humidifier.jsq5","ipflag":1,"fw_ver":"2.1.3","mcu_fw_ver":"0005","miio_ver":"0.0.9","hw_ver":"esp8266","mmfree":22404,"wifi_fw_ver":"8903c22","netif":{"localIp":"192.168.0.112","mask":"255.255.255.0","gw":"192.168.0.254"}},"exe_time":40}
- {"id":4,"method":"get_properties","params":[{"did":"on","siid":2,"piid":1}]} -> {"id":4,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
- {"id":5,"method":"get_properties","params":[{"did":"fault","siid":2,"piid":2}]} -> {"id":5,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
- {"id":6,"method":"get_properties","params":[{"did":"fan-level","siid":2,"piid":5}]} -> {"id":6,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
- {"id":7,"method":"get_properties","params":[{"did":"target-humidity","siid":2,"piid":6}]} -> {"id":7,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
- {"id":8,"method":"get_properties","params":[{"did":"relative-humidity","siid":3,"piid":1}]} -> {"id":8,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4010}
- {"id":9,"method":"get_properties","params":[{"did":"temperature","siid":3,"piid":7}]} -> {"id":9,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
- {"id":10,"method":"get_properties","params":[{"did":"alarm","siid":5,"piid":1}]} -> {"id":10,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
- {"id":11,"method":"get_properties","params":[{"did":"on1","siid":6,"piid":1}]} -> {"id":11,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
- {"id":12,"method":"get_properties","params":[{"did":"water-shortage-fault","siid":7,"piid":1}]} -> {"id":12,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
- {"id":13,"method":"get_properties","params":[{"did":"the-tank-filed","siid":7,"piid":2}]} -> {"id":13,"error":{"code":-9999,"message":"user ack timeout"},"exe_time":4020}
- ===================================
- Responsive properties
- ===================================
- Device Info: {"life":72936,"uid":1669052867,"model":"deerma.humidifier.jsq5","ipflag":1,"fw_ver":"2.1.3","mcu_fw_ver":"0005","miio_ver":"0.0.9","hw_ver":"esp8266","mmfree":22404,"wifi_fw_ver":"8903c22","netif":{"localIp":"192.168.0.112","mask":"255.255.255.0","gw":"192.168.0.254"}}
- 0 channels with responses.
- No supported channels found.
- Device testing file saved to:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement