According to the dev for plugin homebridge-z2m this is a Zigbee2mqtt issue.
When initializing homebridge the devices are being discovered followed by message "duplicate service handler"
When I try to toggle the outlet on/off I get the following message in homebridge. When looking into zigbee2mqtt log this outlet seems to control window detection for the valve.
What did you expect to happen?
Not really sure but the outlet that is beeing exposed seems unnecessary
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.35.1-dev commit: ce7d022f
Adapter firmware version
20230507
Adapter
slae.sh stick
Debug log
[09/01/2024, 18:42:36] [homebridge-z2m] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside write handler for characteristic: This callback function has already been called by someone else; it can only be called one time.. See https://homebridge.io/w/JtMGR for more info.
[09/01/2024, 18:42:36] [homebridge-z2m] Error: This callback function has already been called by someone else; it can only be called one time.
at /var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:12:13
at SwitchHandler.handleSetOn (/var/lib/homebridge/node_modules/homebridge-z2m/src/converters/switch.ts:126:5)
at On.emit (node:events:526:35)
at /var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2596:16
at new Promise ()
at On. (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2594:14)
at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
at new Promise ()
What happened?
I have a bunch of these thermostats https://www.zigbee2mqtt.io/devices/TS0601_thermostat.html#tuya-ts0601_thermostat They are correctly configured and everyting but in homebridge it is exposed as combined temperature and outlet. The outlet seems to do nothing
According to the dev for plugin homebridge-z2m this is a Zigbee2mqtt issue.
When initializing homebridge the devices are being discovered followed by message "duplicate service handler"
When I try to toggle the outlet on/off I get the following message in homebridge. When looking into zigbee2mqtt log this outlet seems to control window detection for the valve.
What did you expect to happen?
Not really sure but the outlet that is beeing exposed seems unnecessary
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.35.1-dev commit: ce7d022f
Adapter firmware version
20230507
Adapter
slae.sh stick
Debug log
[09/01/2024, 18:42:36] [homebridge-z2m] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside write handler for characteristic: This callback function has already been called by someone else; it can only be called one time.. See https://homebridge.io/w/JtMGR for more info. [09/01/2024, 18:42:36] [homebridge-z2m] Error: This callback function has already been called by someone else; it can only be called one time. at /var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:12:13 at SwitchHandler.handleSetOn (/var/lib/homebridge/node_modules/homebridge-z2m/src/converters/switch.ts:126:5) at On.emit (node:events:526:35) at /var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2596:16 at new Promise ()
at On. (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2594:14)
at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
at new Promise ()