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

Latest firmware broke integration #15

Open
giedriuskilcauskas opened this issue Aug 3, 2023 · 42 comments
Open

Latest firmware broke integration #15

giedriuskilcauskas opened this issue Aug 3, 2023 · 42 comments

Comments

@giedriuskilcauskas
Copy link

It seems that latest firmware broke integration. most of the fields seems to be showing weird values:
image
These are versions currently installed:
image

@assembly12 ,Would you mind looking into that?

Thanks,
Giedrius

@hartmut58
Copy link

Hi,
it is a firmware problem. Downgrade to manager 1.20 and it works.
Hartmut

@Tanil2008
Copy link

Tanil2008 commented Aug 6, 2023

Hi. I have the same problem even though the manager's version is 1.20. Please help.
obraz
obraz

@assembly12
Copy link
Owner

assembly12 commented Aug 6, 2023

Hi,
i'm working on adding support for the new firmware (new protocol).
Link to HA Forum
I'm allmost there, just waiting for the confirmation on the generation power.

@giedriuskilcauskas
Copy link
Author

Hi, i'm working on adding support for the new firmware (new protocol). Link to HA Forum I'm allmost there, just waiting for the confirmation on the generation power.

I confirm that 16/15 shows generation power. Without shifting that was grid power previously, not sure where it is now

@hartmut58
Copy link

hartmut58 commented Aug 7, 2023 via email

@hartmut58
Copy link

hartmut58 commented Aug 7, 2023 via email

@Tanil2008
Copy link

Here is the effect of my tests:
foxess_t_series.zip
To determine the bits T-Series Grid Current R, T-Series Grid Current S, T-Series Grid Current T - because they show bad data.
My inverter: Foxess T5 G3, manager 1.20.

@hartmut58
Copy link

hartmut58 commented Aug 10, 2023 via email

@Danielxyz123
Copy link

Did someone test the latest Manager Version 1.22?

@hartmut58
Copy link

With Manager Firmware 1.22 the RS485 port is dead, just like with version 1.21.

@Danielxyz123
Copy link

Danielxyz123 commented Aug 12, 2023 via email

@hartmut58
Copy link

hartmut58 commented Aug 13, 2023 via email

@Danielxyz123
Copy link

Danielxyz123 commented Aug 13, 2023 via email

@hartmut58
Copy link

hartmut58 commented Aug 13, 2023 via email

@Danielxyz123
Copy link

Does somebody not this project?

https://github.com/peper0/foxess-t-modbus-ha

Seems that Modbus is recently possible ?

@mekket
Copy link

mekket commented Aug 18, 2023

Does somebody not this project?

https://github.com/peper0/foxess-t-modbus-ha

Seems that Modbus is recently possible ?

