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

Temporary poor connection to HMS-400-1T #2082

Open
3 tasks done
MichaMEG opened this issue Jun 21, 2024 · 22 comments
Open
3 tasks done

Temporary poor connection to HMS-400-1T #2082

MichaMEG opened this issue Jun 21, 2024 · 22 comments
Labels
bug Something isn't working

Comments

@MichaMEG
Copy link

What happened?

Sometimes the connection works well, but occasionally the data displayed is not fully updated.

To Reproduce Bug

Sometimes the connection works well, but occasionally the data displayed is not fully updated:
"Aktuelles Limit: 400 W | 100 %
Letzte Aktualisierung: vor 455 Sekunden"
At the same time, we read out too 600-HM without any problems.
Strangely enough, the performance data is still sometimes updated. Sometimes there are no problems for hours.

Expected Behavior

I would have expected a smooth display

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

c144b68

Relevant log/trace output

16:23:50.966 > TX RealTimeRunData 865.00 MHz --> 15 84 88 16 84 80 16 33 64 80 0B 00 66 75 8C F6 00 00 00 00 00 00 00 00 3C 7A EE 
16:23:51.629 > RX Period End
16:23:51.629 > All missing
16:23:51.629 > Nothing received, resend whole request
16:23:51.629 > TX RealTimeRunData 865.00 MHz --> 15 84 88 16 84 80 16 33 64 80 0B 00 66 75 8C F6 00 00 00 00 00 00 00 00 3C 7A EE 
16:23:52.140 > RX Period End
16:23:52.140 > All missing
16:23:52.140 > Nothing received, resend whole request
16:23:52.140 > TX RealTimeRunData 865.00 MHz --> 15 84 88 16 84 80 16 33 64 80 0B 00 66 75 8C F6 00 00 00 00 00 00 00 00 3C 7A EE

Anything else?

generic_esp32s3

Please confirm the following

  • I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.
@crisi-solar
Copy link

Ich kann nach umfangreichen Tests bestätigen dass bei mir für mein Problem HoymilesZeroExport mit openDTU - hängt in der Früh "reserve85/HoymilesZeroExport#211"
ausschließlich die openDTU dafür verantwortlich ist.

Mit Ahoy 0.8.84 funktioniert es ohne Probleme mit den Hoymiles WR und auch mit HoymilesZeroExport!

@tbnobody
Copy link
Owner

It would have been usefull to know that you are sending limits in the first place.

Commands inserted by the API or by the WebUI have always a higher priority than automatically inserted commands (like statistics data). That means if you are sending limits to often, there is no chance to execute the statistics command anymore.

@MichaMEG
Copy link
Author

But that has nothing to do with my bug report.

I have a suspicion that if I set the transmit power to -2 dBm it seems to work, but I still have to watch it a bit.

@MichaMEG
Copy link
Author

There were problems again this morning, after lowering to -5 it is running again for the time being.

@MichaMEG
Copy link
Author

That's not it either.
As soon as I change the transmission power a little, it works for the rest of the day.

@MichaMEG
Copy link
Author

I have now replaced the power supply unit and the USB cable.
The cable was included with the OpenDTU Fusion, but it seems a bit thin and my mobile phone only wants to charge extremely slowly with it.
It seems to work reliably with the very powerful USB-C power supply and cable I'm using now.
I will probably get the USB-C power supply from the Raspberry Pi 4 for the OpenDTU.
That should easily suffice for this purpose and is relatively cheap.

@MichaMEG MichaMEG reopened this Jun 26, 2024
@MichaMEG
Copy link
Author

It was the power supply.
Assumption:
The power supply should not drop below 5 volts under load and the cable should be of high quality

@pioneer-01
Copy link

It was the power supply. Assumption: The power supply should not drop below 5 volts under load and the cable should be of high quality

What power supply do you use now?

@MichaMEG
Copy link
Author

MichaMEG commented Jul 3, 2024

It has improved a lot, but it still happens from time to time.
Is there anything that can be improved to make it more stable?
I'm going to order a Raspberry Pi power supply now, but I think there's still a small problem.

@MichaMEG MichaMEG reopened this Jul 3, 2024
@ms49434
Copy link

ms49434 commented Jul 3, 2024

It has improved a lot, but it still happens from time to time. Is there anything that can be improved to make it more stable? I'm going to order a Raspberry Pi power supply now, but I think there's still a small problem.

I can see from your report that you are using the default frequency of 865 MHz for the communication with the HMS inverter. Could you please adjust the frequency to a higher value, i.e. 868.25 MHz and report if it makes a difference or not.
Please be reminded that it can take up to 15 minutes to reconnect after changing the frequency.

@MichaMEG
Copy link
Author

MichaMEG commented Jul 3, 2024

I will and will report back in a few days.
Thank you very much

@MichaMEG
Copy link
Author

MichaMEG commented Jul 4, 2024

Unfortunately, this did not help either.
After switching to a different transmission power, regardless of the direction, the reception is back.
But it was worth a try, thank you

@MichaMEG
Copy link
Author

Mit dem Netzteil vom Raspberry 5 läuft es jetzt relativ stabil.
Wobei das Netzteil etwas übertrieben ist (25 Watt bei 5.1 Volt.
Falls es mal in der Webanzeige hängt, hilft meistens ein Reload im Webbrowsers.

@MichaMEG
Copy link
Author

OK, now it works with the Raspberry Pi power supply.

@MichaMEG
Copy link
Author

Just when you think all is well...
It's happened again

@MichaMEG MichaMEG reopened this Jul 27, 2024
@stefan123t
Copy link

@MichaMEG Do you have the condensators close to the NRF/CMT Module ? Can you post an image of your hardware ?

@MichaMEG
Copy link
Author

MichaMEG commented Jul 27, 2024

@stefan123t
Copy link

@MichaMEG why don’t you try OpenDTU-OnBattery and use the built in Dynamic Power Limiter with that. I assume the reserve85 solution is sending too frequent ActivePowerLimit commands to the OpenDTU and does not wait for confirmation of the new Power Limit through the REST API before sending the next command. This can render the inverter unresponsive for at least 15 minutes.

@MichaMEG
Copy link
Author

Sorry, I'm not setting a power limit, that must be a misunderstanding.
I just want to know how much the inverters produce and not limit anything.

@stefan123t
Copy link

stefan123t commented Jul 29, 2024

@MichaMEG i must have mistaken this because in your first post you mentioned the 100%/400W Active Power Limit and crisi-solar mentioned his use of the reserve85 tool which indeed sets the Active Power Limit.

So you do have 2x HM-600 and 1x HMS-400-T1 connected / configured in your OpenDTU Fusion board from Alliance Apps.
Did you have to connect the foil antennas yourself or were they pre-connected by Alliance Apps ?
The beefy power supply you have should be sufficient for the OpenDTU Fusion board.

Can you please send us the first seven digits of your serial ID plus a screenshot / copy of your Inverter Info as it contains a couple of details, e.g. model type, build date / week, HW Version, etc. which we need to further analyse the issue.
We have seen new HMS versions lately which have issues with the channel hopping / default RF frequency of 865 MHz preset for the HMS models. That is why the comment from @ms49434 was actually good advice.

@stefan123t
Copy link

Also see #2137 for another similar issue with HMS models with Firmware-Version 1.0.27 and Firmware-Build Date 2023-06-05 10:24:00 or later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants