Comments (6)
Please try with the latest dev firmware (doesn't require re-pairing of devices), this should fix the undefined/message from coordinator errors which are holding you from continuing. (https://github.com/Koenkk/Z-Stack-firmware/tree/dev/coordinator/CC2531/bin)
from zigbee-herdsman-converters.
Looks like that did it.
zigbee2mqtt:info 2019-2-22 21:03:33 Succesfully configured TEST MCT-350 (0x000d6f000ccfb76c)
zigbee2mqtt:debug 2019-2-22 21:04:36 Received zigbee message of type 'attReport' with data '{"cid":"genPowerCfg","data":{"batteryVoltage":26}}' of device 'MCT-350 SMA' (0x000d6f000ccfb76c)
Thanks again!
from zigbee-herdsman-converters.
Well, maybe. Upon restarting zigbee2mqtt, I see:
zigbee2mqtt:error 2019-2-22 21:57:31 Failed to configure MCT-350 (1) (0x000d6f000ccfb76c) ('Error: AF data request fails, status code: 240. MAC transaction expired.')
But, activating it still generates messages:
zigbee2mqtt:warn 2019-2-22 21:57:35 No converter available for 'MCT-350 SMA' with cid 'ssIasZone', type 'statusChange' and data '{"cid":"ssIasZone","zoneStatus":33}' zigbee2mqtt:debug 2019-2-22 21:57:35 Received zigbee message of type 'statusChange' with data '{"cid":"ssIasZone","zoneStatus":33}' of device 'MCT-350 SMA' (0x000d6f000ccfb76c)
Not 100% sure yet, but in this state, I haven't seen it report a battery status.
from zigbee-herdsman-converters.
The configure only has to succeed once, it's not strange that this could fail the next time, as the device is probably sleeping.
Can you add to devices.js
:
{
zigbeeModel: ['MCT-350 SMA'],
model: 'MCT-350',
vendor: 'Visonic',
description: 'Door and window contact sensor',
supports: 'contact',
fromZigbee: [fz.heiman_contact],
toZigbee: [],
},
from zigbee-herdsman-converters.
It looks good. I can't tell the low battery reporting, yet, but the tamper is correct. I wasn't sure if contact: true would mean that the the device should be closed, or if the contact sensor had been triggered.
I just got a Aqara door/window sensor, and the True/False for Closed/Open on that device are opposite from the MCT-350 (False when closed, True when open) using the heiman_contact converter.
Thanks!
from zigbee-herdsman-converters.
Contact should be true when the door is closed, current behaviour is wrong.
Add to:
devices.js
{
zigbeeModel: ['MCT-350 SMA'],
model: 'MCT-350',
vendor: 'Visonic',
description: 'Door and window contact sensor',
supports: 'contact',
fromZigbee: [fz.visonic_contact],
toZigbee: [],
},
fromZigbee.js
visonic_contact: {
cid: 'ssIasZone',
type: 'statusChange',
convert: (model, msg, publish, options) => {
const zoneStatus = msg.data.zoneStatus;
return {
contact: !((zoneStatus & 1) > 0), // Bit 1 = Alarm: Contact detection
tamper: (zoneStatus & 1<<2) > 0, // Bit 3 = Tamper status
battery_low: (zoneStatus & 1<<3) > 0, // Bit 4 = Battery LOW indicator
};
},
},
If this works, please make a pull request.
from zigbee-herdsman-converters.
Related Issues (20)
- Support for new Tradfri LED2111G6 lightbulbs HOT 1
- Additional Device for Tuya Cover_3 HOT 1
- Bosch Twinguard exposes only CO2 instead of VOC levels HOT 18
- Template for Unsupported Device - Sengled E21-N14A Bulb
- Using groups for Tuya devices? HOT 3
- Error Adding zones/regiosn on Aqara FP1 (RTCZCGQ11LM) HOT 2
- Local External converter for covers _TZE200_g5xqosu7 HOT 7
- Bosch Twinguard: No converter available for `8750001213` HOT 19
- Double events are fired for Philips Wall Modules & Philips Hue Dimmer Switch HOT 8
- Twinguard 8750001213 stopped working with 1.36.1 (after ~36h - at least i noticed it than) HOT 5
- Tuya device "TS0601" - "_TZE204_mtoaryre" and "TS0601" - "_TZE204_iaeejhvf" in property "sensor" missing the "occupied" and "unoccupied" HOT 1
- How to update the zigbee-herdsman-converters version in HAOS? HOT 3
- [New device support]: Dimmer QS-Zigbee-D04 (0-10V) HOT 2
- BTH-RM230Z - Missing Cooling Mode HOT 54
- 3A/Nue 15w refreshed downlight RGBCW
- Creating Device with multiple endpoints (and multiple types) HOT 1
- Unsupported Attribute when writing attributes to Sonoff TRVZB HOT 8
- Aqara ZNJLBL01LM (lumi.curtain.acn002) problem after latest dev updates HOT 4
- F00YK04-18-1 problem after latest dev updates
- Add Tongou TOWSMR1 _TZE204_kobbcyum HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigbee-herdsman-converters.