Code Monkey home page Code Monkey logo

Comments (4)

Cosik avatar Cosik commented on September 7, 2024

@focabr addon is focused on pooling mainly PV data from HM cloud. PV data is refreshed ~15min. Did you check status after 15-20min? I could reduce pooling time but it will generate more traffic to cloud.

To be honest now I know how I could rewrite whole addon to change behavior and flow but I don't know if it is worth to do (I'm no longer using this plugin - just try to maintain it)

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

please check #139 reduce poling time to 8min and sending mqtt to 5 min. Is it ok, or should be less? In general decreasing mqtt time will cause that DB will growth with duplicated data.

from hoymiles.

focabr avatar focabr commented on September 7, 2024

Thank you very much for your feedback and clarifications.

Using the new version, it still has the same problem showing "connected".

I did the following, I turned off the DTU for 1h10 on the website https://global.hoymiles.com/platform/station/view/detail/device?id=1535490 it appeared offline and also all the Micros, but on homeassistant it always appeared "connected".

image

One of the things that caught my attention was this condition where the answer is the same.

https://github.com/dmslabsbr/hoymiles/blob/master/edge/hoymilesapi.py#L68

Could this be related?

from hoymiles.

focabr avatar focabr commented on September 7, 2024

Hello, after many hours of DEBUG I found what the problem was related to this issue.

To be able to use DEBUG I first had to fix it, which wasn't working at least for me, I found the problem and submitted a PR.

After much analysis I discovered that it was a string to integer conversion. I made the correction and sent it or PR.

Please feel free to contact me!

from hoymiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.