[New device support]: RBSH-MD2-ZB from Bosch

Open
#33,867 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
embedded-iot

Research direction

Read the reported external definition and endpoint data for the Bosch RBSH-MD2-ZB, then investigate how Zigbee2MQTT defines device support and configures ssIasZone devices. Start by reproducing the failed interview and checking existing Bosch motion sensor definitions. Done means the device interviews successfully and its alarm, night light behavior, and motion sensitivity can be configured.

Written by the indexing model from the issue text.

Description

new device support
Link

https://www.bosch-smarthome.com/de/de//produkte/sicherheit/bewegungsmelder/

Database entry

.

Zigbee2MQTT version

2.14.3 (unknown)

External definition
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['RBSH-MD2-ZB'],
    model: 'RBSH-MD2-ZB',
    vendor: 'Bosch',
    description: 'Automatically generated definition',
    extend: [m.battery(), m.identify(), m.light(), m.illuminance(), m.temperature(), m.occupancy(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]})],
};
What does/doesn't work with the external definition?

Alarm wird nicht aktiviert und das Verhalten des Notlichtes lässt sich nicht einstellen.
Auch kann die Empfindlichkeit des Bewegungsmelders nicht eingestellt werden.

Fehlermeldung:

zh:controller: Interview failed for with error 'Error: Interview failed because can not get active endpoint

Notes

software_build_id: ``
date_code: 2023-08-14
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genOnOff","genLevelCtrl","genPollCtrl","msIlluminanceMeasurement","msTemperatureMeasurement","msOccupancySensing","ssIasZone","haDiagnostic"],"output":["genOta"]},"configured_reportings":[],"scenes":[]}}
Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
12h 11m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.