GithubHelp home page GithubHelp logo

banny310 / hoymiles-dtu-homeassistant-addon Goto Github PK

View Code? Open in Web Editor NEW
26.0 8.0 3.0 236 KB

Home Assistant Add-on: Hoymiles DTU Solar

home-assistant hoymiles mqtt dtu home-automation homeassistant iot

hoymiles-dtu-homeassistant-addon's People

Contributors

banny310 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hoymiles-dtu-homeassistant-addon's Issues

Disconnects DTU from S-cloud and does not give any data

I have firmware V00.02.22. Disconnects the DTU from the server. And the internet. Need to put in the Wifi AP afterwards again, but do not get any data with or without it into HA.
IMG_5879

Any idea what I do wrongly? In the log file, I see that it connects etc etc. So it looks good, but it looks like it does not receive any data. Stays on "unavailable" in the overview. (It's daytime and the panels are producing.). Maybe the new firmware?

Cant start addon

Hi,

Cant start the Adonis, it sag „Experten int“. Same error when i try to change the IP Adresse in the config.

Andy idea?

Thanks!

Can't connect dtu

"Some of DTUs (with never software) does not send statistics over 10081.
To check that you can login to DTU with telnet telnet 10081 and see communication.
Every minute there should something appear. If it is not, add-on won`t work"

Hello, i can't connect with telnet to dtu adress ip 10081 or other , the ip adress dtu is the dtu ssid ip ?
Thank you

Connection refused

I successfully upgraded firmware (see a different thread) but still keep on getting same error: connection refused. I can telnet 192.168.1.221 10081 without any problems, and data from DTU are dumped to terminal. Any ideas?

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
INFO | 2024-03-19 09:13:38 | [main] hoymiles.Entrypoint (Entrypoint.java:15) - Starting...
INFO | 2024-03-19 09:13:38 | [main] hoymiles.Entrypoint (Entrypoint.java:16) - TimeZone: Europe/Warsaw
INFO | 2024-03-19 09:13:38 | [main] bootstrap.WeldStartup (WeldStartup.java:148) - WELD-000900: 4.0.3 (Final)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.weld.bean.proxy.util.WeldDefaultProxyServices$1 (file:/app.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of org.jboss.weld.bean.proxy.util.WeldDefaultProxyServices$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO | 2024-03-19 09:13:38 | [main] bootstrap.WeldStartup (WeldStartup.java:236) - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
INFO | 2024-03-19 09:13:45 | [main] se.WeldContainer (WeldContainer.java:235) - WELD-ENV-002003: Weld SE container f9cf7fb8-c8ad-43b9-a079-74d18899a9df initialized
INFO | 2024-03-19 09:13:46 | [pool-2-thread-1] infrastructure.App (App.java:79) - Application Hoymiles DTU starting...
INFO | 2024-03-19 09:13:46 | [pool-2-thread-1] infrastructure.App (App.java:109) - Connecting to DTU: 192.168.1.221:10081 (watchdog_timeout=300)
INFO | 2024-03-19 09:13:46 | [pool-2-thread-1] dtu.DtuClient (DtuClient.java:78) - Trying connect to 192.168.1.221:10081
WARN | 2024-03-19 09:13:46 | [pool-2-thread-1] infrastructure.App (App.java:118) - DTU connection error: Connection refused: /192.168.1.221:10081
INFO | 2024-03-19 09:13:46 | [pool-2-thread-1] utils.RxUtils (RxUtils.java:58) - No. of errors: 1 class io.netty.channel.AbstractChannel$AnnotatedConnectException, retrying in 1 seconds...
INFO | 2024-03-19 09:13:47 | [RxComputationThreadPool-1] dtu.DtuClient (DtuClient.java:78) - Trying connect to 192.168.1.221:10081
WARN | 2024-03-19 09:13:47 | [RxComputationThreadPool-1] infrastructure.App (App.java:118) - DTU connection error: Connection refused: /192.168.1.221:10081
INFO | 2024-03-19 09:13:47 | [RxComputationThreadPool-1] utils.RxUtils (RxUtils.java:58) - No. of errors: 2 class io.netty.channel.AbstractChannel$AnnotatedConnectException, retrying in 2 seconds...
INFO | 2024-03-19 09:13:49 | [RxComputationThreadPool-2] dtu.DtuClient (DtuClient.java:78) - Trying connect to 192.168.1.221:10081
WARN | 2024-03-19 09:13:49 | [RxComputationThreadPool-2] infrastructure.App (App.java:118) - DTU connection error: Connection refused: /192.168.1.221:10081
INFO | 2024-03-19 09:13:49 | [RxComputationThreadPool-2] utils.RxUtils (RxUtils.java:58) - No. of errors: 3 class io.netty.channel.AbstractChannel$AnnotatedConnectException, retrying in 4 seconds...

how to upgrade firmware

Hello,

well it is probably not an issue with the project itself, but my DTU is on firmware 2.07 and, while connecting initially, not data are being red. The question is however how can I upgrade firmware? I have access to admin website of the DTU, but no account on Hoymiles distributor/installer portal. And I cannot find any firmware to download on the web.

I would appreciate help.

Thanks
Andrzej

unable to define MQTT server in config

Set entering the setup for the config I switch to the yaml view and enter the mqtt setting as detailed in the example file (but using of course my server name and login etc). Once I save it move the mqtt section to the end of the file and restarts the service.

Upon checking the log file I see that it has accepted all my settings APART from the mqtt setting which it has set back to your defaults.

As my MQTT is running on a separate server you defaults don't work for me.
Is this a bug - or is it me doing something stupid.

Add-on not starting

hi,
add-on is not starting, can you help ? thx

here is the log :

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[12:11:53] INFO: /data/options.json exists!
[12:11:54] INFO: MQTT: host=core-mosquitto, port=1883, username=addons, password=xxx
[12:11:55] INFO: DTU: host=192.168.1.88, port=10081
[12:11:56] INFO: banny310 - Home Assistant Hoymiles DTU Solar Data Gateway Add-on
[12:11:56] INFO: Configuration:
{
"dtu": {
"host": "192.168.1.88",
"port": 10081
},
"app": {},
"app_mode_active": {},
"app_mode_passive": {},
"mqtt": {
"host": "core-mosquitto",
"port": "1883",
"username": "addons",
"password": "xxx"
}
}
[12:11:56] INFO: Starting...
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
INFO | 2023-09-11 12:12:00 | [main] hoymiles.Entrypoint (Entrypoint.java:15) - Starting...
INFO | 2023-09-11 12:12:00 | [main] hoymiles.Entrypoint (Entrypoint.java:16) - TimeZone: Europe/Luxembourg
INFO | 2023-09-11 12:12:00 | [main] bootstrap.WeldStartup (WeldStartup.java:148) - WELD-000900: 4.0.3 (Final)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.weld.bean.proxy.util.WeldDefaultProxyServices$1 (file:/app.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of org.jboss.weld.bean.proxy.util.WeldDefaultProxyServices$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO | 2023-09-11 12:12:01 | [main] bootstrap.WeldStartup (WeldStartup.java:236) - WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
Exception in thread "main" org.jboss.weld.exceptions.WeldException
at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:82)
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:59)
at org.jboss.weld.executor.AbstractExecutorServices.invokeAllAndCheckForExceptions(AbstractExecutorServices.java:67)
at org.jboss.weld.bootstrap.ConcurrentBeanDeployer.addClasses(ConcurrentBeanDeployer.java:52)
at org.jboss.weld.bootstrap.BeanDeployment.createClasses(BeanDeployment.java:198)
at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:417)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:79)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:813)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:176)
at com.hoymiles.Entrypoint.main(Entrypoint.java:19)
Caused by: java.lang.OutOfMemoryError
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:603)
at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1006)
at org.jboss.weld.executor.AbstractExecutorServices.checkForExceptions(AbstractExecutorServices.java:73)
... 9 more
Caused by: java.lang.OutOfMemoryError: Java heap space
[cmd] /run.sh exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

No data input

Hi, maybe there is one how can help.
I get no data in from the DTU.
2023-08-05 09_54_42-Home Assistant – Mozilla Firefox
2023-08-05 09_54_00-Home Assistant – Mozilla Firefox
2023-08-05 09_53_11-Übersicht – Home Assistant – Mozilla Firefox

DTU IP address

Somebody has problem with DTU IP address? In my network this is not appear form 192.... address bu DTU has 10.10.....

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.