Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bluetooth dual water timer #1890

Merged
merged 14 commits into from
May 25, 2024
7 changes: 4 additions & 3 deletions DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- Goldair heater models beginning with the code GPPH, GCPV, GECO
- Hama radiator controller
- Heatstorm HS-6000-GC heavy duty heater
- Herschel infrared heater
- Herschel infrared heater
- HJZ oil column radiator
- Hombli radiator controller
- INOW Wi-Fi heating element (single and dual air/water temperature control variants)
Expand Down Expand Up @@ -194,7 +194,7 @@
- Deta fan controller
- Djive ARC humidifying fan
- Duux Whisper Flex pedestal fan
- Eglo 5 speed + sleep ceiling fan
- Eglo 5 speed + sleep ceiling fan
- Fanco Eco Silent Deluxe ceiling fan with LED light
- Goldair GCPF315 fan
- Goldair Platinum tower fan (2 variants)
Expand Down Expand Up @@ -350,7 +350,7 @@
- V-WIFI-DL02-ES energy consumption clamp meter
- WDYK 2P63A energy meter
- WDYK 3 phase 4 pole 400V energy meter circuit breaker
- Yagusmart 3PN 63A 3-phase eneregy meter
- Yagusmart 3PN 63A 3-phase eneregy meter
- ZM-Wi-Fi smart meter

### Battery Charger
Expand Down Expand Up @@ -641,6 +641,7 @@ port and password.
- Aubess Rainpoint TTP106W irrigation system
- Becasmart BAF-908 irrigation system
- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
- HCT-626 bluetooth dual water timer (sold as Zefinot, Dewenwils, Diivoo, Lingusta, Soguyi and other brands)
- Holman WX1 tap timer (sprinkler controller)
- Holman WX2 dual tap timer
- Holman WX8 8 sprinkler irrigation controller
Expand Down
216 changes: 216 additions & 0 deletions custom_components/tuya_local/devices/HCT-626_dual_water_timer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
name: Dual water timer
products:
- id: key9nfnyp89j4esc
- id: ebb777wq1zxgr5og
- id: 8c63534780ffa00f
primary_entity:
entity: valve
name: Valve 1
class: water
dps:
- id: 1
type: boolean
name: valve
secondary_entities:
- entity: valve
name: Valve 2
class: water
dps:
- id: 2
type: boolean
name: valve
- entity: number
name: Timer 1
translation_key: timer
category: config
class: duration
make-all marked this conversation as resolved.
Show resolved Hide resolved
dps:
- id: 17
type: integer
name: value
range:
min: 30
max: 3600
mapping:
- scale: 60
step: 30
unit: min
- entity: number
name: Timer 2
translation_key: timer
category: config
class: duration
dps:
- id: 18
type: integer
name: value
range:
min: 30
max: 3600
mapping:
- scale: 60
step: 30
unit: min
- entity: sensor
name: Schedule
category: diagnostic
dps:
- id: 38
type: string
name: sensor
hidden: true
optional: true
- entity: sensor
name: Weather delay remaining
category: diagnostic
dps:
- id: 42
type: integer
name: sensor
unit: hour
make-all marked this conversation as resolved.
Show resolved Hide resolved
readonly: true
- entity: switch
name: Smart weather delay
category: config
class: duration
dps:
- id: 43
type: boolean
name: switch
- entity: sensor
name: Weather
class: enum
category: diagnostic
dps:
- id: 44
type: string
name: sensor
optional: true
mapping:
- dps_val: sunny
value: sunny
icon: "mdi:weather-sunny"
- dps_val: cloudy
value: cloudy
icon: "mdi:weather-cloudy"
- dps_val: rainy
value: rainy
icon: "mdi:weather-rainy"
- dps_val: snowy
value: snowy
icon: "mdi:weather-snowy"
- dps_val: null
value: unavailable
icon: "mdi:weather-sunny-off"
- entity: select
name: Weather delay
icon: "mdi:weather-cloudy-clock"
category: config
dps:
- id: 45
type: string
name: option
mapping:
- dps_val: "cancel"
value: "Off"
- dps_val: "1"
value: "1 day"
- dps_val: "2"
value: "2 days"
- dps_val: "3"
value: "3 days"
- dps_val: "4"
value: "4 days"
- dps_val: "5"
value: "5 days"
- dps_val: "6"
value: "6 days"
- dps_val: "7"
value: "7 days"
- entity: sensor
name: DPS 47
category: diagnostic
dps:
- id: 47
type: string
name: sensor
optional: true
- entity: number
name: DPS 53
category: diagnostic
dps:
- id: 53
type: integer
make-all marked this conversation as resolved.
Show resolved Hide resolved
name: value
optional: true
- entity: number
name: DPS 101
category: diagnostic
dps:
- id: 101
type: integer
name: value
optional: true
- entity: number
name: DPS 102
category: diagnostic
dps:
- id: 102
type: integer
name: value
optional: true
- entity: number
name: DPS 103
category: diagnostic
class: duration
dps:
- id: 103
type: integer
name: value
range:
min: 30
max: 3600
mapping:
- scale: 60
step: 30
unit: sec
- entity: number
name: DPS 104
category: diagnostic
class: duration
dps:
- id: 104
type: integer
name: value
range:
min: 30
max: 3600
mapping:
- scale: 60
step: 30
unit: sec
- entity: sensor
name: Valve 1 state
category: diagnostic
dps:
- id: 105
type: string
name: sensor
readonly: true
- entity: sensor
name: Valve 2 state
category: diagnostic
dps:
- id: 106
type: string
name: sensor
readonly: true
- entity: sensor
name: Spray Schedule
category: diagnostic
dps:
- id: 108
type: string
name: sensor
hidden: true
AdrianGarside marked this conversation as resolved.
Show resolved Hide resolved
optional: true