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]: Marmitek Sense ME #15772

Closed
Peterpc58 opened this issue Dec 27, 2022 · 12 comments
Closed

[New device support]: Marmitek Sense ME #15772

Peterpc58 opened this issue Dec 27, 2022 · 12 comments
Labels
new device support New device support request

Comments

@Peterpc58
Copy link

Peterpc58 commented Dec 27, 2022

Link

https://marmitek.com/products/sense-me-motion-sensor-wireless-scene-activation-zigbee-3-0?scr=yes

Database entry

{"id":83,"type":"EndDevice","ieeeAddr":"0x8cf681fffeba94eb","nwkAddr":40761,"manufId":4098,"manufName":"_TYZB01_yr95mpib","powerSource":"Battery","modelId":"SM0202","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,1280,61183],"outClusterList":[25],"clusters":{"genPowerCfg":{"attributes":{"batteryVoltage":32,"batteryPercentageRemaining":200}},"genBasic":{"attributes":{"modelId":"SM0202","manufacturerName":"_TYZB01_yr95mpib","zclVersion":3,"appVersion":73,"powerSource":3}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0022a54ffb","zoneState":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":73,"stackVersion":7,"hwVersion":1,"dateCode":"20190728","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1672152455032,"defaultSendRequestWhen":"immediate"}

Comments

I tried to follow the supporting new device page but got stuck on how to upload an image and the .js file.
Marmitek_SenseME.zip

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');

const definition = {
// Since a lot of TuYa devices use the same modelID, but use different datapoints
// it's necessary to provide a fingerprint instead of a zigbeeModel
fingerprint: [
{
// The model ID from: Device with modelID 'TS0601' is not supported
// You may need to add \u0000 at the end of the name in some cases
modelID: 'SM0202',
// The manufacturer name from: Device with modelID 'TS0601' is not supported.
manufacturerName: '_TYZB01_yr95mpib',
},
],
model: 'Sense ME',
vendor: 'Marmitek',
description: 'Motion sensor',
fromZigbee: [fz.ias_occupancy_alarm_1_with_timeout, fz.battery],
toZigbee: [],
onEvent: tuya.onEventSetTime, // Add this if you are getting no converter for 'commandMcuSyncTime'
configure: tuya.configureMagicPacket,
exposes: [e.occupancy(), e.battery_low(), e.battery()],
meta: {
// All datapoints go in here
tuyaDatapoints: [
],
},
};

module.exports = definition;

External converter

No response

Supported color modes

No response

Color temperature range

No response

@Peterpc58 Peterpc58 added the new device support New device support request label Dec 27, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Jan 27, 2023
@Peterpc58
Copy link
Author

Can this device be added?

@github-actions github-actions bot removed the stale Stale issues label Jan 28, 2023
@Peterpc58
Copy link
Author

Is this the right place to add a device, or must I place it somewhere else to add it?

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Mar 9, 2023
@Peterpc58
Copy link
Author

Can this device be added?

@github-actions github-actions bot removed the stale Stale issues label Mar 13, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Apr 13, 2023
@Peterpc58
Copy link
Author

Bump

@github-actions github-actions bot removed the stale Stale issues label Apr 14, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label May 15, 2023
@Peterpc58
Copy link
Author

Bump

@Koenkk
Copy link
Owner

Koenkk commented May 22, 2023

To confirm, does the external converter in the OP work?

@github-actions github-actions bot removed the stale Stale issues label May 23, 2023
@Peterpc58
Copy link
Author

Yes, the external converter is working.

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 24, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 24, 2023

added!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

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

2 participants