zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Side effect to a device when pressing a key of Osram mini switch

Open nighthawkii opened this issue 6 years ago • 3 comments

version used: 1.8.0 coordinator used; cc2531

Hi,

I am using some devices under zigbee2mqtt, relay switch Aqara LLKZMK11LM (ID3), and a Osram MiniSwitch AC025110 (ID7)

In fact, when I press the UP key of the Osram, it sends a mqtt command ON to the output I1 of the Aqara relay, and when I press the DOWN key, it sends a OFF to the output I1

2019-12-29 14:26:34.271 (Zigbee2MQTT Connector) MQTT message: zigbee2mqtt/OSRAM_MINI_SWITCH_02 {'action': 'up', 'voltage': 3000, 'linkquality': 36, 'battery': '100.00'} 2019-12-29 14:26:34.285 (Zigbee2MQTT Connector) MQTT message: zigbee2mqtt/RELAY_SWITCH_SAM {'linkquality': 39, 'consumption': 0.05, 'state_l1': 'ON', 'state_l2': 'OFF', 'temperature': 25, 'power': 0.06}

I tried with Domoticz process off in order to be sure that the issue was not coming from domoticz.

Any idea ?

{"id":3,"type":"Router","ieeeAddr":"0x00158d0003585036","nwkAddr":25388,"manufId":4151,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.relay.c2acn01","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":257,"inClusterList":[0,3,4,5,1,2,10,6,16,2820,12],"outClusterList":[25,10],"clusters":{"genBasic":{"dir":{"value":1},"attributes":{"65281":{"3":23,"5":14,"7":"0x0000000000000000","8":4643,"9":513,"100":0,"101":0,"110":0,"111":0,"148":1,"149":0.047187499701976776,"150":2123.93701171875,"151":0.0035429000854492188,"152":0.00767827033996582,"155":0},"zclVersion":0,"appVersion":35,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.relay.c2acn01","dateCode":"09-20-2018","powerSource":4,"locationDesc":"","alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attributes":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":30}},"genDeviceTempCfg":{"dir":{"value":1},"attributes":{"currentTemperature":0,"lowTempThres":45,"highTempThres":60}},"genIdentify":{"dir":{"value":1},"attributes":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attributes":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attributes":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0,"lastCfgBy":"0xffffffffffffffff"}},"genOnOff":{"dir":{"value":1},"attributes":{"61440":117440516,"onOff":0}},"genTime":{"dir":{"value":3},"attributes":{"time":0,"timeStatus":0}},"genAnalogInput":{"dir":{"value":1},"attributes":{"description":"CHANN","maxPresentValue":2500,"outOfService":0,"presentValue":0,"statusFlags":0}},"genBinaryOutput":{"dir":{"value":1},"attributes":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":100000,"minimumOnTime":100000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109376}},"genOta":{"dir":{"value":2},"attributes":{}},"haElectricalMeasurement":{"dir":{"value":1},"attributes":{"measurementType":1,"acFrequency":65535,"rmsVoltage":65535,"rmsCurrent":65535,"activePower":-1,"powerFactor":0}}},"binds":[]},"2":{"profId":260,"epId":2,"devId":257,"inClusterList":[6,16,4,5],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attributes":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attributes":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0,"lastCfgBy":"0xffffffffffffffff"}},"genOnOff":{"dir":{"value":1},"attributes":{"61440":117440517,"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attributes":{"activeText":"ON","description":"CHANNEL2","inactiveText":"OFF","minimumOffTime":100000,"minimumOnTime":100000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109377}}},"binds":[]}},"appVersion":35,"stackVersion":2,"hwVersion":18,"dateCode":"09-20-2018","zclVersion":0,"meta":{}}

{"id":7,"type":"EndDevice","ieeeAddr":"0x000d6f00101cdbf1","nwkAddr":53023,"manufId":4364,"manufName":"OSRAM","powerSource":"Battery","modelId":"Lightify Switch Mini","epList":[1,2,3],"endpoints":{"1":{"profId":260,"epId":1,"devId":2064,"inClusterList":[0,1,32,4096,64768],"outClusterList":[3,4,5,6,8,25,768,4096],"clusters":{"genBasic":{"attributes":{"modelId":"Lightify Switch Mini","manufacturerName":"OSRAM","powerSource":3,"zclVersion":1,"appVersion":1,"stackVersion":0,"hwVersion":1,"dateCode":"201711212023030","swBuildId":"e.1.11.0M"}},"genPowerCfg":{"attributes":{"batteryVoltage":30}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1}]},"2":{"profId":260,"epId":2,"devId":2064,"inClusterList":[0,4096,64768],"outClusterList":[3,4,5,6,8,768,4096],"clusters":{},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1}]},"3":{"profId":260,"epId":3,"devId":2064,"inClusterList":[0,4096,64768],"outClusterList":[3,4,5,6,8,768,4096],"clusters":{},"binds":[{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x00124b0018e1f870","endpointID":1}]}},"appVersion":1,"stackVersion":0,"hwVersion":1,"dateCode":"201711212023030","swBuildId":"e.1.11.0M","zclVersion":1,"interviewCompleted":true,"meta":{"configured":1}}

Bug Report

What happened

What did you expect to happen

How to reproduce it (minimal and precise)

Debug Info

zigbee2mqtt version: CC253X firmware version:

nighthawkii avatar Dec 30 '19 11:12 nighthawkii

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 28 '20 11:02 stale[bot]

Hello,

I tried with the v1.10, and with an other Osram MiniSwitch paired, I got the same result with an other relay switch.

I found as workaround to re-pair several time the Osram MiniSwitch

nighthawkii avatar Feb 28 '20 14:02 nighthawkii

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 28 '20 15:04 stale[bot]