Giter Site home page Giter Site logo

Comments (23)

kirovilya avatar kirovilya commented on July 18, 2024 13

image
Some commands that were previously used were removed there. so I have to rewrite the code... not quickly

from zigbee-herdsman.

wastez avatar wastez commented on July 18, 2024 2

Or here for other adapters (it's a fork of the silabs source)

https://github.com/darkxst/silabs-firmware-builder

from zigbee-herdsman.

kirovilya avatar kirovilya commented on July 18, 2024 2

See #854, should be fixed in the dev branch.

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

from zigbee-herdsman.

xconverge avatar xconverge commented on July 18, 2024 1

@kirovilya fixed it in #858

from zigbee-herdsman.

xconverge avatar xconverge commented on July 18, 2024

@kirovilya I don't have a dev environment setup to check into this too much. I am unsure how to run test changes locally/easily

I wanted to add some logging to see exactly which config failed to set to confirm

from zigbee-herdsman.

kirovilya avatar kirovilya commented on July 18, 2024

where can I get ncp firmware 7.4.0.0?

from zigbee-herdsman.

xconverge avatar xconverge commented on July 18, 2024

where can I get ncp firmware 7.4.0.0?

I have a skyconnect so got it here:

https://github.com/NabuCasa/silabs-firmware

I am unsure if you have an adapter with a different pin out or is incompatible with these builds unfortunately

from zigbee-herdsman.

NewsGuyTor avatar NewsGuyTor commented on July 18, 2024

This is actually pretty urgent, this issue broke a lot of Zigbee2MQTT installations today, and will break more the next time "Silicon Labs Multiprotocol" is updated for HA users.

More info here:
Koenkk/zigbee2mqtt#20602

from zigbee-herdsman.

xconverge avatar xconverge commented on July 18, 2024

This is actually pretty urgent, this issue broke a lot of Zigbee2MQTT installations today, and will break more the next time "Silicon Labs Multiprotocol" is updated for HA users.

More info here: Koenkk/zigbee2mqtt#20602

I am surprised the addon pushed a FW update so quickly, I thought I was on the cutting edge here (and I still kind of think I am) and was reporting/looking into it a bit just to be polite/allow developers to get ahead of it (Especially since a lot historically falls onto @kirovilya at least in this project (much appreciated by the way!))

from zigbee-herdsman.

burntoc avatar burntoc commented on July 18, 2024

I haven't seen the updated release in the dev branch yet, just the commits and testing activity.

from zigbee-herdsman.

wastez avatar wastez commented on July 18, 2024

Have seen the Update is available in z2m edge.
Has anybody tried it?

from zigbee-herdsman.

burntoc avatar burntoc commented on July 18, 2024

Working here.

from zigbee-herdsman.

chris-1243 avatar chris-1243 commented on July 18, 2024

@kirovilya

I just had a try on the new SDK 4.4.0 and the dev branch of z2m and I had those warnings:

01/10/2024 04:17:14 PM Using '/app/data' as data directory
01/10/2024 04:17:17 PM Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
01/10/2024 04:17:17 PM Assertion failed: exportKey returned unexpected status: 45

Z2m is working. I revert to SDK 4.3.0 (firmware 7.3.0.0, SONOFF DONGLE-E) on which I have no warnings. SDK 4.3.1 and higher provide me this warning only:

Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]

Zigbee herdmann below for some debugging if it may help (SDK 4.4.0, firmware 7.4.0.0)

log_herdsman.txt

from zigbee-herdsman.

kirovilya avatar kirovilya commented on July 18, 2024

@chris-1243 thanks for checking. yes, there are some warnings, but they not critical... I’ll continue to improve it as soon as I have free time

from zigbee-herdsman.

chris-1243 avatar chris-1243 commented on July 18, 2024

@kirovilya

Great news. I am going to re-flash my coordinator with the latest SDK and see how it will perform

from zigbee-herdsman.

joe-sydney avatar joe-sydney commented on July 18, 2024

Just swapped to the Edge Z2M addon on HASS, updated the Silabs Multipan add to latest (with the new Gecko SDK) and also flashed the Sonoff Dongle E to 4.4.0.... all working so far!

from zigbee-herdsman.

ryan77627 avatar ryan77627 commented on July 18, 2024

I can echo what Chris was experiencing regarding the warnings, as seen below in the startup log (probably redacted more than I needed, oh well):

