davidrapan / ha-solarman

⚡ Solarman Stick Logger integration for 🏠 Home Assistant
MIT License
115 stars 25 forks source link

Solarman DDZY422-D2 #187

Open bobybob69 opened 1 month ago

bobybob69 commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

I try to install my Solarman DDZY422-D2 Smart Meter using the integration ha-solarman. When setting everything up, I got an error message "Échec de la configuration, nouvel essai: [SERIALNUMBER] Querying IP-ADRESS:PORT failed: [0, 0]."

Attach the debug log As a file or using the 'code' formatting.

To Reproduce Steps to reproduce the behavior:

From the setting, add an integration set your IP address Port Serial number select solarman_dtsd422-d3.yaml apply setting Wait for the confirmation and notice the error message "Échec de la configuration, nouvel essai: [SERIALNUMBER] Querying IP-ADRESS:PORT failed: [0, 0]."

Expected behavior A clear and concise description of what you expected to happen.

I don't know if it's the right configuration path as it's the D3 on the choice list

Screenshots If applicable, add screenshots to help explain your problem.

error solarman integration DDZY422-D2

Metadata: Version: 24.09.27

Additional context Add any other context about the problem here.

I don't know if it's a bug report or if it's a request feature to add the configuration .yaml for the D2 smart meter (I thought D2 / D3 where the same.. ?)

bobybob69 commented 3 weeks ago

just so you know, I deleted the devices and I re-install it properly . And the config file with the latest logs I sent only contain what you shared bellow , is it right ?

Okay, try this one:

#
# Solarman Smart Meter DDZY422-D2
#
# Reference: https://github.com/user-attachments/files/17586995/DDZY422-D2.-modbus.HT-YF2018-0929-01._1729757263801_10de75.xlsx
#

default:
  update_interval: 5
  digits: 3

parameters:
  - group: Variable Data 1
    items:
      - name: Date & Time
        platform: datetime
        rule: 8
        registers: [0x0105, 0x0106, 0x0107]
davidrapan commented 3 weeks ago

Yes now it uses correct one. Unfortunately w/ the same result.. 😞

bobybob69 commented 3 weeks ago

can it be the port that cause issue ? by default 8899 ? what could be wrong.. it's so frustrating at this level to not be able to integrate it even with the modbus xls 😞

Any troubleshoot I could do locally ? The errors are because the meter doesn't answer back the data we're looking for right ? Or it's the modbus that is not correct apparently ?

githubDante commented 3 weeks ago

can it be the port that cause issue ? by default 8899 ? what could be wrong.. it's so frustrating at this level to not be able to integrate it even with the modbus xls

No, it's not the port. The smart meter is responding with an error/exception code, which means that the request is wrong (wrong address/wrong function).

Any troubleshoot I could do locally ? The errors are because the meter doesn't answer back the data we're looking for right ? Or it's the modbus that is not correct apparently

The best you can do is to request the proper/full MODBUS documentation for the smart meter from IGEN. Apparently the one in the XLS file is wrong and incomplete.

bobybob69 commented 2 weeks ago

hi @githubDante , how are you ? I got answer form the support team of solarman, and they confirm the file is the good one.. what can we do to integrate it ? from where the issue can come from ? :/ thanks mate and have a pleasant day

davidrapan commented 2 weeks ago

Did you mentioned what responses are we getting from the meter?

bobybob69 commented 1 week ago

hi @davidrapan , just answer back to their message adding the error message we're facing and I'm waiting for their answer.. will share it with you as soon as I got the answer