Code Monkey home page Code Monkey logo

Comments (23)

hangingloose avatar hangingloose commented on September 7, 2024 1

thanks, it is working since 3 days ;-)

from hoymiles.

juslex avatar juslex commented on September 7, 2024

Some problem here

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024
  1. I need logs
  2. More details about your configuration of addon, do you run two instances off addon or how it is working.
  3. It is christmas time so I don't know when I will have a time.
  4. In the last option will be access for installation with this configuration but lets check other stuff first.

from hoymiles.

bridgewatermedia avatar bridgewatermedia commented on September 7, 2024

I use only one copy of the Edge addon. (Latest version 1.2.2 ) It works great except for the timeout "unavailable" issue. Here is a screenshot of a couple of cards I have on the front end:

frontend.pdf

Here are the logs:
logfilehoyles.log

Two instances yesterday where the addon stopped. No errors that I could see in the logs.

It is Christmas, so that is why I finally have time to write about this - no hurry on my end. I shortened my automation to restart the addon after 30secs of unavailable so it seems to have mitigated this for now.

Merry Christmas :)

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@bridgewatermedia please enable debug and collect logs, also please add full logs from begining of starting addon, those logs looks too short. What is more it looks like connection to mqtt broker was broken so it cause problems. I need to check how client id is generate in implementation, meanwhile you could try also create separate user for this add on and check behaviour.

Also could you send info about your installation? some print screens of diagrams from hoymiles cloud,

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@bridgewatermedia also multiple installtions are supported by default but it was not tested, did you try to provide installation ids separated by comma?

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

this should fix it, please check edge from my fork https://github.com/Cosik/hoymiles

from hoymiles.

bridgewatermedia avatar bridgewatermedia commented on September 7, 2024

I Enabled debug mode.
I turned off restart addon automation so the addon would crash/stop/become unavailable.
I reversed the order of Plantids listed in Hoymiles config page to see if it was always the first,
or the second plant that was always stopping (it was plantID 96262 stopping when 96262,1768330)

Results:

It seems like the first plant listed is the one that "hangs" and times out as "unavailable". Now plant 1768330 becomes unavailable after switching the order to 1768330,96262

The first run through, all values seems to work, but then approximately 20min after the first run, the logs stop and entities become unavailable. The logs below are complete up until they hang.

Screenshot of Hoymiles also included.

LatestLogs.log
screenshots.pdf
secondlogstart.log

Let me know if you need anything else.

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@bridgewatermedia did you tried version from my fork? I've provided there a small fix if not please provide me access to this installation

from hoymiles.

donwolle avatar donwolle commented on September 7, 2024

Screenshot_20240108_201443_Home Assistant

Hi cosik, Edge Version does not fix the problem. Would you please try to fix the Problem :-)?

Screenshot_20240108_201210_Home Assistant

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@donwolle I need access to such installation, without it I will be not able to fix it. What is more, did you check edge version from my fork?

from hoymiles.

donwolle avatar donwolle commented on September 7, 2024

Yes, i tried the Edge Version.

First plant looses connection after a few minutes. After restarting the addon i can see the correct Data.

Can i Check other logs for you?

from hoymiles.

donwolle avatar donwolle commented on September 7, 2024

Fresh installation of home assistant - 2nd plant still does not work :-)

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

I already wrote that without access to installation with two plants there is no chance to fix it. Spamming here will not help.

from hoymiles.

donwolle avatar donwolle commented on September 7, 2024

How can i send you my login details to my Test Home Assistant system?

Seconds plant works after addon restart. After a few minutes Sensors disappear.

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@donwolle I will need access to hoymilles cloud not home assistant. You could try reach me over discord - .cosik/Cosik#6329

from hoymiles.

Yannikk-k avatar Yannikk-k commented on September 7, 2024

@Cosik: I have the same problem as described in this issue. I would be happy to give you access to my installation. I have just sent you a request in Discord.

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@Yannikk-k please tests new version of edge. Bug should be fixed.

from hoymiles.

hangingloose avatar hangingloose commented on September 7, 2024

@Cosik
If I would like to monitor a second plant, I only have to insert the plant ID at HOYMILES_PLANT_ID...
Like 96524,1508550 or how should I do this?

with two plant-ID´s I get an error... :
...
2024-02-16 08:37:44,638 - HoymilesAdd-on - INFO - ********** dmslabs&Cosik Hoymiles Gateway v.1.0.10
2024-02-16 08:37:44,638 - HoymilesAdd-on - INFO - Starting up... 2024-02-16 08:37:44
2024-02-16 08:37:44,639 - HoymilesAdd-on - INFO - Using Internal MQTT Server: core-mosquitto
2024-02-16 08:37:44,639 - HoymilesAdd-on - INFO - Using Internal MQTT User: addons
Traceback (most recent call last):
File "/hoymiles.py", line 404, in
sys.exit(main()) # next section explains the use of sys.exit
File "/hoymiles.py", line 329, in main
if int(config["HOYMILES_PLANT_ID"]) < 100:
ValueError: invalid literal for int() with base 10: '96524,1508550'

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@hangingloose did you read my comment before?

from hoymiles.

hangingloose avatar hangingloose commented on September 7, 2024

Sorry, I thougt, I have had thist version, but it wasn´t.
Thanks! Now it looks fine ;-)

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

@hangingloose and others, edge is a testing version. When I will get confirmation that it is working over few days I will introduce fixes for stable if it is affected also.

from hoymiles.

Cosik avatar Cosik commented on September 7, 2024

ok, so I'm closing topic.

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.