zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Danfos Ally 014G2461 - thermostat_vertical_orientation sends wrong payload

Open surrealo opened this issue 6 months ago • 5 comments

What happened?

the thermostat_vertical_orientation doesn't send a correct payload anymore. it should be a boolean

log: [02/05/2026, 11:53:26] frontend:api: Sending {"topic":"0xb4e3f9fffed428a4/set","payload":{"thermostat_vertical_orientation":"vertical"}} [02/05/2026, 11:54:34] frontend:api: Sending {"topic":"0xb4e3f9fffed428a4/set","payload":{"thermostat_vertical_orientation":"horizontal"}}

What did you expect to happen?

i expected that the payload was a boolean as in zigbee2mqtt 2.9.1 [02/05/2026, 12:01:57] frontend:api: Sending {"topic":"0xb4e3f9fffed428a4/set","payload":{"thermostat_vertical_orientation":true}} [02/05/2026, 12:02:01] frontend:api: Sending {"topic":"0xb4e3f9fffed428a4/set","payload":{"thermostat_vertical_orientation":false}}

How to reproduce it (minimal and precise)

toggle the viertical orientation. it should sen true if the orientation is vertical and false if not.

Zigbee2MQTT version

2.10.1

Adapter

usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus

Setup

Addon on home assistant yellow

Device database.db entry

No response

Debug log

No response

Notes

No response

surrealo avatar May 10 '26 08:05 surrealo

This seems to be the link to the converter for the device: https://github.com/Koenkk/zigbee-herdsman-converters/blob/37f56e2c28febc57722f1d7bc0e624da1127362c/src/devices/danfoss.ts#L1330

This converter calls: https://github.com/Koenkk/zigbee-herdsman-converters/blob/37f56e2c28febc57722f1d7bc0e624da1127362c/src/devices/danfoss.ts#L492 This is binary-property type.

The issue seems to be that the name of the property got left behind as-is upon refactoring. It won't help you, but i'll try to fix the confusion by providing a PR with the fixed name

GrumpyMeow avatar May 10 '26 19:05 GrumpyMeow

This seems to be the link to the converter for the device: https://github.com/Koenkk/zigbee-herdsman-converters/blob/37f56e2c28febc57722f1d7bc0e624da1127362c/src/devices/danfoss.ts#L1330

This converter calls: https://github.com/Koenkk/zigbee-herdsman-converters/blob/37f56e2c28febc57722f1d7bc0e624da1127362c/src/devices/danfoss.ts#L492 This is binary-property type.

The issue seems to be that the name of the property got left behind as-is upon refactoring. It won't help you, but i'll try to fix the confusion by providing a PR with the fixed name

oh, i see, thanks for the links to the converter and the explanation!. does that mean that it's actually sending the correct value to the device? in which case my bad. it was just odd that after the upgrade to 2.10.x the toggle was reset which was confusing.

surrealo avatar May 11 '26 05:05 surrealo

I think that it's indeed sending the correct orientation value horizontal/vertical. It's just that the name of the property is confusing thermostat_vertical_orientation as it got missed doing a refactoring. I expect that the property will be renamed to thermostat_orientation in the near future.

Hope it helps..

GrumpyMeow avatar May 11 '26 07:05 GrumpyMeow

I think that it's indeed sending the correct orientation value horizontal/vertical. It's just that the name of the property is confusing thermostat_vertical_orientation as it got missed doing a refactoring. I expect that the property will be renamed to thermostat_orientation in the near future.

Hope it helps..

ok, thanks!! i'll upgrade and hopefully my heating won't be broken.

surrealo avatar May 11 '26 07:05 surrealo

Fixed in https://github.com/Koenkk/zigbee-herdsman-converters/pull/12175.

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

Koenkk avatar May 11 '26 19:05 Koenkk