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

firmware_versions.md - Community call #18

Open
lpercetti opened this issue Mar 30, 2023 · 4 comments
Open

firmware_versions.md - Community call #18

lpercetti opened this issue Mar 30, 2023 · 4 comments

Comments

@lpercetti
Copy link

lpercetti commented Mar 30, 2023

Hello,

As the documentation firmware_versions.md says about C100X, the version 1.5.4+ sounds not available on the web anymore.
However, people having their firmware cracked already can get the updates locally and can potentially:

  • Share the file they have been able to download
  • Use tcpdump man-in-the-middle to dump the links where the file is downloaded.

From API man-in-the-middle, I've been able to get following info on my non-hacked device:

https://api.developer.legrand.com/devicemanagement/api/v2.0/modules/{{deviceId}}/firmware
{
    "deviceId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "nbOfTry": 0,
    "status": "Pending user consent for installation",
    "currentFirmwareVersion": "1.5.4",
    "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "firmwareVersion": "1.5.5",
    "downloadDateTime": 0,
    "installationDateTime": 0,
    "fileSize": 106495633,
    "checksum": "a8fd81f80e07c1d5fbd3e491852123c6",
    "hashAlgorithm": "md5",
    "releaseNote": "# Description : \n- Firmware 1.5.5 for Classe100X16E\n- Minor bug fixes"
}

So if the hash match, I would be happy to use the fw file of someone else :)

So maybe we can add this somewhere on the doc, so people have a way to provide you the firmware or the URLs?
It would help the community! :)

Regards,

@fquinto
Copy link
Owner

fquinto commented Jun 13, 2023

Do you know how to get deviceId in a easy step? Where is this deviceId?

@lpercetti
Copy link
Author

lpercetti commented Aug 20, 2023

Sorry for the late reply.

Yes, you can easily get it using this call:
GET https://api.developer.legrand.com/servicecatalog/api/v3.0/modules?=
And a bearer token in the header as authentication.

And then get a list of object in which the "id" key is the deviceId.

I also have access to some SIP accounts using:
GET https://api.developer.legrand.com/vde/sip/v1.0/devices/{{deviceId}}/sipaccounts
Which gives:

[
    {
        "plantId": "<a-guid>",
        "deviceId": "<the-device-id-as-in-the-query>",
        "sipId": "<a-guid-most-likely-sip-username>",
        "sipUri": "<userOid>_<clientId>@<deviceId>.bs.iotleg.com",
        "clientId": "<a-20digits-hexa-number>",
        "clientName": "iPhone",
        "username": "<myemailaddress@removed.tld>",
        "sipPassword": "<a-small-8digits-password>",
        "userOid": "<a-guid>",
        "appId": null
    }
]

An alternative to all the setup might be to connect using a SIP client.

@lhari84
Copy link

lhari84 commented Feb 4, 2024

Hello,

As the documentation firmware_versions.md says about C100X, the version 1.5.4+ sounds not available on the web anymore. However, people having their firmware cracked already can get the updates locally and can potentially:

  • Share the file they have been able to download

I have found a page offers latest version 1.5.5. But not sure it works for all WiFi-capable Classe 100 models:

https://www.homesystems-legrandgroup.com/home/-/productsheets/4221129

I may try when I have some time left.

@fquinto
Copy link
Owner

fquinto commented Feb 6, 2024

Firmware links: updated. Thanks.

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

3 participants