-
Notifications
You must be signed in to change notification settings - Fork 46
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
Solis data updates only every 5 minutes while portal updates every minute #325
Comments
We could make this a configuration options. I've made this an enhancement. I do not have much time, so community contributions are welcomed ;-) |
See #234 |
I have been discussing with the help desk for solis - I asked the question as I was looking for a faster react time .. they said they moved me to a one minute cycle - I did ask for clarification: Hope this helps |
I too have mine set to 1 min upload cycles. For a while it kept reverting to 2 mins (worth looking out for that) and I needed to have a beta firmware updated on my wifi dongle which has resolved the issue. I will say that whilst it's set to 1 min intervals, it doesn't always grab them every minute in HA. 90% of the time it does, but there are times that it can be up to 5 mins. I put this down to if the network at their side is busy or a request timed out. Rather than allowing the update intervals to be a selectable option/range, the update cycle interval is viewable in the API for the data logger. You could use this value to automatically set the update frequency in the integration. I'm only just getting there with Python, and not really at the level yet to build an integration or even offer up the code to do so, but, I'm sure there are others that can! |
So having recently switched to one minute cycle I can see that the data is updating more regularly however its stale data... looks like it's taking 4 to 5 minutes to get up and down. I am looking at the sensor my_solis_inverter_timestamp_measurements_received which i assume is when solis cloud got the data i converted it to real time and its 5 to 6 minutes behind the log timestamp (shown below) .... Is this just me? Or are others seeing the same? last solar update changed to 08-Sep-2023 15:32:51 triggered by state of my_solis_inverter Timestamp Measurements Received changed to 1694183571.0 |
ok - so maybe its a volume issue because later the difference improved I assume the data received timestamp comes from the cloud and is associated to a package of data.... |
Hi together, if you are looking for a quicker update of the results, you should have a look to https://github.com/wills106/homeassistant-solax-modbus Until today I was a really big fan of the hultenvp/solis-sensor integration. But since I've tried the Solax integration today, I'm also a big fan of Solax. Solax do have more possibilities because there is no restriction created by Solis cloud API. |
Thanks for the pointer ... I installed this integration to see if it would work for me .. the install instructions seem a bit scant on details ... I now have to wait for the sun to come up... When you say you have the "Solis LAN adapter" do you mean the wifi data logger or some other bit of tech? |
Hi, thanks for the information. Does that adaptor allow remote control? I used to have the old wifi dongle but that is no longer supported for remote control. That exposed port 8899 too. There is only one other dongle I know of that supports either modbus or solis cloud but not both at the same time, and that's the SOL-S2-WL-ST. |
Didn't work for me - I tried a few different configuration options but no useful connection ... I am not sure the wifi stick offers any service My guess is that the wifi stick may not have a mobus server |
Hi Viking2010, I've tried also many thing in the early beginning one year ago without success reading data directly from TCP-Modbus server. I've lerned by adapter is too new and therefore it's not working. At this time I was really happy to find the cloud solution provided by hultenvp/solis-sensor. I hope you can also manage to connect your HA with the Solis inverter directly by TCP-Modbus. |
Hi snigehere, Here are maybe some useful information regarding adapter https://github.com/Jumpy07/Solis---SolisCloud-and-Home-Assistant |
Thanks - it did respond to the test So more reading required..... |
@snigehere: Maybe you can try to get more support by the git repo. There are more users, asking for support to get their Solis inverter connected. They have been asking for serial number. Maybe there is a chance to find a solution also for your hardware. Sorry for no better news / help. |
@luftdieb thanks for your help and pointers. |
Hey BTW that was the idea behind this PR: #240 -- I think that had to be reverted though, due to some impact here: #254 and I haven't had a chance to dig into why that happened. :( |
@luftdieb It works like a charm, thanks a lot. |
I "seem" to have solved the problem with the update frequency of my Solis. I changed the following line in /config/custom_components/solis/service.py: # Match up with the default SolisCloud API resolution of 1 minute Previously SCHEDULE_OK was initialized on 5 minutes. Now data in HA is updated synchronous with the data on the Soliscloud website. Thanks |
I think that sensor.my_solis_inverter_timestamp_measurements_received shows the timestamp of the data as it arrived at the solis cloud from the inverter .. if you compare that to the current time when it updates in HA it shows the delay through solis cloud assuming that HA is in sync with the time source. (nb: I am not sure they store the timestamp it was sent from the inverter as that is prone to error as its user set so there could be a delay inherent on that side as well). For me the my_solis_inverter_timestamp_measurements_received timestamp is, for the most part, between 1 and 2 minutes delayed but I have seen it 5 to 6 minutes delayed .. my guess is this happens when there is extra load on the cloud and API, So "at worst 2 minutes" is not my finding .. "at worst" is a longer time at times ... It also really depends on how you use the data to know if its an issue or not .. if you have fine grain automations that are supposed to deal with surplus energy than you will need to look for an alternate as you could be triggering the automation late or have it running long. |
@snigehere is correct, you can tweak the update schedule as @gijssenh shows, but you cannot control the latency introduced in the cloud (well, at least this cloud application ;-) ) |
How can I do this? |
Reach our to solis support ( [email protected] ) and ask them to make the change - its a setting on their side |
Cheers, I've sent them an Email including all my details for each system |
I got a quick reply... Hello Graham, |
I wrote to them about getting server b working on my data stick.. I told them that the 5 minute delay manifests as 10 minute taking into account the cloud delays. I pointed out that as there was no way to get local data it made it impossible to manage usage. After a few back and forth mails they told me they had changed me to 1 minute cycle.. I checked the data and it reflected that... I will recheck tomorrow. If you message me your email I will share the email |
I have a issues with one sensor that still only update every 5min , so made a post here : If anyone could help I would appreciated it very much. |
I couldn't find this stick for sale anywhere, any tips where to find it? |
Looks like the WiFi datalogger doesn't expose the Modbus port (nmap shows closed port). Can I wire a RS485 to the inverter and get it integrated in HA that way? In a distand past, I followed this technique with a RPi Zero and RS485 HAT for a different inverter. But that required me to list all modbus addresses in a big script: https://sequr.be/blog/2021/08/reading-ginlong-solis-inverter-over-serial-and-importing-in-home-assistant-over-mqtt/ |
Solis has increased the data updates from 5 to 1 minute on my request. I see the change in the Soliscloud portal. There data is updated every minute, but in HA the update frequency stayed at every 5 minutes. I guess I am missing something ... Can anyone help?
The text was updated successfully, but these errors were encountered: