suaveolent / ha-hoymiles-wifi

Home Assistant custom component for Hoymiles DTUs and the HMS-XXXXW-2T microinverters
MIT License
136 stars 9 forks source link

Second inverter has missing entities #58

Open christof62 opened 2 months ago

christof62 commented 2 months ago

A DTU-Lite-S is used to connect to 2 identical HMT-2250-6T inverters. The second identified inverter has an incomplete list of entities as there are no entities for port 3 - 6. The total number of created entities is 75. This behaviour is reproducable with each configuration attempt.

Here the entities of the second inverter: image

And here the first inverter: image

suaveolent commented 1 month ago

Thanks, can you maybe paste the response from the get-real-data-new request from the https://github.com/suaveolent/hoymiles-wifi library? Please only keep the first 4 digits of the serial numbers.

christof62 commented 1 month ago

Here the response from the get-real-data-new request. It was already dark, hence there are no values. The library returns only 2 ports of the second inverter.

➜  ~ hoymiles-wifi  --host 192.168.178.71 get-real-data-new
Get-real-data-new Response: 
device_serial_number: "4130"
timestamp: 1725388301
active_power: 2
firmware_version: 1
tgs_data {
  serial_number: 286
}
tgs_data {
  serial_number: 226
}
pv_data {
  serial_number: 286
  port_number: 1
}
pv_data {
  serial_number: 286
  port_number: 2
}
pv_data {
  serial_number: 286
  port_number: 3
}
pv_data {
  serial_number: 286
  port_number: 4
}
pv_data {
  serial_number: 286
  port_number: 5
}
pv_data {
  serial_number: 286
  port_number: 6
}
pv_data {
  serial_number: 226
  port_number: 1
}
pv_data {
  serial_number: 226
  port_number: 2
}

Thanks!

suaveolent commented 1 month ago

Thanks, this seems like a similar problem as

https://github.com/suaveolent/ha-hoymiles-wifi/issues/51

I have not yet figured out why that is. Do you have access to the s miles installer app and are you able to capture network traffic via wireshark?

christof62 commented 1 month ago

Do you have access to the s miles installer app and are you able to capture network traffic via wireshark?

Yes, but unfortunately not now. This will be possible in about 2 weeks. I am not in the same network as the DTU.

suaveolent commented 1 month ago

That’s great. Maybe you can capture the network traffic sent by the phone to see what is different. I assume you get live data of all your inverters in the app.

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 30 days with no activity.