[18:09:51] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-01-18 18:09:53: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-01-18 18:09:53: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-18.18-09-53' filename: log.txt
Zigbee2MQTT:debug 2024-01-18 18:09:53: Removing old log directory '/config/zigbee2mqtt/log/2024-01-18.07-45-30'
Zigbee2MQTT:info  2024-01-18 18:09:53: Starting Zigbee2MQTT version 1.35.1-dev (commit #080f3b6)
Zigbee2MQTT:info  2024-01-18 18:09:53: Starting zigbee-herdsman (0.32.6)
Zigbee2MQTT:debug 2024-01-18 18:09:53: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[25],"extendedPanID":[xxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx],"networkKey":"HIDDEN","panID":xxxxx},"serialPort":{"adapter":"ezsp","path":"tcp://core-silabs-multiprotocol:9999"}}'
Assertion failed: Command (setConfigurationValue(1, 255)) returned unexpected state: {"_cls_":"setConfigurationValue","_id_":83,"_isRequest_":false,"status":55}
Assertion failed: Command (setValue) returned unexpected state: {"_cls_":"setValue","_id_":171,"_isRequest_":false,"status":55}
Assertion failed: exportKey returned unexpected status: 45
Zigbee2MQTT:info  2024-01-18 18:09:58: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2024-01-18 18:09:58: Coordinator firmware version: '{"meta":{"maintrel":"0 ","majorrel":"7","minorrel":"4","product":13,"revision":"7.4.0.0 build 0"},"type":"EZSP v13"}'
Zigbee2MQTT:debug 2024-01-18 18:09:58: Zigbee network parameters: {"channel":25,"extendedPanID":38,"panID":xxxxx}
Zigbee2MQTT:info  2024-01-18 18:09:58: Currently 4 devices are joined:
...

However, (and I'm seeing this with stable as well when I downgrade the SiLabs FW back to 2.3.2, so maybe it's a my network issue), when I attempt to communicate with any devices, I get timeout errors.

Zigbee2MQTT:debug 2024-01-18 18:18:35: Received MQTT message on 'zigbee2mqtt/Main Lights/set' with data '{"state":"OFF"}'
Zigbee2MQTT:debug 2024-01-18 18:18:35: Publishing 'set' 'state' to 'Main Lights'
Zigbee2MQTT:error 2024-01-18 18:18:55: Publish 'set' 'state' to 'Main Lights' failed: 'Error: Command 0x847127fffe003efc/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 19628 - 1 - 3 - 6 - 11 after 10000ms)'
Zigbee2MQTT:debug 2024-01-18 18:18:55: Error: Command 0x847127fffe003efc/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 19628 - 1 - 3 - 6 - 11 after 10000ms)
    at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23)
    at EZSPAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:471:47)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
    at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20)
    at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:758:28)
    at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17)
    at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32)
    at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36)
    at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Zigbee2MQTT:debug 2024-01-18 18:19:53: Saving state to file /config/zigbee2mqtt/state.json

So, unsure if this is a FW issue or a me issue, especially after hearing reports that the latest dev is in fact working for other people, figured I'd drop this here just in case. Sorry for cluttering this topic if this is a my network issue!

from zigbee-herdsman.

Nerivec avatar Nerivec commented on July 18, 2024

Anyone in here that has tested EDGE for a decent length of time, could you drop a line here, so we know what errors some people might still be seeing (or if it works great 😄)? Thanks.

from zigbee-herdsman.

xconverge avatar xconverge commented on July 18, 2024

Issue is fixed now that 1.35.2 is released. I am on 7.4.0.0 and will stick it out to see if anything arises, thanks @Nerivec and @kirovilya

from zigbee-herdsman.

newlund avatar newlund commented on July 18, 2024

Issue is fixed now that 1.35.2 is released. I am on 7.4.0.0 and will stick it out to see if anything arises, thanks @Nerivec and @kirovilya

Is 7.4.0.0 working for you? Thinking of upgrading from 7.3.2.0 :)

from zigbee-herdsman.

chris-1243 avatar chris-1243 commented on July 18, 2024

7.4.0.0 is working on version 1.35.2 or higher.

Just be carefull. RCP firmware based on SDK 4.4.0 (multi-protocol with silabs addon) is problematic and has been downgraded to SDK 4.3.1.

NCP firmware 7.4.0.0 (Zigbee only) does not seem to be affected by any issues and is working fine. Have a look to this link

from zigbee-herdsman.

newlund avatar newlund commented on July 18, 2024

Thanks! I only use zigbee for now and run the NCP firmware so guess I could upgrade. But think I will wait a while... Latest is not always greatest... :)

from zigbee-herdsman.

johanymerson avatar johanymerson commented on July 18, 2024

Just tested 1.35.3 with a Sonoff ZBDongle-E running NCP 7.4.0.0. It died within 30 minutes with the following error:
Error: {"address":64843,"clusterId":32801,"sequence":30} after 10000ms
at Object.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23)
at Driver.zdoRequest (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:667:43)
at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:566:13
at Queue.execute (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
at Endpoint.bind (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:551:13)

from zigbee-herdsman.

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.