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]: Sleep Monitoring Pad SPM915 #23172

Closed
mario42004 opened this issue Jun 26, 2024 · 4 comments
Closed

[New device support]: Sleep Monitoring Pad SPM915 #23172

mario42004 opened this issue Jun 26, 2024 · 4 comments
Labels
new device support New device support request

Comments

@mario42004
Copy link

Link

https://www.owon-smart.com/sleep-monitoring-pad-spm915-product/

Database entry

{"id":12,"type":"EndDevice","ieeeAddr":"0x3c6a2cfffed3ea3a","nwkAddr":48421,"manufId":4412,"manufName":"OWON","powerSource":"Battery","modelId":"SPM915","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,1,32],"outClusterList":[3],"clusters":{"genBasic":{"attributes":{"modelId":"SPM915","manufacturerName":"OWON","powerSource":3,"zclVersion":3,"appVersion":4,"stackVersion":0,"hwVersion":1,"dateCode":"20221019"}},"ssIasZone":{"attributes":{"iasCieAddr":"0xe0798dfffe71985f","zoneState":1}},"genPollCtrl":{"attributes":{"checkinInterval":14400}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}}},"binds":[{"cluster":32,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe71985f","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe71985f","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":65000,"repChange":10,"manufacturerCode":null}],"meta":{}}},"appVersion":4,"stackVersion":0,"hwVersion":1,"dateCode":"20221019","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1719427668763,"checkinInterval":3600}

Comments

The converter is ready to be used with this sensor. Please could you include this in your next release. Thanks

External definition

const {identify, iasZoneAlarm, battery} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['SPM915'],
    model: 'SPM915',
    vendor: 'OWON',
    description: 'Owon sleeping pad monitor',
    extend: [identify(), iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]}), battery()],
    meta: {},
};

module.exports = definition;
@mario42004 mario42004 added the new device support New device support request label Jun 26, 2024
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Jun 27, 2024
@Koenkk
Copy link
Owner

Koenkk commented Jun 27, 2024

Added, thanks!

Could you also submit a picture for the docs? This can be done by:

  1. Create a fork by clicking here
  2. Go to the public/images/devices directory, Add file -> Upload files
  3. Upload the files and press Commit changes
  4. Press Contribute -> Open pull request -> update title/description -> Create pull request

Make sure that:

  • The filename is MODEL.png (update model accordingly)
  • The size is 512x512
  • The background is transparent (use e.g. Adobe remove background)

@freakshock88
Copy link
Contributor

@mario42004 If I may ask do you know a shop where this device can be bought?

@mario42004
Copy link
Author

mario42004 commented Jul 2, 2024 via email

@mario42004
Copy link
Author

mario42004 commented Jul 2, 2024 via email

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

3 participants