Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.73k stars 1.64k forks source link

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

Closed mario42004 closed 2 months ago

mario42004 commented 2 months ago

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;
Koenkk commented 2 months ago

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:

freakshock88 commented 2 months ago

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

mario42004 commented 2 months ago

Dear all, we have contacted the seller, and they have told us that so far, they do not have an online shop, but you can contact them directly to their mail. @.**@.>. We have bought them few units in Spain without any problem.

If you have another doubt, do not hesitate in contact us.

I hope this information is useful for you.

With my best regards,

Mario


De: freakshock88 @.> Enviado: lunes, 1 de julio de 2024 20:44 Para: Koenkk/zigbee2mqtt @.> Cc: MARIO FERNANDO JOJOA ACOSTA @.>; Mention @.> Asunto: Re: [Koenkk/zigbee2mqtt] [New device support]: Sleep Monitoring Pad SPM915 (Issue #23172)

@mario42004https://github.com/mario42004 If I may ask do you know a shop where this device can be bought?

β€” Reply to this email directly, view it on GitHubhttps://github.com/Koenkk/zigbee2mqtt/issues/23172#issuecomment-2200793526, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVVMZFNMF2XTT66X4VUYILZKGPSXAVCNFSM6AAAAABJ6RO6GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQG44TGNJSGY. You are receiving this because you were mentioned.Message ID: @.***>

mario42004 commented 2 months ago

....An additional information, the commercial mail of the seller that have attend us is, Name: Fini @.**@.>

The experience was very nice with him,

Regards again,

Mario


De: MARIO FERNANDO JOJOA ACOSTA @.> Enviado: martes, 2 de julio de 2024 15:10 Para: Koenkk/zigbee2mqtt @.>; Koenkk/zigbee2mqtt @.> Cc: Mention @.> Asunto: RE: [Koenkk/zigbee2mqtt] [New device support]: Sleep Monitoring Pad SPM915 (Issue #23172)

Dear all, we have contacted the seller, and they have told us that so far, they do not have an online shop, but you can contact them directly to their mail. @.**@.>. We have bought them few units in Spain without any problem.

If you have another doubt, do not hesitate in contact us.

I hope this information is useful for you.

With my best regards,

Mario


De: freakshock88 @.> Enviado: lunes, 1 de julio de 2024 20:44 Para: Koenkk/zigbee2mqtt @.> Cc: MARIO FERNANDO JOJOA ACOSTA @.>; Mention @.> Asunto: Re: [Koenkk/zigbee2mqtt] [New device support]: Sleep Monitoring Pad SPM915 (Issue #23172)

@mario42004https://github.com/mario42004 If I may ask do you know a shop where this device can be bought?

β€” Reply to this email directly, view it on GitHubhttps://github.com/Koenkk/zigbee2mqtt/issues/23172#issuecomment-2200793526, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVVMZFNMF2XTT66X4VUYILZKGPSXAVCNFSM6AAAAABJ6RO6GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQG44TGNJSGY. You are receiving this because you were mentioned.