-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
NO contact to TSOL M1600 with serial 12* #519
Comments
If you look at the inverter settings. I would assume your inverter was detected as HM-1500 etc? |
Due the Installation it tells me someting about HM-1500 Type. I will check it. The NRF Module seems correct detected: Radio Information
|
Hmm, I've a TSOL with a serial number beginning with 11.. but my serial number sticker looks complete different (sorry for the bad quality of the picture): My difficulty with the connection was, that the TSOL needs a connected solar panel (or DC source) with enough power (~10W) before the inverter activates and is answering to the connection requests. With less power the LED blinks red and green, but no communication. With only AC connected the inverter does nothing. The inverter was bought in January 2023 and is reported as HM-1500. The bootloader version is 0.1.0 and the firmware is 1.0.12 with the date 2020-06-24. |
TSOL and some OEM / so called SubBrands of Hoymiles may require a different Serial Number calculation which rovo89 found out on Discord.
public static long sn92long(String str) {
if (str.length() != 9) {
throw new IllegalArgumentException("Illegal SN");
}
int[] iArr = _FASTDICT;
return ((((iArr[str.charAt(0)] << 10) | (iArr[str.charAt(1)] << 5)) | iArr[str.charAt(2)]) << 32)
| iArr[str.charAt(8)] | (iArr[str.charAt(3)] << 25) | (iArr[str.charAt(4)] << 20)
| (iArr[str.charAt(5)] << 15) | (iArr[str.charAt(6)] << 10) | (iArr[str.charAt(7)] << 5);
}
sn = 'A11001TW4'
CHARS32 = '0123456789ABCDEFGHJKLMNPRSTUVWXY'
CHARS64 = 'HMFLGW5XC301234567899Z67YRT2S8ABCDEFGHJKDVEJ4KQPUALMNPRSTUVWXYNB'
first_char = '1'
i = CHARS32.find(first_char)
sum1 = sum(ord(c) for c in sn) & 31
sum2 = sum(CHARS32.find(c) for c in sn) & 31
ext = first_char + CHARS64[sum1 + i] + CHARS64[sum2 + i]
print(ext)
sum1 = sum(ord(c) for c in sn) & 31
sum2 = sum(CHARS32.find(c) for c in sn) & 31
ext = CHARS64[sum1] + CHARS64[sum2]
print(ext) Ich glaube das Prefix der Seriennummer entscheidet idR noch darüber über welches RF-Modul (NRF24L01+, CMT2300A und in Zukunft zweites WLAN Interface für WiFi-Series) die OpenDTU/AhoyDTU mit dem WR (bzw in Zukunft dessen DTUBI) kommuniziert. Wie rovo89 richtig vermutet wird das Prefix 4412 bzw 2821 mW noch nicht von der OpenDTU erwartet / akzeptiert bzw der bisherige Code weiss nicht was er mit dem WR anfangen soll. Da fehlen bestimmt noch ein paar Anpassungen für die HERF und andere “SubBrand” Inverter. |
Is there any information on whether OpenDTU supports the Herf-800 inverter or whether somebody has already figured some stuff out on how to support it? |
Nevermind I figured something out: #1751 |
I also added some remarks etc. in #1751 |
But as far as I see it, it's still unknown how to decode the |
@tbnobody is there an issue with the above code for sn92long() decoding the I did try that Serial ID with the above sn92long code from #1751 (comment) and #1751 (comment) SN92 Long: @MuckelMarko this Serial Number is from you. Please follow the description by @Birkenstab in the first link above. Does it work with the Serial ID above, e.g. I tried it with several sequences of digits / characters from the Serial Number you have given: Serial Number: SN92 Long: SN92 Long: SN92 Long: SN92 Long: SN92 Long: SN92 Long: |
@MuckelMarko I also tried to scan / detect the bar code given in your image, though it is not sharp enough to yield a tangible result. May I ask you to make a better mugshot of your inverter Serial ID ? zbarimg HERF-M1600_barcode_levels.jpg
scanned 0 barcode symbols from 1 images in 0,01 seconds |
Is your feature request related to a problem? Please describe.
Hi what a cool reverse engineering project.
Unfortunately I got a TSOL M1600 Micro Inverter with serial number 12 *.
There is no communication between TSOL and openDTU. See console logging in attached file (console.txt).
Does someone have a idea hast wrong?
The Serial contains characters (TSOL-serial.jpg). Is this the problem?
console.txt
thank you for this cool project!
Describe the solution you'd like
Is there a possibility to update OpenDTU to be able to communicate with a TSOL M1660 with probably new firmware?
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: