-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Deye Microinverter is sending the same data with update period of 60s or 5m #84
Comments
Hi @Steinbichler, I'm little bit worried that you are mixing different things here together.
This integration and HA has nothing to do with Deye and their support and is completely separated thing. No configuration from Deye side won't affect this integration at all. And at the same time nothing set in this integration will affects Deye Cloud nor Solarman App. Again it is completely separate thing from those.
What are you trying to achieve? update_interval: 5 in the 2mppt.yaml means 5 seconds not 5 minutes. |
What shows Update Interval sensor in diagnostic card in device detail view? Edit: Please enable debug logging, let it run for a while and then post the log file here please. |
@Steinbichler |
do you mean this one @CrazyUs3r |
I started debug and I will upload the file later later |
home-assistant_solarman_2024-08-15T17-36-23.029Z.log I hope it helps.Thank you an Regards Roland |
What the actual f*ck is happening in there! Do you have it updated to v24.08.14 version? If no please do the update. And could I please ask you to do the following please:
Thank you for your cooperation! 😉 |
I remember this behavior after my first installation. The Update information in seconds or minutes from Home Assistant was showing wrong values but the sensors updates as expected. I haven’t done anything about it and wondered. The problem desolved by itself after a while. |
Sorry about the confusion in the deleted comment. |
Here is my log |
@Steinbichler and when you are observing the value does it really update with such a long period? Or just the HA shows it incorrectly? |
Maybe fix: Proper implementation of sensor platform will do something about that strange update behavior. |
I test it also |
I did a test to cover my pannels. And yes ist last at least the 5 to 6 Minutes till I see the change in HA. A question to my understanding: Even if the content of the register in my inverter did not change, the update in HA-solarman should read the unchanged content after the interval time? Is it not in this way? And for the link in your comment to the definition file? Should I change it like it is in the description? and clear all the names? |
Fuu, that is really strange :-/
It will be read from the inverter. BUT! Ha won't update it's "Last updated" until the value really changes. So the value just stays the same without any visible update trigger and soon as the new values differs from displayed it updates the state. And refreshes "Last changed/updated"
It was link to a commit, it affects whole source code not just definition profile. |
@CrazyUs3r, you did not wait long enough for the file to finish uploading, hehe. You have to wait few seconds until the "Uploading" from the name does not disappear. That indicates that the upload finished. |
@Steinbichler Try v24.08.17 and see if it won't fix your issue. |
Heyho, |
Hey @bjoernmayer. Please enable debug logging and post the log here. |
You can check through debug logging that data are fetched every 5 seconds but microinverter sends the same data (for PV sensors and some other) for duration of 5m (in some cases 1m). So this is not something which can be solved from the integration (or at least I don't know yet how could be device influenced in this matter). |
that's weird. I can't really check if cloud's 1 min really 1 min or also 5... hm. |
I totally understand! It doesn't make sense at all but I currently do not have any microinverter unit to test things out and maybe find a solution. I do plan to acquire some as soon I'll have some spare funds to "waste" to do exactly that. 😉 |
Can I somehow help? |
Not really sure if VPN would be enough as my idea is to sniff out traffic between the device and the internet in MITM style and ask support to reconfigure that update interval. It could hopefully reveal something if they change anything on the device. |
That is for disconnecting the device from the cloud and not losing time synchronization in the process (can be done using this integration + HA automation to set time too). |
Can someone try feat: Implemented response to V5 HEARTBEAT? It should solve time synchronization for cloudless setup. |
@davidrapan how can I do? |
Just run the latest code. Meaning you have to manually update the code as it's not part of any release yet. |
Perfect. I did changes. Need to wait tomorrow morning, when microinverter will start to works |
@terzo33, I had to do some fixes already fix: Sequence number for response to V5 HEARTBEAT 😉 |
Done 💪 |
Today is a rainy day... i can't try :( |
@davidrapan it doesn't seem to work Edit: @davidrapan doesn't work |
The purpose of this feature is not to anyhow help w/ update period of those entities but to enable time synchronization in cloudless environment! I just used this thread to find someone with microinverter to test the functionality. |
@davidrapan yes but it doesn't seem to work because the data is updated every 5 minutes as it happens via cloud. is there anything I can do to help you? EDIT: @davidrapan maybe need to disconnect my microinverters from the cloud? (solarman app) |
You do not understand. It has nothing to do with this. |
@terzo33, show me please your debug log (hope you recorded some or still have chance to). |
|
Looks like it does work:
|
@davidrapan great, but what purpose will this thing you're doing serve? What improvement will it bring? |
I told you, time synchronization for installations in a cloudless (disconnected from solarman servers) environment. |
yes I understood this, but by disconnecting from the solarman cloud can we also have improvements on the data or extrapolate more data? |
It should prevent timeouts but this functionality has nothing to do w/ subject of this thread. I already said it, that I just used this thread to announce this feature. 😉 |
This issue is stale because it has been open for 30 days with no activity. |
First thank you for this fine solarman integration! Great Job!
I am running homeassistant in actual version. My converter is a Deye 600. Relais is installed.
I have your ha-slarman up an running installed via HACS. Nearly everthing works fine but:
I have requested at Deye support to set the update interval for my Deye 600 to 1 Minute.
They agreed to have it done. I see in the Homepage of the converter the update time is set to 1.
But nothing changed in the ha-solarman. I changed the number in the definition file: deye_2mppt.yaml.
After the installation the update_interval: 5 was set.
What ever the number I enter, and for sure I did a restart after the change, nothing happens.
The update interval is always 5 Minutes.
Can you help please?
Thank you an regards Roland
The text was updated successfully, but these errors were encountered: