Dirnei / node-red-contrib-zigbee2mqtt-devices

Node-red nodes for controlling and managing zigbee devices managed by zigbee2mqtt
MIT License
30 stars 7 forks source link

Negative steps with Color Temperature Steps in override-action node don't work #104

Open ktstmu opened 3 years ago

ktstmu commented 3 years ago

Positive temperature steps work, but negative don't. This also applies to "Color Temperature Move" action.

Using Ikea lamps: https://www.zigbee2mqtt.io/devices/LED1732G11.html and Ikea E1810 dimmers: https://www.zigbee2mqtt.io/devices/E1524_E1810.html

Node-red version: 1.3.1

ktstmu commented 3 years ago

My apologies, node-red-contrib-zigbee2mqtt version is 0.19.2.

Dirnei commented 3 years ago

Just tested it right now and can't confirm your problem.

[{"id":"eeb802ca.2326b","type":"generic-lamp","z":"1653d001.812ab","device":"b7084dbd.5a97e","name":"Gang Tür","state":"ON","brightness":0,"temperature":"290","red":0,"green":0,"blue":0,"transition":2,"delay":0,"x":800,"y":400,"wires":[["6eb309f4.175758"]]},{"id":"6eb309f4.175758","type":"generic-lamp","z":"1653d001.812ab","device":"75ea5633.f806c8","name":"Gang Mitte","state":"ON","brightness":0,"temperature":"290","red":0,"green":0,"blue":0,"transition":2,"delay":0,"x":950,"y":400,"wires":[["985d5a4f.d88f88"]]},{"id":"985d5a4f.d88f88","type":"generic-lamp","z":"1653d001.812ab","device":"f88264b2.d72018","name":"Gang Küche","state":"ON","brightness":0,"temperature":"290","red":0,"green":0,"blue":0,"transition":2,"delay":0,"x":1110,"y":400,"wires":[["5ed6f022.0a5cb"]]},{"id":"ebe35073.62786","type":"link in","z":"1653d001.812ab","name":"AP Gang","links":["817893ac.9401f","f06ebd96.75801"],"x":705,"y":400,"wires":[["eeb802ca.2326b"]]},{"id":"5ed6f022.0a5cb","type":"send-messages","z":"1653d001.812ab","name":"","bridge":"c4de601d.36247","x":1280,"y":400,"wires":[]},{"id":"eb773ab6.faad58","type":"ikea-remote","z":"1653d001.812ab","name":"Ikea Remote","bridge":"c4de601d.36247","deviceName":"0xec1bbdfffea27ead","x":750,"y":500,"wires":[[],[],[],["e21daa2f.fb9178"],["283e6c44.bd11a4"]]},{"id":"283e6c44.bd11a4","type":"button-switch","z":"1653d001.812ab","name":"","enablePressed":true,"enableHold":false,"enableReleased":false,"enableDouble":false,"payloadPressed":"","payloadHold":"","payloadReleased":"","payloadDouble":"","typePressed":"str","typeHold":"str","typeReleased":"str","typeDouble":"str","customPayloadPressed":false,"customPayloadHold":false,"customPayloadReleased":false,"customPayloadDouble":false,"repeatHold":false,"repeatHoldDelay":500,"repeatHoldMax":20,"dynamicOutputLabels":["Pressed"],"outputs":1,"x":930,"y":520,"wires":[["b9a82fe5.78bf7"]]},{"id":"e21daa2f.fb9178","type":"button-switch","z":"1653d001.812ab","name":"","enablePressed":true,"enableHold":false,"enableReleased":false,"enableDouble":false,"payloadPressed":"","payloadHold":"","payloadReleased":"","payloadDouble":"","typePressed":"str","typeHold":"str","typeReleased":"str","typeDouble":"str","customPayloadPressed":false,"customPayloadHold":false,"customPayloadReleased":false,"customPayloadDouble":false,"repeatHold":false,"repeatHoldDelay":500,"repeatHoldMax":20,"dynamicOutputLabels":["Pressed"],"outputs":1,"x":930,"y":480,"wires":[["8003d37e.414a5"]]},{"id":"8003d37e.414a5","type":"override-action","z":"1653d001.812ab","name":"","value":"-50","mode":"color_temp_step","x":1100,"y":480,"wires":[["f06ebd96.75801"]]},{"id":"f06ebd96.75801","type":"link out","z":"1653d001.812ab","name":"","links":["ebe35073.62786"],"x":1255,"y":480,"wires":[]},{"id":"b9a82fe5.78bf7","type":"override-action","z":"1653d001.812ab","name":"","value":50,"mode":"color_temp_step","x":1100,"y":520,"wires":[["f06ebd96.75801"]]},{"id":"b7084dbd.5a97e","type":"zigbee2mqtt-device-config","name":"Gang Tür","bridge":"c4de601d.36247","deviceName":"Ikea Gang Tür","brightnessSupport":true,"temperatureSupport":true,"colorSupport":false,"genericMqttDevice":false,"statusTopic":"","commandTopic":"","refreshTopic":""},{"id":"75ea5633.f806c8","type":"zigbee2mqtt-device-config","name":"Gang Mitte","bridge":"c4de601d.36247","deviceName":"Ikea Gang Mitte","brightnessSupport":true,"temperatureSupport":true,"colorSupport":false,"genericMqttDevice":false,"statusTopic":"","commandTopic":"","refreshTopic":""},{"id":"f88264b2.d72018","type":"zigbee2mqtt-device-config","name":"Gang Küche","bridge":"c4de601d.36247","deviceName":"Ikea Gang Küche","brightnessSupport":true,"temperatureSupport":true,"colorSupport":false,"genericMqttDevice":false,"statusTopic":"","commandTopic":"","refreshTopic":""},{"id":"c4de601d.36247","type":"zigbee2mqtt-bridge-config","name":"raspi","broker":"a6984d79.a350c","baseTopic":"zigbee2mqtt","enabledLogging":false,"allowDeviceStatusRefresh":false},{"id":"a6984d79.a350c","type":"mqtt-broker","name":"unifi","broker":"192.168.0.251","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]

Please try this flow above. It was working for me.

Dirnei commented 3 years ago

@ktstmu still a problem?