This approach promises almost real time data and if I understood correctly it does it because it is connected to the meter RS485 side not the data RS485 that assembly12-s version uses. My T10 G3 shows almost real time data on its display so the inverter must have it available somehow. I just got my system running today and I installed a smart meter but I have not been able to get my ESP and home assistant working as intended. Possibly because of the firmware issue? I am on manager 1.21. Anyways I had a thought about connecting the ESP to the Meter connections alongside the meter itself. Would it work or does the RS485 not work like that? If someone here has a smart meter and has this integration working - maybe you could try it out and let us know. I am already sick of seeing the 5 minute old data from FoxEss Cloud :(

Edit: Does anyone have a working version that would possibly work with Manager 1.21 or when could we expect it?

Thank You!

@Danielxyz123
Copy link

Danielxyz123 commented Aug 18, 2023 via email

@mekket
Copy link

mekket commented Aug 18, 2023

Do You also have a T10 G3? Is assemblys version or some modified version of it working for you? Did you downgrade your firmware?

@Danielxyz123
Copy link

Danielxyz123 commented Aug 18, 2023 via email

@giedriuskilcauskas
Copy link
Author

Yes, i have s T10 G3. Which Firmware do you use? It worked until i used manager 1.22 🙈. I‘m working on an downgrade. But currently no success. The support sends me some Files but it dont‘t work yet.. Von meinem iPhone gesendet

Am 18.08.2023 um 19:21 schrieb mekket @.***>:  Do You also have a T10 G3? Is assemblys version or some modified version of it working for you? Did you downgrade your firmware? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

So I understand right that manager 1.22 kills access to RS485 and it's no longer working. No data coming in at all or it's somewhat garbage? I currently have 1.21 and with above changes to addressing, all works fine.

@Danielxyz123
Copy link

Danielxyz123 commented Aug 22, 2023 via email

@hartmut58
Copy link

For me too, it seems that Manager 1.21 and Manager 1.22 disables the sending of data. (Inverter T10-G3)
The German support sent me the manager 1.20 for a downgrade. For a successful downgrade, I had to rename manager1.20 to manager1.22, otherwise the inverter rejects the upgrade with the message "wrong file".
The support in China does not give any answer.
Unfortunately there is no changelog from FOXESS to the changes of the firmware.

@Danielxyz123
Copy link

Thx for that Information. How did you change the Filename exactly? My Filename is attached. Only the ….V1.20 to ….V1.22?

4180D183-F7CB-44E8-A862-3449FDF35089

@hartmut58
Copy link

Original / 10-300-11040-xx_T30_Manager_V1.20.bin
New / T30_Manager_V1.22.bin

@Danielxyz123
Copy link

Danielxyz123 commented Aug 22, 2023 via email

@assembly12
Copy link
Owner

Hi guys! Sorry i've been quiet for a while, I had some personal business to attend to.

Addressing some of the topics that were discussed in this issue:

  1. I didn't know about the other integration which presumably connects to a "real" modbus. As far as I could figure out, it doesn't work with my inverter (T12 G3). Updates every few seconds would be great, but G3 doesn't seem to be compatible with this setup.

  2. Regarding the compatibiltiy issues with newer firmwares: this is exactly the reason why I do not upgrade the firmware :-). I'm very happy, both with the way the inverter is running and it's integration in HA as well. I see, as of now, no need to upgrade and have in fact now removed the foxess dongle entirely. That being said I cannot test anything for the newer versions.

  3. Regarding 1.22: as far as I understand the RS485 communication is entirely terminated in this version. Thanks to hartmut58 for giving us a working solution for downgrading to 1.20 again!!

  4. Regarding 1.21: with the help of "xndz" over at the HA forums we seem to have the new registernumbers for 1.21 decoded. I'll try implement these registers in the code, so it works with both 1.20 and 1.21, or just release a new version for 1.21 alltogether. I'm not sure when I will be able to do this, though.

@hartmut58
Copy link

Hi, in my experience, the firmware manager1.20 is the last one with working RS485 data.
Probably from version 1.18 the address was changed.
Here again my version of the "foxess_t_series.h" for manager1.20.
For info, I use HA just for fun - I am iobroker user, sorry ;-)
foxess_t_series.zip

@mekket
Copy link

mekket commented Aug 23, 2023

Should the RS485 converter flash leds or show some sign of communication? Im on Manager 1.21, Master 1.27 and Slave 1.01. T10 G3. My inverter is in my basement so the wifi signal there is not the best but I have tried twice and it seems that both times when I connect my ESP to the inverter it will not even connect to my wifi and I think it brings down the cloud connection as well because the inverter status goes to Offline shortly after I connect the ESP. It will come back to normal when I remove it. The ESP was able to communicate "blank" values to home assistant when it was on my table. I am using the registry numbers from xndz who has it working on 1.21.

I don't even know where to start my troubleshooting because I can not be sure that my inverter is even able to communicate over RS485. The RED power indicator LED is on but there seems to be another one next to it and that one is constantly off - should it flash when working normally?

@Danielxyz123
Copy link

Danielxyz123 commented Aug 23, 2023 via email

@giedriuskilcauskas
Copy link
Author

It doesn‘t work with 1.21.. Last working is 1.20… thats what hartmut also said. Von meinem iPhone gesendet

