Comments (23)
thanks, it is working since 3 days ;-)
from hoymiles.
Some problem here
from hoymiles.
- I need logs
- More details about your configuration of addon, do you run two instances off addon or how it is working.
- It is christmas time so I don't know when I will have a time.
- In the last option will be access for installation with this configuration but lets check other stuff first.
from hoymiles.
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:
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.
@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.
@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.
this should fix it, please check edge from my fork https://github.com/Cosik/hoymiles
from hoymiles.
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.
@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.
Hi cosik, Edge Version does not fix the problem. Would you please try to fix the Problem :-)?
from hoymiles.
@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.
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.
Fresh installation of home assistant - 2nd plant still does not work :-)
from hoymiles.
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.
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.
@donwolle I will need access to hoymilles cloud not home assistant. You could try reach me over discord - .cosik/Cosik#6329
from hoymiles.
@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.
@Yannikk-k please tests new version of edge. Bug should be fixed.
from hoymiles.
@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.
@hangingloose did you read my comment before?
from hoymiles.
Sorry, I thougt, I have had thist version, but it wasn´t.
Thanks! Now it looks fine ;-)
from hoymiles.
@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.
ok, so I'm closing topic.
from hoymiles.
Related Issues (20)
- HoyMiles Solar Gateway Stable Addon - Installation failed HOT 9
- Since latest HA Core Update HOT 1
- Possibility to customize topic into MQTT HOT 2
- 502 Bad Gateway Error Breaks Fetching HOT 2
- Add-on no longer shows data after restarting the HA
- Incorrect values on meter_from_grid and meter_to_grid HOT 8
- TypeError: float() argument must be a string or a number, not 'NoneType' HOT 3
- PlantName HOT 1
- Download Production History HOT 3
- Addon fails / freezes in an udatected by HA. HOT 2
- Which Topic for only real_power
- Power Limiter for Hoymiles HOT 4
- Issue with wrong return types by code HOT 1
- TypeError HOT 4
- Add-on HoyMiles Solar Gateway Edge Addon has been remove HOT 5
- MQTT not working after update HOT 14
- ERROR User has no acces to plant HOT 6
- ESTAR ENERGY use the same api platform - Make BASE_URL configurable? HOT 2
- Can not see / find all entities for each device / inverter HOT 3
- Can not install Edge version in Home Assistant HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hoymiles.