Giter Site home page Giter Site logo

Comments (14)

Apollon77 avatar Apollon77 commented on May 25, 2024

EHOSTUNREACH means that the device is not available in your network ... so czeck the WLAN settings and make sure the device is in the network with this IP. Could it be that the IP changed? Or what is it?

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

The device have a fixed IP in the same network and I use it also with the Velux adapter and that one give no problem. It is a Velux Gateway.

from iobroker.homekit-controller.

Apollon77 avatar Apollon77 commented on May 25, 2024

Try to login to the iobroker host and do a "ping" to the IP ot a "telnet" to the IP and port ... does it work? As said the error is from" network level" that he host was not reacable at this timepoint

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

The ping the the IP is no problem.

With the port I have connection

root@iobroker-produktiv:~#` telnet 10.2.2.45 5001
Trying 10.2.2.45...
Connected to 10.2.2.45.
Escape character is '^]'.
^[
HTTP/1.1 503 Service Unavailable
Content-Type: application/hap+json
Content-Length: 17

{"status":-70403}Connection closed by foreign host.

I will try it again if I have the problem active

from iobroker.homekit-controller.

Apollon77 avatar Apollon77 commented on May 25, 2024

That would help!

maybe there are short times of wlan issues that affect it ... But the adapter should reconnect. If this do not work a debug log would be cool that I see whats up

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

I have the problem at the moment.
telnet could connect
root@iobroker-produktiv:~# telnet 10.2.2.45 5001
Trying 10.2.2.45...
Connected to 10.2.2.45.
Escape character is '^]'.
^CConnection closed by foreign host.

I had trouble to find the debug log with the new view of iobroker. Next time i will send the debug log.

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

Now the issue changed.
grafik
Nothing is in the log

from iobroker.homekit-controller.

Apollon77 avatar Apollon77 commented on May 25, 2024

Nothing?? There should be something when connection is lost

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

Now i know where to look.
Hopefully you can find something

homekit-controller.txt

from iobroker.homekit-controller.

Apollon77 avatar Apollon77 commented on May 25, 2024

When I see the log all is working as exoected ina case of a connection lost

  • all was fine before 2021-12-24 03:00:30.275
  • Then the device was no longer reachable (EHOSTUNREACH) ... so seems WLAN was off from the devices (both) OR the network of the host was broken or such
  • then adapter tried to reconnect on each polling try ...
  • 2021-12-24 03:01:18.150 he got a Velux discovery package, but communication was still not possible
  • 2021-12-24 03:16:18.942 he got a Mi Home deiscovery package (but not paired to this instance)
  • 2021-12-24 03:16:36.246 he got a Velux discovery package and reinitialized the device
  • 2021-12-24 03:16:39.155 the connection status was set to "ok" again ...

So honestly ... I see nothing where the adapter behaves wrong. Why you have these EHOSTUNREACH problem is up to you to find in your network! Check when it happens ... if alwys 3:00-3:16 or such then try to find out why? Is there a router restart? is there anything else?

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

Yes, I restart my Wlan once a day. Otherwise the Veluxgateway logout after several days and I have to reconnect it manuelly. I had several calls with the velux support but they have no solution.

from iobroker.homekit-controller.

Apollon77 avatar Apollon77 commented on May 25, 2024

Ok ... but then ... anything is workng as expected or?! And yes sorry you will have these logs in your logfile

from iobroker.homekit-controller.

Draygv2 avatar Draygv2 commented on May 25, 2024

Oke the log is no problem as long as the instance is reconnect and running. Now its running since more than a week with no manually restart. Thats good.
Thanks for your help.

from iobroker.homekit-controller.

Apollon77 avatar Apollon77 commented on May 25, 2024

Cool :-)

from iobroker.homekit-controller.

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.