-
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
Add support for Mercator Ikuu Combination Sensor SSWM-PIR-ZB #7918
base: master
Are you sure you want to change the base?
Conversation
model: 'SSWMPIR-ZB', | ||
vendor: 'Mercator Ikuü', | ||
description: 'Combination Sensor', | ||
fromZigbee: [fz.occupancy, fz.temperature, fz.humidity, fz.illuminance, fz.on_off, tuya.fz.datapoints], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fromZigbee: [fz.occupancy, fz.temperature, fz.humidity, fz.illuminance, fz.on_off, tuya.fz.datapoints], | |
fromZigbee: [tuya.fz.datapoints], |
Please test if it also works with just this
configure: async (device, coordinatorEndpoint, logger) => { | ||
const endpoint = device.getEndpoint(1); | ||
await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic', 'genOta', 'genTime', 'genGroups', 'genScenes']); | ||
await reporting.bind(endpoint, coordinatorEndpoint, ['genIdentify', 'manuSpecificTuya']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these binds really needed? Can you check after removing them and re-pairing the device, the device still works?
tuyaDatapoints: [ | ||
[1, 'temperature', tuya.valueConverter.divideBy10], | ||
[2, 'humidity', tuya.valueConverter.raw], | ||
//[10, ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all //[10, ],
, it doesn't add any value
//[102, ], | ||
//[103, ], | ||
[104, 'occupancy', tuya.valueConverter.trueFalse1], | ||
[105, 'state', tuya.valueConverterBasic.lookup({'ON': tuya.enum(0), 'OFF': tuya.enum(1), 'AUTO': tuya.enum(2)}) ] //Light motion setting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[105, 'state', tuya.valueConverterBasic.lookup({'ON': tuya.enum(0), 'OFF': tuya.enum(1), 'AUTO': tuya.enum(2)}) ] //Light motion setting | |
[105, 'light_mode', tuya.valueConverterBasic.lookup({'ON': tuya.enum(0), 'OFF': tuya.enum(1), 'AUTO': tuya.enum(2)}) ] //Light motion setting |
Adds support for the Mercator Ikuu Combination sensor. The device reports more datapoints but I can't make sense of them.
This should fix the device support request here: Koenkk/zigbee2mqtt#19424