Coder Social home page Coder Social logo

Comments (8)

hubi73 avatar hubi73 commented on July 25, 2024 1

I have tested the dev branch with zigbee-herdsman (0.43.1) but still get this error:

[2024-04-25 22:05:17] error: z2m: Publish 'get' 'valve_closing_degree' to 'TRV-Bad' failed: 'Error: ZCL command 0x38398ffffe020ee5/1 sonoffTrvzbCluster.read(["valveClosingDegree"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4742,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
[2024-04-25 22:05:17] error: z2m: Exception while calling fromZigbee converter: Value is not a number, got undefined (undefined)}

edit: Now with zigbee-herdsman (0.43.1) AND zigbee-herdsman-converters v19.28.0 it runs without errors.

Thank you.

from zigbee-herdsman-converters.

photomoose avatar photomoose commented on July 25, 2024 1

Fixed by 99af051

from zigbee-herdsman-converters.

fir3drag0n avatar fir3drag0n commented on July 25, 2024

I can confirm the problem: #7130

from zigbee-herdsman-converters.

einfachuli avatar einfachuli commented on July 25, 2024

Exactly the same Problem here.

from zigbee-herdsman-converters.

photomoose avatar photomoose commented on July 25, 2024

From looking at previous commits/conversations, I assume the manufacturer code was included so that it is echoed in the response from the device, allowing Z2M to differentiate between different devices using the same cluster ID - so I'm not sure that simply removing the manufacturer code from the Sonoff cluster definition is the correct thing to do here. @Koenkk can you confirm?

from zigbee-herdsman-converters.

Koenkk avatar Koenkk commented on July 25, 2024

@photomoose I pushed a fix, can you check if this is fixed now?

Changes will be available in the dev branch in a few hours from now.

from zigbee-herdsman-converters.

photomoose avatar photomoose commented on July 25, 2024

@Koenkk sure no problem, I've been running it locally (npm run start) so will check as soon as I finish my dinner! ๐Ÿ˜€

from zigbee-herdsman-converters.

photomoose avatar photomoose commented on July 25, 2024

@Koenkk looks like the changes in the customSonoffTrvzb cluster have fixed the issue. Thanks for the fix! Also checked the valve closing/opening degree issue raised by @hubi73 but this appears to be working fine for me, as shown in the attached traces.

Fixed.pcapng.zip

from zigbee-herdsman-converters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.