-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
[feat] Support .hec firmware format from Aeotec devices #37
[feat] Support .hec firmware format from Aeotec devices #37
Comments
@AlCalzone This is for you :) Also I suggest to move the |
You can however ask the Aeotec support for their updater utility (which we can extract the firmware from). |
Or ask them to give us the docs to do it 😄 |
Except Homeseer !== Aeotec. As far as I understand, they provide manufacturers with an encryption utility so they can upload encrypted firmware. Only the Homeseer software can decrypt these files. |
I think that we can close this so? |
@AlCalzone I asked Aeotec for the unencrypted firmware files, but they don't wish to give access to those files, because that will expose the source code, they say, and it's confidention to Aeotec. I'm not sure how firmware upgrade is implemented on the devices, but I would think there at least should exist a public key in the devices that can verify a signature on the firmware code in order to verify it's publisher. In that case, exposing the code would not really be a problem, unless they are worried about competition looking at the disassembled machine code and picking up trade secrets. Which I guess is what they are most worried about. From looking inside the .exe file in the source of for instance the Smart Switch 6 firmware updater tool, I found a string saying "ZW096_Smart_Switch_6_EU_V1_04_hex__TargetZwave__". Maybe that means we should be able to extract the firmware? |
If you have an updater exe, you can probably just plop it into the zwave-js update method. It will try and extract the firmware for you. |
@AlCalzone What if he just rename the |
@robertsLando Probably not, since it's encrypted, or at least obfuscated. @AlCalzone so, you mean the format guesser will search through and look for the start of the Intel Hex file? I decompiled the .exe and found lots of references to Intel hex. |
Yes, the format guesser will check if the exe file has two markers we expect and |
@robertsLando @AlCalzone |
However, |
Could you send me that file please? |
@AlCalzone you can easily get it from the above link, but if there are problems, I can send it to you on Slack. :-) |
Link for other countries as well, in the bottom of this page https://aeotec.freshdesk.com/support/solutions/articles/6000235856-how-to-update-smart-switch-6-z-wave-firmware- |
@larstobi the failing exe files should be handled by zwave-js/node-zwave-js#1194. Since that branch depends on the GBL one, I'll either have to merge them without waiting for your test or just wait for confirmation. |
I've merged the branches, so the current zwave-js master should work. |
I'm trying to use this method do update my MultiSensor 6 US units, but nothing happens after I select the .exe file, the picker window disappears, and there's nothing in the log with that node, even with DEBUG level logging enabled.., @AlCalzone the encryption has been reverse engineered, but not sure if it's ok to post it here... |
@psarossy you can contact me via the email in my profile if you have some info to share. |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When I try to update Aeotec Smart Switch 6 ZW096 with firmware downloaded from Aeotec n .hec format, I get the error message:
Describe the solution you'd like
Correctly detecting the format and converting it to a usable format, and begin FW upgrade process.
Describe alternatives you've considered
None.
Additional context
EU firmware downloaded from link at the bottom of this page:
https://aeotec.freshdesk.com/support/solutions/articles/6000205150-update-smart-switch-6-firmware-via-homeseer-
The text was updated successfully, but these errors were encountered: