Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamLooking 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
• 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
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.
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).
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:
• 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.
• 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.
• 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.
Step-by-step (Tuya firmware path)
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.
• 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.
• 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.
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.