Tuya M8Pro 4‑gang switch with LCD – how to fix time / add clock support in Zigbee2MQTT?

Hi all,

I am using a Tuya M8Pro 4‑gang switch with LCD on Zigbee2MQTT (not Tuya hub), integrated into Home Assistant.

  • Zigbee2MQTT exposes the device as model M8Pro (vendor Tuya).
  • The LCD weather is working:
    • temperature_1number.garage_temperature_1
    • condition_1select.garage_condition_1
  • I update those from weather.home via an automation, and the screen correctly shows the temperature and weather condition.

However, the clock on the LCD shows the wrong time, even though:

  • Home Assistant time and timezone are correct.​
  • The host running Zigbee2MQTT also has correct local time, timezone, and NTP.​
  • Zigbee2MQTT logs show the correct time.​

From the Zigbee2MQTT device definition / exposes for M8Pro, I see only:

  • Switches state_l1state_l4
  • Names for switches and scenes
  • Modes mode_l1mode_l4
  • backlight, indicator_switch, backlight_switch
  • temperature_1 (numeric, -65…99)
  • condition_1 (enum: sunny, cloudy, rain, thunder_shower, etc.)
  • action, linkquality

There is no property for time or timezone in exposes, and no obvious Tuya DP for clock/time.​

Questions:

  1. Is the M8Pro supposed to sync time from the Zigbee genTime cluster via Zigbee2MQTT?
  • If yes, is genTime implemented for this device, or is this still missing in the converter?​
  1. Is there any hidden Tuya DP for time / timezone on this model that someone has already reverse‑engineered (e.g. by sniffing traffic when paired to a Tuya hub)?​
  2. Has anyone successfully updated the M8Pro clock via:
  • A custom toZigbee converter that writes to a time DP, or
  • A manual mqtt.publish command using "write":{"cluster":"genTime",...} to the device endpoint, similar to what people do for some TRVs?​

Right now it looks like:

  • Weather (condition + temperature) is fully controllable from HA.
  • The clock is not configurable because neither genTime nor a Tuya time DP is exposed for M8Pro in Zigbee2MQTT.

If anyone has:

  • A custom zigbee-herdsman-converters snippet for M8Pro that handles time, or
  • DP IDs and payload examples for setting time / timezone on this device,

please share details. Happy to test custom converters and report back so this can be added to official Zigbee2MQTT support.​

Thanks!

Hi

I have the same issue, but looks like it has been fixed 2 days ago:

Release v25.99.0 · Koenkk/zigbee-herdsman-converters · GitHub

So we need to wait for Zigbee2MQTT new update. Or try Edge version.

Regards