SynTexDZN / homebridge-syntex-knx

11 stars 2 forks source link

Error EHOSTUNREACH and ETIMEDOUT #17

Closed marabknx closed 1 year ago

marabknx commented 1 year ago

Describe the bug The Homebridge Protocol shows Error Messages, but initially in autumn 2022 they do not appear.

Expected behavior I am confused with a configuration that includes error messages and I would like to resolve it.

Config

"platform": "SynTexKNX", "name": "SynTexKNX", "baseDirectory": "/volume1/homebridge/SynTex", "ip": "192.168.178.30", "options": { "port": 3671, "language": "de", "disablePreload": false }, "log": { "error": true, "warn": true, "info": true, "read": false, "update": true, "success": true, "debug": true },

Logs

[3/23/2023, 8:02:02 AM] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge) is running on port 51746. [SynTexKNX] [ERROR] [automation.json] konnte nicht gelesen werden! [Error: ENOENT: no such file or directory, open '/volume1/homebridge/SynTex/automation/automation.json'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/volume1/homebridge/SynTex/automation/automation.json' } [SynTexKNX] [DEBUG] KNX IP Gateway getrennt! [SynTexKNX] [DEBUG] KNX IP Gateway getrennt! … [SynTexKNX] [DEBUG] GET [2/4/10] --> [7] [SynTexKNX] [DEBUG] GET [4/4/3] --> [0] [SynTexKNX] [DEBUG] GET [0/5/0] --> [136] [SynTexKNX] [DEBUG] GET [4/4/2] --> [1] [SynTexKNX] [DEBUG] GET [5/1/4] --> [0] [SynTexKNX] [ERROR] Fehler: connect ETIMEDOUT 94.31.106.127:8800 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) [SynTexKNX] [DEBUG] GET [4/4/1] --> [0] … [SynTexKNX] [DEBUG] GET [4/4/12] --> [7] [SynTexKNX] [DEBUG] >>> [SynTexKNX] updateState ["5/0/1"] {"value":1978.88} [SynTexKNX] [DEBUG] <<< [SynTexKNX] updateState ["5/0/1"] {"value":1978.88} [SynTexKNX] [UPDATE] HomeKit Status von [Helligkeit Süd] geändert zu [1978.88] ( WetterstationIlluOutside ) [SynTexKNX] [DEBUG] GET [5/0/1] --> [62] [SynTexKNX] [ERROR] Fehler: connect EHOSTUNREACH 94.31.106.127:8800 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16)

Screenshots N/A

More Information

Additional context I have not configured automation.json, so this error on startup is valid.

SynTexDZN commented 1 year ago

Hey @marabknx, I'm currently working on a fix for this issue. If it's only the error message that confuses you I could soon publish a new beta for this. Otherwise the error should disappear the coming weeks after I fixed it.

~ SynTex

marabknx commented 1 year ago

Hey @SynTexDZN, I am fine with the fix in a few weeks. No additional work on a beta necessary.

SynTexDZN commented 1 year ago

A already published a new beta with a fix for this :) You can install it if you want with sudo npm install -g homebridge-syntex-knx@1.0.3-b11

~ SynTex