OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

Inverter Firmware update

Open ThomasCr opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

I have read, that it is possible to request firmware update for Homiles Inverters per Mail if you have a DTU from the company. It would be possible to capture that process to a) know how to transfer the firmware to the inverter b) to get the firmware file or maybe also capture the download address.

I know every update should be considered carefully - but it would be a good thing to do it with OpenDTU.

Describe alternatives you've considered

No response

Additional context

No response

ThomasCr avatar Oct 11 '23 20:10 ThomasCr

The Firmware Update has to be first captured using an original DTU WLite / Pro for us to be able to implement the necessary commands. Even though there is strong evidence in the Hoymiles Source Code of the DTU Pro that the DOWN_DAT 0x0a and INIT 0xff Commands are used in a so called MultiRequest, we still have no logs from the communication between the GD32 and the NRF24L01+ Module in the DTU WLite / Pro when such a Firmware Upgrade is done.

The DOWN_PRO 0x0e to apply a new Grid Profile is also a MultiRequest Command, as it has to send more than the usual 12 Bytes payload to the inverter too. The 141 byte payload (being split into 12 packets of max. 12 bytes) of a Grid Profile is probably a safer target to be implemented thoroughly before we should try the exciting Firmware Upgrade.

stefan123t avatar Dec 20 '23 08:12 stefan123t

Any news on that? Will it be possible to update inverters?

Ayo91 avatar Jul 04 '24 15:07 Ayo91

@Ayo91 IMHO we first need to implement #900 in order to have the grid profile update understood and working for:

  1. known grid profiles
  2. (optional) custom modified grid profile values

Before implementing the actual Firmware upgrade, we should trace the process for a known FW image by Hoymiles.

Though that would need to be traced first by someone with an Hoymiles DTU, eg. by nivadis/Discord.

stefan123t avatar Jul 15 '24 05:07 stefan123t

@ThomasCr any progress on implementing the Grid Profile update first, I think we have sufficiently traced it to make it work.

Regarding the Firmware upgrade I heard from users of the DTUBI (HMS-WiFi models have a built-in DTU) that it may take an hour (or more) to download the latest firmware from the Hoymiles CDN and upload it to the inverter, though they had to start over three or more times because some checksum may have failed to match.

Also Note that HMS-WiFi models do not use a radio connection between DTU and inverter, i.e. they use only WiFi between your Router and the Internet with the S-Miles Cloud to download the firmware image and push it via a local UART connection from the DTUBI to the inverter. Hence there should be less / little transmission errors IMHO.

stefan123t avatar Aug 15 '24 09:08 stefan123t