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

Add Support for Firmware Version 1.5.5 and Update README Instructions #33

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

lucio97
Copy link
Contributor

@lucio97 lucio97 commented Jun 30, 2024

This pull request includes the following updates:

  1. Firmware Download Support: Added functionality to the script to enable downloading version 1.5.5 of the firmware for the C100X.
  2. README Update: Updated the README file to provide clearer instructions on compiling the TcpDump2Mqtt.conf before creating the firmware.

Added support for downloading version 1.5.5 of the firmware for the C100X.
explicited Matt configuration before creating fw
@fcaronte
Copy link

fcaronte commented Jul 28, 2024

Hi, i see there is a new 1.5.7 update, do you think is possible to mod this one too?

@sstidl sstidl mentioned this pull request Jul 29, 2024
@lucio97
Copy link
Contributor Author

lucio97 commented Jul 30, 2024

Hi, i see there is a new 1.5.7 update, do you think is possible to mod this one too?

Hey! I checked the site, but I can't find the 1.5.7 update you're talking about. At home, I only have the 100x with DoorEntry for testing. Do you have a download link?

@fcaronte
Copy link

fcaronte commented Aug 1, 2024

Actually I have stock 100x and get OTA update but can't find a link to manually download the new update. I don't know if I can flash your 1.5.5 and downgrade without problems or now I need to wait to find the new one ?

main.py Show resolved Hide resolved
@sstidl
Copy link

sstidl commented Aug 1, 2024

Hi, i see there is a new 1.5.7 update, do you think is possible to mod this one too?

Hey! I checked the site, but I can't find the 1.5.7 update you're talking about. At home, I only have the 100x with DoorEntry for testing. Do you have a download link?

i have the update taken from the device ( /home/bticino/cfg/extra/FW/UPGRADE.fwz )
if you want i can share a temporary link but i also didnt find the official download link yet.

@sstidl
Copy link

sstidl commented Aug 1, 2024

Actually I have stock 100x and get OTA update but can't find a link to manually download the new update. I don't know if I can flash your 1.5.5 and downgrade without problems or now I need to wait to find the new one ?

@fcaronte i would try it with the 1.5.5 -- i dont think there is much difference between 1.5.7 and 1.5.5

@fcaronte
Copy link

fcaronte commented Aug 1, 2024

Yes but I can save Install 1.5.5 over 1.5.7? No problem with downgrade?

removed duplicated line
@lucio97
Copy link
Contributor Author

lucio97 commented Aug 1, 2024

Hi all,

I've seen in the telegram community that someone managed to perform a downgrade without issues, though I can't guarantee it works for everyone.

Regarding the current implementation, the program still requires a link even when using a local file, since the prompt appears after file selection. While a fake URL might bypass this, I believe the logic should be updated to first ask if a local file is used, then request the firmware version if opting for a download. Unfortunately, I don't have time to implement this change now.

Thanks, @sstidl, for pointing out the duplicate line at line 44!

@sstidl
Copy link

sstidl commented Aug 2, 2024

I found the URL which is used by the device to download 1.5.7:
https://eliotdmstrg.blob.core.windows.net/bs-classe100x/C100X_010507.tar.gz
In the tar file there is a .bin file which is the same as the .fwz files.
I checked md5sum from this file and the Upgrade.fwz directly on the device (as stated in Readme)

@fquinto fquinto merged commit c44f729 into fquinto:main Aug 27, 2024
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

Successfully merging this pull request may close these issues.

4 participants