-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Thermostat TV02 throws error exeption on setting schedule for each day of the week #6418
Comments
Didn't work at my side. |
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 |
who can fix this? |
I wasn't able to make a proper fix in my mind. Here is the according pull request. Main issue for me understanding is that during the send_payload from the iobroker.zigbee only the message itself is provided, this will unfortunately never contain the working_day setting. |
Setting a schedule for one day of the week in the format like this { "schedule": { "week_day": "monday", "schedule": "06:00/20 22:00/19 24:00/18" } } via field send_payload throws a exeption. It is not possible to set the value on respective object because the field working_day is not read from the object list here.
ioBroker.zigbee v1.8.23 zigbee-herdsman-converters v15.107.0
protocol:
Stack trace for null: Error: Invalid "working_day" property, need to set it before at Object.to (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/src/lib/tuya.ts:641:23) at Object.convertSet (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman-converters/src/lib/tuya.ts:897:57) at /opt/iobroker/node_modules/iobroker.zigbee/main.js:735:52
https://www.zigbee2mqtt.io/devices/TV02-Zigbee.html
This occurs on following thermostats:
TV02-Zigbee / TS0601 manufacturer: _TZE200_hue3yfsn and _TZE200_mudxchsu
The processing of the field weekScheduleType must be fixed here.
hard copy from debugger:
Patching the field weekScheduleType in the debugger as work around helps to fill the 7 schedule fields.
see also this issue ioBroker/ioBroker.zigbee#1898
The text was updated successfully, but these errors were encountered: