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

Blaupunkt SCM-S1 doesn't support reporting it's position #4246

Closed
krumbholz opened this issue Sep 2, 2020 · 1 comment
Closed

Blaupunkt SCM-S1 doesn't support reporting it's position #4246

krumbholz opened this issue Sep 2, 2020 · 1 comment

Comments

@krumbholz
Copy link

Bug Report

What happened

My Blaupunkt SCM-S1 with id SCM-2_00.00.03.15 raises an error while being configured on startup:

zigbee.0 (823) DeviceConfigure failed 0x00124b001bfbd2bc SCM-2_00.00.03.15, attempt 3 (Error: ConfigureReporting 0x00124b001bfbd2bc/1 genLevelCtrl([{"attribute":"currentLevel","minimumReportInterval":0,"maximumReportInterval":3600,"reportableChange":1}], {"timeout":10000,"disableResponse":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Status 'UNREPORTABLE_ATTRIBUTE')
    at Endpoint.checkStatus (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:140:23)
    at Endpoint.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:348:26)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:24:58))

Proposed solution

I commented out the line for position reporting and I'm fine with it ;-) But it may be best to distinguish between the different shutter variants.

    // Blaupunkt
    {
        zigbeeModel: ['SCM-2_00.00.03.15', 'SCM-R_00.00.03.15TC', 'SCM_00.00.03.14TC', 'SCM_00.00.03.05TC'],
        model: 'SCM-S1',
        vendor: 'Blaupunkt',
        description: 'Roller shutter',
        supports: 'open/close',
        fromZigbee: [fz.cover_position_via_brightness, fz.cover_state_via_onoff],
        toZigbee: [tz.cover_position_via_brightness, tz.cover_open_close_via_brightness],
        meta: {configureKey: 1},
        configure: async (device, coordinatorEndpoint) => {
            const endpoint = device.getEndpoint(1);
            await bind(endpoint, coordinatorEndpoint, ['genLevelCtrl']);
    ////        await configureReporting.brightness(endpoint);
        },
    },

Debug Info

zigbee.0 (819) starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.18.3, js-controller: 3.1.6
zigbee.0 (819) Coordinator firmware version: {"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}}
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Sep 4, 2020
@Koenkk
Copy link
Owner

Koenkk commented Sep 4, 2020

Added a try catch, thanks!

@Koenkk Koenkk closed this as completed Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants