Foxess Inverter Modbus

No dtsu I don’t have it. I use eastron sdm
Chint Instrument (DSU666,DTSU666) data logging. MODBUS registers map. check heare there is more information about this unit. Modbus structure etc.
https://ecosystemprojekt.pl/upload/6087ddf1dd35f8.75606697.pdf
And greatings from poland znaczy cześć kolego :slight_smile:

Thank you Niqu, actually I;m Reading all data with ESPhome from this meter but. When Foxess Inverter is connected to this DTSU666 it reads few times per second data for own use. So communication to this device via second Modbus Master is very hard. Foxess Inverter consumes whole communication for own usage. As Assembly mentioned maybe this is topic for another thread but somehow connected with Foxess Inverter because i want to read data during night about consumption ( from smart meter because Foxess kills modbus during night ) This is very strange because even with night mode enablet Foxess reads data from smart-meter ( for what ). So my final question is if you know if there is possibility user smart meter ( slave ) to two Masters ? I read on some forum that i can use some device called ModbusMaster … but no clue about it. any suggestions would be appreciated.

disconnect from foxes. Why use inverter to read dtsu ?

I’m waiting for some device dform ultima automatyka from Gdynia. There is buffer inside and master read slave and this unit store data inside and send to another master.
P.S. Come at priv message this is not dsu topic.

Hi guys. Nice discussion.

I am thinking to use car HV batteries with Foxess hybrid inverters. Is someone that can do a CAN capture between inverter and battery management box??

What do you think?

Thanks.

Hi,
this component only works with Foxess T-Series.
For Foxess hybrid inverter please see this component.

Hi @assembly may you please include in your code two missing values i mean
‘Sensor *from_grid_yield_generation = new Sensor;’ – this one is even defined in your code
And
Loads Generation
Both values should be presented in kWh
according to official Foxess documentation

obraz

Are these values visible only when Foxess is connected with Smart Meter ( DTSU666 ) ? Like in my case ?

Thanks a lot for checking.
------Edit-----
I Think that this is related if you have Storage only… :frowning:

In 99% tomorrow i made test about status bits. Also sniff communication without grid ?

Logs from today small test
Disable grid:
11:47:35][I][custom:345]: Fault message 1: -2147483584
[11:47:35][I][custom:346]: Fault message 2: 0
[11:47:35][I][custom:347]: Fault message 3: 0
[11:47:35][I][custom:348]: Fault message 4: 0
[11:47:35][I][custom:349]: Fault message 5: 0
[11:47:35][I][custom:350]: Fault message 6: 0
[11:47:35][I][custom:351]: Fault message 7: 0
[11:47:35][I][custom:352]: Fault message 8: 0
[11:47:35][D][sensor:127]: ‘T-Series PV1 Power’: Sending state 0.00000 W with 1 decimals of accuracy
[11:47:35][D][sensor:127]: ‘T-Series PV2 Power’: Sending state 0.00000 W with 1 decimals of accuracy
[11:47:35][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:47:35][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:47:35][D][sensor:127]: ‘T-Series Inverter State’: Sending state 2.00000 with 0 decimals of accuracy
[11:47:35][D][text_sensor:067]: ‘T-Series Inverter Mode’: Sending state ‘Error’
[11:47:41][D][text_sensor:067]: ‘T-Series Inverter Mode’: Sending state ‘Error’
[11:48:33][D][custom:112]: succesfully read realtime data
[11:48:33][I][custom:113]: User data length: 232
[11:48:33][I][custom:114]: Total message length: 245
[11:48:33][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:33][D][sensor:127]: ‘T-Series Generation Power’: Sending state 0.00000 W with 0 decimals of accuracy
[11:48:33][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:33][D][sensor:127]: ‘T-Series Grid Power R’: Sending state 0.00000 W with 0 decimals of accuracy
[11:48:33][D][sensor:127]: ‘T-Series Grid Power S’: Sending state 0.00000 W with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘T-Series Grid Power T’: Sending state 0.00000 W with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘T-Series PV1 Voltage’: Sending state 514.29999 V with 1 decimals of accuracy
[11:48:34][D][sensor:127]: ‘T-Series PV1 Current’: Sending state 0.00000 A with 1 decimals of accuracy
[11:48:34][D][sensor:127]: ‘T-Series PV2 Voltage’: Sending state 516.20001 V with 1 decimals of accuracy
[11:48:34][D][sensor:127]: ‘T-Series PV2 Current’: Sending state 0.00000 A with 1 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 8.00000 with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 8.00000 with 0 decimals of accuracy
[11:48:34][D][sensor:127]: ‘’: Sending state 18.00000 with 0 decimals of accuracy

