Seite 7 von 12

Re: HomeKit plugin (using homebridge)

Verfasst: Mi 28. Okt 2020, 16:51
von koenarnoldus
Hi @larsan,

Since the upgrade to 1.1.0 I'm seeing frequent Fetch errors spamming my homebridge logfiles. See https://github.com/dinmammas/homebridge ... t/issues/4

Could you please investigate?

Re: HomeKit plugin (using homebridge)

Verfasst: Sa 16. Jan 2021, 22:06
von xXx
(node:15295) UnhandledPromiseRejectionWarning: FetchError: request to http://xxx/:xxxxxxxxx@192.168.178.51:53 ... md=version failed, reason: connect EHOSTUNREACH 192.168.178.24:80
at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-robonect/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:315:20)
at Socket.socketErrorListener (_http_client.js:469:9)
at Socket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:15295) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unh ... tions_mode). (rejection id: 1)
(node:15295) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Auf meinem log kommt diese fehlermeldung. Was mache ich falsch?


{
"accessory": "HomebridgeRobonect",
"name": "Robonect",
"mower": "Gardena",
"model": "Sileno City",
"robonect-card": "HX",
"serial-number": "200681xxx",
"show-humidity": "no",
"getUrl": "http://xxx:xxxxxxxx@192.168.178.51:53"
}

Re: HomeKit plugin (using homebridge)

Verfasst: So 17. Jan 2021, 10:43
von larsan
Your plug-in and/or homebridge can’t reach your mower.

Code: Alles auswählen

 failed, reason: connect EHOSTUNREACH 192.168.178.24:80

Re: HomeKit plugin (using homebridge)

Verfasst: So 31. Jan 2021, 11:31
von xXx
Hi. In the winter I unplug my lawn mower and store them in the dry. However, on my homebrigde always comes the error message that the lawn mower is not reachable. Can I turn off this log?

HomeKit plugin (using homebridge)

Verfasst: So 31. Jan 2021, 12:02
von shadowkiller
Hey,

comment its entry in the HB config file OUT and restart HB.
When using again, remove this comment marks in the config file and restart HB.

Re: HomeKit plugin (using homebridge)

Verfasst: So 31. Jan 2021, 12:22
von xXx
how exactly do you want it to look?

Re: HomeKit plugin (using homebridge)

Verfasst: So 31. Jan 2021, 12:53
von shadowkiller
I don’t really know, how to comment in HB config files, but you can try:
Maybe two slashes: // work, or other. Just try them or other OUT, you can always remove them, if you get error messages.

Im shure on the plugins‘ page for HB you’ll find some configuration examples or you can ask in the HB community.

Re: HomeKit plugin (using homebridge)

Verfasst: So 31. Jan 2021, 14:29
von xXx
I had to uninstall the plugin because my homebridge almost collapsed. Hope the developer can help me with this.

Re: HomeKit plugin (using homebridge)

Verfasst: Fr 12. Mär 2021, 08:51
von kreuzundkwer
Guten Morgen Zusammen,

gibt es bereits eine Rückmeldung zu den beiden bei Git gemeldeten Problemen?

Code: Alles auswählen

[homebridge-robonect] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

Code: Alles auswählen

(node:24644) UnhandledPromiseRejectionWarning: FetchError: request to http://robonect:xxxxxxxxxx@192.168.xxx.xxx/json?cmd=health failed, reason: read ECONNRESET
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-robonect/node_modules/node-fetch/lib/index.js:1461:11)
    at ClientRequest.emit (events.js:315:20)
    at Socket.socketErrorListener (_http_client.js:469:9)
    at Socket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:24644) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)

Re: HomeKit plugin (using homebridge)

Verfasst: Fr 14. Mai 2021, 17:57
von larsan
xXx hat geschrieben: So 31. Jan 2021, 11:31 Hi. In the winter I unplug my lawn mower and store them in the dry. However, on my homebrigde always comes the error message that the lawn mower is not reachable. Can I turn off this log?
Sorry for this very late reply. You can not comment anything in JSON, it needs to be in the correct format.
Thus, you need to remove the entire config for this plugin if you don't want it to appear/add garbage to your log file.

Best,
David