Skip to content
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

[New device support]: Loocam LNADSC1WBS Door & Window sensor #26633

Open
oapy123 opened this issue Mar 6, 2025 · 0 comments
Open

[New device support]: Loocam LNADSC1WBS Door & Window sensor #26633

oapy123 opened this issue Mar 6, 2025 · 0 comments
Labels
new device support New device support request

Comments

@oapy123
Copy link

oapy123 commented Mar 6, 2025

Link

https://loocam.com/products/loocam-door-and-window-sensor-wireless-mini-zigbee-door-sensor-alarm-for-smart-home-security-hub-required

Database entry

{"id":31,"type":"EndDevice","ieeeAddr":"0x943469fffedc3d9e","nwkAddr":32845,"manufId":4098,"manufName":"","powerSource":"Battery","modelId":"LNADSC1WBS","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,1280],"outClusterList":[3,25],"clusters":{"genBasic":{"attributes":{"modelId":"LNADSC1WBS","manufacturerName":"","stackVersion":0,"dateCode":"","swBuildId":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x048727fffe1bfc06","zoneState":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":108,"stackVersion":0,"hwVersion":104,"dateCode":"","swBuildId":"","zclVersion":8,"interviewCompleted":true,"meta":{},"lastSeen":1741297674475}

Zigbee2MQTT version

2.1.3

Comments

Device Name: Locam Door & Window Sensor
Manufacturer: Loocam
Model ID: DS1
Zigbee Model ID: LNADSC1WBS

Pairing Log
info 2025-03-06 16:47:44zh:controller: Interview for '0x943469fffedc3d9e' started info 2025-03-06 16:47:44z2m: Device '0x943469fffedc3d9e' joined info 2025-03-06 16:47:44z2m: Starting interview of '0x943469fffedc3d9e' info 2025-03-06 16:47:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x943469fffedc3d9e","ieee_address":"0x943469fffedc3d9e"},"type":"device_joined"}' info 2025-03-06 16:47:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x943469fffedc3d9e","ieee_address":"0x943469fffedc3d9e","status":"started"},"type":"device_interview"}' info 2025-03-06 16:47:54zh:controller: Succesfully interviewed '0x943469fffedc3d9e' info 2025-03-06 16:47:54z2m: Successfully interviewed '0x943469fffedc3d9e', device has successfully been paired warning 2025-03-06 16:47:54z2m: Device '0x943469fffedc3d9e' with Zigbee model 'LNADSC1WBS' and manufacturer name '' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html info 2025-03-06 16:47:54z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Automatically generated definition","exposes":[{"access":1,"description":"Indicates whether IAS Zone alarm 1 is active","label":"Alarm 1","name":"alarm_1","property":"alarm_1","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Indicates whether IAS Zone alarm 2 is active","label":"Alarm 2","name":"alarm_2","property":"alarm_2","type":"binary","value_off":false,"value_on":true},{"access":1,"category":"diagnostic","description":"Indicates whether the device is tampered","label":"Tamper","name":"tamper","property":"tamper","type":"binary","value_off":false,"value_on":true},{"access":1,"category":"diagnostic","description":"Indicates whether the battery of the device is almost empty","label":"Battery low","name":"battery_low","property":"battery_low","type":"binary","value_off":false,"value_on":true},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"LNADSC1WBS","options":[],"supports_ota":false,"vendor":""},"friendly_name":"0x943469fffedc3d9e","ieee_address":"0x943469fffedc3d9e","status":"successful","supported":false},"type":"device_interview"}'

External definition

const m = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['LNADSC1WBS'],
    model: 'LNADSC1WBS',
    vendor: '',
    description: 'Automatically generated definition',
    extend: [m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]})],
    meta: {},
};

module.exports = definition;

What does/doesn't work with the external definition?

Alarm 1 state seems to be backwards. When contact is closed, value = True. When contact opened, value = False

Alarm 2 I have no idea what this is supposed to be. I do not understand the behavior. When you engage or disengage the tamper switch, Alarm 1 resets to True. Then the next time you close the contact, Alarm 1 changes to False and stays there until tamper is engaged or disengaged again, even if you open/close the contact repeatedly.

Tamper seems to be working well. When the tamper switch is disengaged (unmounted), it reads 'Tampered'. When engaged (mounted), it reads Clear.

Battery low is not working properly. It behaves very similar to Alarm 2, except with the value being the opposite, i.e. when Alarm 2 reads True, Battery low reads False. This is with brand new battery.

@oapy123 oapy123 added the new device support New device support request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests

1 participant