tuya/tuya-home-assistant

New device support irrigation valve

Open

#956 opened on Oct 17, 2023

View on GitHub
 (1 comment) (1 reaction) (0 assignees) (206 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (960 stars)
PR merge metrics
 (PR metrics pending)

Description

Device normal info

  • Tuya Zigbee Smart Garden Watering Timer Sprinkler Drip Irrigation System Built-in Water Flow Recorder Water Controller
  • FJKZ021(G)

https://www.aliexpress.com/item/1005005959222189.html?spm=a2g0o.order_list.order_list_main.11.74761802Zjm4DG#nav-specification

Device info (please complete the following information, which can be found in log): like this: { "endpoint": "https://openapi.tuyaeu.com", "auth_type": 0, "country_code": "420", "app_type": "smartlife", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "name": "Zigbee single channel controller", "model": "", "category": "cz", "product_id": "0jxeoadc", "product_name": "Zigbee single channel controller", "online": true, "sub": true, "time_zone": "+02:00", "active_time": "2023-10-16T14:16:09+00:00", "create_time": "2023-10-16T14:16:09+00:00", "update_time": "2023-10-17T20:11:55+00:00", "function": { "irri_switch": { "type": "Boolean", "value": {} }, "mode": { "type": "Boolean", "value": {} }, "rain": { "type": "Boolean", "value": {} }, "act": { "type": "Boolean", "value": {} }, "timer": { "type": "Raw", "value": {} }, "circulate_timer": { "type": "Raw", "value": {} }, "temp_humi": { "type": "Boolean", "value": {} }, "En_time": { "type": "Raw", "value": {} }, "irrigation_timer": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 1439, "scale": 0, "step": 1 } }, "Flow_reset": { "type": "Boolean", "value": {} }, "maxtemp_set": { "type": "Integer", "value": { "unit": "\u2103", "min": -200, "max": 600, "scale": 1, "step": 1 } }, "minitemp_set": { "type": "Integer", "value": { "unit": "\u2103", "min": -200, "max": 600, "scale": 1, "step": 1 } }, "maxhum_set": { "type": "Integer", "value": { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "minihum_set": { "type": "Integer", "value": { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "outlet_pressure": { "type": "Integer", "value": { "unit": "Mpa", "min": 0, "max": 999, "scale": 0, "step": 1 } }, "flow_calibration": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 99999, "scale": 0, "step": 1 } } }, "status_range": { "fault": { "type": "Bitmap", "value": { "label": [ "0" ], "maxlen": 1 } }, "irri_switch": { "type": "Boolean", "value": {} }, "mode": { "type": "Boolean", "value": {} }, "rain": { "type": "Boolean", "value": {} }, "act": { "type": "Boolean", "value": {} }, "timer": { "type": "Raw", "value": {} }, "circulate_timer": { "type": "Raw", "value": {} }, "temp_humi": { "type": "Boolean", "value": {} }, "En_time": { "type": "Raw", "value": {} }, "model": { "type": "Bitmap", "value": { "label": [ "0", "1" ], "maxlen": 2 } }, "log": { "type": "Raw", "value": {} }, "irrigation_timer": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 1439, "scale": 0, "step": 1 } }, "Flow_reset": { "type": "Boolean", "value": {} }, "temp_current": { "type": "Integer", "value": { "unit": "\u2103", "min": -200, "max": 600, "scale": 1, "step": 1 } }, "humidity_value": { "type": "Integer", "value": { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "battery_state": { "type": "Enum", "value": { "range": [ "low", "middle", "high" ] } }, "maxtemp_set": { "type": "Integer", "value": { "unit": "\u2103", "min": -200, "max": 600, "scale": 1, "step": 1 } }, "minitemp_set": { "type": "Integer", "value": { "unit": "\u2103", "min": -200, "max": 600, "scale": 1, "step": 1 } }, "maxhum_set": { "type": "Integer", "value": { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "minihum_set": { "type": "Integer", "value": { "unit": "%", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "charge_state": { "type": "Boolean", "value": {} }, "water_once": { "type": "Integer", "value": { "unit": "L", "min": 0, "max": 1000000, "scale": 0, "step": 1 } }, "flowrate_total": { "type": "Integer", "value": { "unit": "L", "min": 0, "max": 999999999, "scale": 0, "step": 1 } }, "outlet_pressure": { "type": "Integer", "value": { "unit": "Mpa", "min": 0, "max": 999, "scale": 0, "step": 1 } }, "flow_rate_instant_value": { "type": "Integer", "value": { "unit": "L/min", "min": 0, "max": 100, "scale": 0, "step": 1 } }, "flow_calibration": { "type": "Integer", "value": { "unit": "", "min": 1, "max": 99999, "scale": 0, "step": 1 } } }, "status": { "fault": 0, "irri_switch": false, "mode": false, "rain": false, "act": false, "timer": "AA==", "circulate_timer": "AAAAAAAAAAAAAAAA", "temp_humi": false, "En_time": "", "model": 0, "log": "AAA=", "irrigation_timer": 1, "Flow_reset": false, "temp_current": -200, "humidity_value": 0, "battery_state": "high", "maxtemp_set": -200, "minitemp_set": -200, "maxhum_set": 0, "minihum_set": 0, "charge_state": false, "water_once": 0, "flowrate_total": 0, "outlet_pressure": 0, "flow_rate_instant_value": 0, "flow_calibration": 1 }, "home_assistant": { "name": "Zigbee single channel controller", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [] } }

**Device specifications (please complete the following information, which can be found in [log](https://github.com/tuya/tuya- { "result": { "active_time": 1697465769, "category": "cz", "create_time": 1697465769, "custom_name": "", "icon": "smart/icon/ay156273665527930ojI/16535309910048d1bb4df.jpg", "id": "bf2357c182ac9235966nr3", "ip": "", "is_online": true, "lat": "50.1200", "local_key": "", "lon": "14.6300", "model": "", "name": "Zigbee single channel controller", "product_id": "0jxeoadc", "product_name": "zigbee单路控制器", "sub": true, "time_zone": "+02:00", "update_time": 1697465769, "uuid": "a4c138aa87d0c88f" }, "success": true, "t": 1697574904221, "tid": "a6eca4846d2c11eebdf0a64fb2ede3b1" }

In Smart life app is device working. In Ha is loaded via Tuya but is empty without entity and possibility to control.

Contributor guide