zigbee-herdsman-converters icon indicating copy to clipboard operation
zigbee-herdsman-converters copied to clipboard

Unable to clear schedule of Sonoff TRVZB

Open jamesonuk opened this issue 1 year ago • 2 comments

I set a schedule on one of my TRVs for testing but not want to remove it but it there appears to be no way of doing so.

When going through the converter it tries to parse the values and you end up with a date is not in the right format error https://github.com/Koenkk/zigbee-herdsman-converters/blob/da06cd9dc141515f5787a87d9e1273cc8870e946/src/devices/sonoff.ts#L108 or if you publish a blank schedule

Debug 2024-02-21 11:36:43Received MQTT message on 'zigbee2mqtt/Spare Room TRV/set' with data '{"weekly_schedule": {}}'
Debug 2024-02-21 11:36:43Publishing 'set' 'weekly_schedule' to 'Spare Room TRV'

it goes through but nothing happens.

I have tried executing the command directly (looks like hvacThermostat is 513 and clearWeeklySchedule is 3 https://github.com/Koenkk/zigbee-herdsman/blob/4197dc91bd59cc17379e8abd1f2cec0a912e3852/src/zcl/definition/cluster.ts#L2099 which says it is invoked

Info 2024-02-21 12:06:59Invoked '513.3' with payload '{}'

but doesn't do anything.

I have tried sending various commands to 513.1 (setWeeklySchedule) without success.

I guess the clearWeeklySchedule is an issue with the device itself but should the converted not check if all days are empty and if so call the clearWeeklySchedule command rather than set?

jamesonuk avatar Feb 21 '24 12:02 jamesonuk

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Aug 20 '24 01:08 github-actions[bot]

Avoiding auto close

jamesonuk avatar Aug 20 '24 02:08 jamesonuk