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

Unable to update Danfoss Ally TRV #32

Open
johnsprogs opened this issue Nov 15, 2021 · 1 comment
Open

Unable to update Danfoss Ally TRV #32

johnsprogs opened this issue Nov 15, 2021 · 1 comment

Comments

@johnsprogs
Copy link

I'm trying to update my Danfoss Ally TRV's from version 1.02 to 1.08. When uploading is ready, progress reports 'done'. But after a minute or so, the upload starts all over again. I'm running DeCONZ 2.13.2. First tried it using the DeCONZ installation on my Domoticz Raspberry Pi. Then installed a fresh DeCONZ on a Windows machine, tried again from there, but with the same result.
Here is my setting:

afbeelding

The debug log reports following at the end of an upload:

`
17:47:44:260 Img block req fwVersion:0x00000108, offset: 0x00036F60, maxsize: 63
17:47:44:260 otau send img block rsp offset: 0x00036F60 dataSize 14 0x14B457FFFE76A912
17:47:45:268 otau upgrade end req: status: 0x96, fwVersion:0x00000108, imgType: 0x0100

17:49:40:652 otau query next img req: 0x842e14fffe5e3ece mfCode: 0x1246, img type: 0x0100, sw version: 0x00000102
17:49:40:652 Send query next image response: OTAU_NO_IMAGE_AVAILABLE
17:50:33:017 otau query next img req: 0x842e14fffe5e3ed5 mfCode: 0x1246, img type: 0x0100, sw version: 0x00000102
17:50:33:017 Send query next image response: OTAU_NO_IMAGE_AVAILABLE

17:52:47:576 otau invalide update end request for node 0x14b457fffe76a912

17:52:47:576 otau query next img req: 0x14b457fffe76a912 mfCode: 0x1246, img type: 0x0100, sw version: 0x00000102

17:52:47:576 OTAU: C:/Users/ELJO/otau/1246-0100-01080108.0002_(DF4ECCE1).ota: 225134 bytes
17:52:47:576 OTAU: ota header (56 bytes)
17:52:47:576 OTAU: tag 0x0000, length 0x00036F30 (225078 bytes)
17:52:47:576 OTAU: packed 160968328 bytes
17:53:12:414 Img block req fwVersion:0x00000108, offset: 0x00000000, maxsize: 63
17:53:12:414 otau send img block rsp offset: 0x00000000 dataSize 28 0x14B457FFFE76A912
`
My questions to start with are:

Line 8 states: 'invalid update end request'. Says who? DeCONZ or the TRV?

Line 4 states 'otau query next img req:'. When no uploading is being done, this request comes about every minute. And am I right that it is requesting for version 1.02? But as far as I know, that's already there.

The otau cluster:

afbeelding

afbeelding

And shouldn't some of this figures below appear in the second frame (Upgrade and respomse) of the otau-cluster?

afbeelding

Or do I have to transfer this figures manually and then press execute after a full upload?

If you want more specific info, or want me to try something, just let me know.

Thanks in advance for your effort.

@ebaauw
Copy link
Collaborator

ebaauw commented Dec 29, 2021

Line 8 states: 'invalid update end request'. Says who? DeCONZ or the TRV?

No, it doesn’t. The OTAU Plugin invalidates the update, after the TRV ended the upgrade on line 2. Looks like the TRV didn’t like the block it received before. Did you double check the checksum of the image file?

Line 4 states 'otau query next img req:'. When no uploading is being done, this request comes about every minute. And am I right that it is requesting for version 1.02? But as far as I know, that's already there.

The TRV reports it’s current firmware in the request for a next version. It wouldn’t know what next version to request, would it? Note that this request comes from a different TRV. I think the plugin sends a no image available since it’s still upgrading the other TRV. It only handles one device at a time, not to saturate the Zigbee network.

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