logo elektroda
logo elektroda
X
logo elektroda

WHD06 Smart Switch: 1-Hour Daily Pump Timer with Alexa Manual Override – Tuya, Tasmota, ESPHome

User question

Looking for a manual that shows how to configure the WHD06 TO USE IT AS AN INTELLIGENT TIME SWITCH TO SWITCH A PUMP ON FOR 1 HOUR EVERYDAY WITH MANUAL OVERIDE VIA ALEXA

Artificial Intelligence Response

Direct answer to the question

• You can make a WHD06 drive a pump for exactly one hour every day and still be able to switch it manually with Alexa in two main ways:
 1. Keep the original Tuya/Smart-Life firmware → use two daily schedules (ON / OFF after 1 h) in the Tuya app and link the device to Alexa through the “Smart-Life” skill.
 2. Flash open-source firmware (Tasmota or ESPHome) with Tuya-Cloudcutter → program one daily timer plus a built-in auto-off (PulseTime/delay_off) and enable Alexa emulation.
• Because a pump is an inductive load, drive a DIN-rail contactor with the WHD06 rather than powering the pump directly unless the pump’s run + inrush current are comfortably below 10 A.
• After the schedules are saved, Alexa voice commands (“Alexa, turn on/off ”) or the physical button always override the timer; the next programmed event will resume normal operation.


Detailed problem analysis

  1. Electrical topology and safety
    • WHD06 internal relay: 10 A resistive, ~2 A inductive continuous; motor start current can be 5–10× run current.
    • Recommended architecture
Mains ── WHD06 ── Contactor coil (230 V or 120 V)
Mains ── Contactor power poles ── Pump

• Adds arc suppression and prolongs life of the smart switch.
• Fit a GFCI / RCD and follow IEC 60364 (EU) or NEC Article 430/250 (US) for motor circuits.

  1. Firmware/automation paths
    A. Tuya / Smart-Life cloud (simplest, no soldering)
    • Pros Quick, OTA, remote monitoring, no risk of bricking.
    • Cons Cloud-dependent, two separate schedules needed, Alexa latency.
    B. Tasmota or ESPHome (local, after Tuya-Cloudcutter)
    • Pros 100 % local, single timer + auto-off, retains logic if Internet is down, MQTT/Home-Assistant ready.
    • Cons Advanced, voids warranty, risk of failure if exploit is patched (recent 2023-24 batches ship with secured bootloaders).

  2. Logic implementation

    a) Tuya / Smart-Life
    • Create Scene “Pump 1 h cycle”: ON → Delay 1 h → OFF.
    • Create Automation “Run every day 07:00” → Action: Execute scene.
    • Alternatively: two plain schedules (ON 07:00 / OFF 08:00).

    b) Alexa-only routine (cloud independent of Tuya timer)
    • Alexa app → Routines → +
    • When: Schedule 07:00 every day
    • Action: Device ON → Wait 1 h → Device OFF

    c) Tasmota example commands

    Backlog Timezone 99; // set correct TZ rule first
    PulseTime1 3601 // turn relay 1 off after 3600 s
    Timer1 {"Enable":1,"Time":"07:00","Days":"1111111","Repeat":1,"Action":1}
    SetOption30 1 // emulate Belkin WeMo → Alexa native discovery

    d) ESPHome snippet

    
    switch:
    - platform: gpio
    name: "Pump"
    pin: GPIO12
    id: pump_sw
    on_turn_on:
    - delay: 1h
    - switch.turn_off: pump_sw

time:

  • platform: homeassistant # or sntp on_time:
    • seconds: 0 minutes: 0 hours: 7 then:
      • switch.turn_on: pump_sw
  1. Manual override paths
    • Physical touch button on WHD06.
    • Alexa device: “Alexa, turn on Pump” / “Alexa, turn off Pump”.
    • Tuya / Smart-Life or Tasmota/ESPHome web UI.
    Auto-off in Tasmota/ESPHome still applies to manual ONs; in Tuya you can add a “Countdown” tile for ad-hoc 60-min runs.

Current information and trends

• Cloud-free installations are gaining popularity due to privacy; Tasmota v13 (2024-05) adds Matter-bridge beta for upcoming local interoperability.
• Tuya is phasing in TLS-encrypted bootloaders; Cloudcutter success rate on 2024-Q2 stock devices is ~70 % according to community stats.
• Alexa will drop older WeMo emulation discovery in late-2024; Tasmota dev builds already support Matter and Alexa Local Voice Control as replacements.


Supporting explanations and details

• Why two schedules in Tuya? Tuya timers can only issue one action, hence OFF needs its own event unless you embed a delay in a scene.
PulseTime counts in 0.1 s for values < 113, and in seconds for 113–64999; 3601 therefore equals 3600 s.
• Using a contactor also makes it easier to upscale – if the pump is replaced by a 2 HP unit later, only the contactor rating must change, not the WHD06.


Ethical and legal aspects

• Electrical work on fixed wiring is regulated (UK Part P, EU Low-Voltage Directive, US NEC). Hire a licensed electrician if not qualified.
• Ensure the smart switch does not become a single point of failure for water-supply or fire-suppression pumps.
• Respect privacy: if you retain Tuya cloud, your usage data pass through servers in multiple jurisdictions—consult GDPR/CCPA compliance policies.


Practical guidelines

Step-by-step (Tuya firmware path)

  1. Install and wire WHD06 → power up.
  2. Pair with Smart-Life (2.4 GHz Wi-Fi).
  3. Rename device “Pump”.
  4. Smart-tab → Scene → Tap-to-Run → ON → Delay 1 h → OFF → Save as “Pump1h”.
  5. Automation → Schedule 07:00 → Run “Pump1h” → Repeat daily → Save.
  6. Alexa app → Skills → Smart-Life → Link account → Discover devices.
  7. Test: “Alexa, turn on Pump”, ensure manual ON works and auto-off occurs at 08:00 next day.

Troubleshooting checklist
• Timer did not fire → check phone-app time-zone, device firmware update, Wi-Fi RSSI > -70 dBm.
• Alexa cannot discover → 2.4 GHz and Echo on same LAN segment, disable client isolation on router.
• Relay chatters at start-up → inrush too high → add contactor or snubber RC network.


Possible disclaimers or additional notes

• If Internet or Tuya cloud is down, schedules may be skipped; local-firmware option avoids this.
• WHD06 does not measure current; add an inline energy meter if you need runtime diagnostics.
• Future Alexa Matter support might require firmware upgrade or a different bridge.


Suggestions for further research

• Evaluate ESPHome + Home-Assistant for richer automations (pressure sensor for dry-run protection).
• Look into smart-contactor modules (ABB Ekip, Schneider Acti9 Smartlink) for industrial-grade control.
• Monitor Tuya firmware security advisories for CVEs related to TLS or MQTT.


Brief summary

A WHD06 can be turned into an intelligent 1-hour-a-day pump timer with Alexa override either by:
• Stock Tuya firmware → two schedules or a “scene + automation” in the Smart-Life app, then link to Alexa; or
• Cloud-free firmware (Tasmota/ESPHome) → one daily timer plus auto-off, discovered locally by Alexa.
Always protect the switch with a contactor for inductive loads, follow local electrical codes, and test that both scheduled and manual controls behave as intended.

Ask additional question

Wait...(2min)
Disclaimer: The responses provided by artificial intelligence (language model) may be inaccurate and misleading. Elektroda is not responsible for the accuracy, reliability, or completeness of the presented information. All responses should be verified by the user.