Am 23.08.2023 um 17:36 schrieb mekket @.***>:  Should the RS485 converter flash leds or show some sign of communication? Im on Manager 1.21, Master 1.27 and Slave 1.01. T10 G3. My inverter is in my basement so the wifi signal there is not the best but I have tried twice and it seems that both times when I connect my ESP to the inverter it will not even connect to my wifi and I think it brings down the cloud connection as well because the inverter status goes to Offline shortly after I connect the ESP. It will come back to normal when I remove it. The ESP was able to communicate "blank" values to home assistant when it was on my table. I am using the registry numbers from xndz who has it working on 1.21. I don't even know where to start my troubleshooting because I can not be sure that my inverter is even able to communicate over RS485. The RED power indicator LED is on but there seems to be another one next to it and that one is constantly off - should it flash when working normally? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

Well, 1.21 clearly works fine for me

@giedriuskilcauskas
Copy link
Author

Should the RS485 converter flash leds or show some sign of communication? Im on Manager 1.21, Master 1.27 and Slave 1.01. T10 G3. My inverter is in my basement so the wifi signal there is not the best but I have tried twice and it seems that both times when I connect my ESP to the inverter it will not even connect to my wifi and I think it brings down the cloud connection as well because the inverter status goes to Offline shortly after I connect the ESP. It will come back to normal when I remove it. The ESP was able to communicate "blank" values to home assistant when it was on my table. I am using the registry numbers from xndz who has it working on 1.21.

I don't even know where to start my troubleshooting because I can not be sure that my inverter is even able to communicate over RS485. The RED power indicator LED is on but there seems to be another one next to it and that one is constantly off - should it flash when working normally?

Inverter going offline would indicate something like short circuiting wrong pins or so. For me the basic rs485 adapter didn't work, so I've got a bit more advanced one with automatic flow control and I also power ESP via usb (so don't use step-down from 12V)

@mekket
Copy link

mekket commented Aug 24, 2023

The inverter itself stays online and keeps working, the communication seems to go down even for the cloud. I will try again tomorrow and if that is still the case it must be either my connections or the fact that we have 3 different people with 1.21 with 3 different results.

@mekket
Copy link

mekket commented Aug 29, 2023

I re-flashed my ESP and now it is working as intended(On manager 1.21) Is there a way to change the inverter settings with this approach? Like changing the export limit with HA automations?

@Danielxyz123
Copy link

Danielxyz123 commented Aug 29, 2023 via email

@Danielxyz123
Copy link

Has somebody tested manager 1.24?

@kuminalli
Copy link

For me too, it seems that Manager 1.21 and Manager 1.22 disables the sending of data. (Inverter T10-G3) The German support sent me the manager 1.20 for a downgrade. For a successful downgrade, I had to rename manager1.20 to manager1.22, otherwise the inverter rejects the upgrade with the message "wrong file". The support in China does not give any answer. Unfortunately there is no changelog from FOXESS to the changes of the firmware.

Could you please share V1.20 bin-file?

@Danielxyz123
Copy link

10-300-11040-xx_T30_Manager_V1.20.zip

Here you are, unzip... .bin files are not supported.

@mekket
Copy link

mekket commented Feb 14, 2024

Has anyone tried setting the export limit from home assistant using rs485? In my area the electricity prices sometimes go to negative values and exporting to grid would actually cost money to the exporter so it would be neat to keep the inverters export limit near the current house consumption which I have from the smart meter.

@kuminalli
Copy link

kuminalli commented Feb 15, 2024 via email

@hJcRox
Copy link

hJcRox commented Jul 30, 2024

Hi
For info, I upgraded to 1.24 before reading this thread and the RS485 stopped working.
Thanks to the good info here I managed to downgrade to 1.20 and RS-485 now works again.
I had to rename the firmware file to 1.24 according to described above.
Interestingly, in the firmware view in FoxEssCloud, it still states revision 1.24 for the manager but 1.20 is running.
It seems like they are using the file name for the displayed firmware version.
Regards Jan

@Lembi203
Copy link

Lembi203 commented Dec 9, 2024

Where do you find the Manager Version?

My inverter is new and has also a different connector with more pins, but i cannot find the manaer version?

PXL_20241209_095513255
Screenshot_20241209-115142

@hJcRox
Copy link

hJcRox commented Dec 13, 2024

Hi
The 1.20 FW is provided in this thread by Danielxyz123.
Link
Regards

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

9 participants