Enable grid inverter wakeup:
11:48:43][I][custom:345]: Fault message 1: 96
[11:48:43][I][custom:346]: Fault message 2: 0
[11:48:43][I][custom:347]: Fault message 3: 0
[11:48:43][I][custom:348]: Fault message 4: 0
[11:48:43][I][custom:349]: Fault message 5: 0
[11:48:43][I][custom:350]: Fault message 6: 0
[11:48:43][I][custom:351]: Fault message 7: 0
[11:48:43][I][custom:352]: Fault message 8: 0
[11:48:43][D][sensor:127]: ‘T-Series PV1 Power’: Sending state 0.00000 W with 1 decimals of accuracy
[11:48:43][D][sensor:127]: ‘T-Series PV2 Power’: Sending state 0.00000 W with 1 decimals of accuracy
[11:48:43][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:43][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:48:43][D][sensor:127]: ‘T-Series Inverter State’: Sending state 2.00000 with 0 decimals of accuracy
[11:48:43][D][text_sensor:067]: ‘T-Series Inverter Mode’: Sending state ‘Error’
[11:48:43][D][text_sensor:067]: ‘T-Series Inverter Mode’: Sending state ‘Error’
[11:49:11][D][custom:112]: succesfully read realtime data
[11:49:11][I][custom:113]: User data length: 232
[11:49:11][I][custom:114]: Total message length: 245
[11:49:11][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:11][D][sensor:127]: ‘T-Series Generation Power’: Sending state 56.00000 W with 0 decimals of accuracy
[11:49:11][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:11][D][sensor:127]: ‘T-Series Grid Power R’: Sending state 18.00000 W with 0 decimals of accuracy
[11:49:11][D][sensor:127]: ‘T-Series Grid Power S’: Sending state 18.00000 W with 0 decimals of accuracy
[11:49:11][D][sensor:127]: ‘T-Series Grid Power T’: Sending state 18.00000 W with 0 decimals of accuracy
[11:49:11][D][sensor:127]: ‘T-Series PV1 Voltage’: Sending state 514.50000 V with 1 decimals of accuracy
[11:49:11][D][sensor:127]: ‘T-Series PV1 Current’: Sending state 0.00000 A with 1 decimals of accuracy
[11:49:12][D][sensor:127]: ‘T-Series PV2 Voltage’: Sending state 516.70001 V with 1 decimals of accuracy
[11:49:12][D][sensor:127]: ‘T-Series PV2 Current’: Sending state 0.00000 A with 1 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 8.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 8.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘’: Sending state 18.00000 with 0 decimals of accuracy
[11:49:12][D][sensor:127]: ‘T-Series Today Yield’: Sending state 0.00000 kWh with 1 decimals of accuracy
[11:49:12][D][sensor:127]: ‘T-Series Generation Total’: Sending state 2102.10010 kWh with 1 decimals of accuracy
[11:49:13][D][sensor:127]: ‘T-Series PV1 Power’: Sending state 0.00000 W with 1 decimals of accuracy
[11:49:13][D][sensor:127]: ‘T-Series PV2 Power’: Sending state 0.00000 W with 1 decimals of accuracy
[11:49:13][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:13][D][sensor:127]: ‘’: Sending state 0.00000 with 0 decimals of accuracy
[11:49:13][D][sensor:127]: ‘T-Series Inverter State’: Sending state 1.00000 with 0 decimals of accuracy
[11:49:13][D][text_sensor:067]: ‘T-Series Inverter Mode’: Sending state ‘Online’

Hi, thanks for informing.
So the error-state is picked up by HA the way it’s supposed to. However the error numbers (-2147483584 and 96) don’t say much. Perhaps there is some kind of table where these error numbers are described.

I send question bout errors description to PL dealer.


This information I have from foxess service in poland.

@assembly

Thank you so much for this! I’ve have 3 of these inverters here, and want to read the data.

Can you share the gerber file, so i can order the PCB’s as well?

Thank you in advance!

Attention please ask Your service to update inverter. today they update firmware in next 1 week I made extra tests.

I will have to test it later this week. I’ve already assembled it but at the moment my initial jumper wire version is still connected to the inverter :wink:

If it works I’ll gladly share the gerber.

Do you know what will be changed/added in the new firmware? I’m quite hesitant to upgrade and would rather not to be honest (never change a running system).

okay thankyou! my inverters are from december 2022, so i guess the last firmware. as soon as i have everything wired up i will let you know if my firmware works fine with the existing code!

Information from service there is update of modbus communication and other changes of stability. They try receive changelog from CN guys.

@Niqu jaki masz firmware obecnie na Foxie ?
What is your last firmware in Inverter ?

1.24 or 1.18 i dont know firmware version is correct…
Falownik master : 1.24 Falownik slave : 1.00 Menadżer falownika : 1.18

Hi,
I’ve added the gerber file for the pcb to Github.
The AHT10 temperature and humidity sensor is optional and can be ommited.

Edit: completed the Hardware page on Github with some additional details concerning assembling the pcb.

2 Likes