Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter verbindet sich nicht - ERROR #70

Open
neomorph77 opened this issue Apr 19, 2022 · 0 comments
Open

Adapter verbindet sich nicht - ERROR #70

neomorph77 opened this issue Apr 19, 2022 · 0 comments

Comments

@neomorph77
Copy link

neomorph77 commented Apr 19, 2022

Ich habe den switchbot-Adapter im ioBroker installiert.
Der iB läuft unter Docker und Portainer mit folgendem compose:

`version: "2"
services:
iobroker:

container_name: iobroker
image: buanet/iobroker:latest-v5
hostname: iobroker
restart: always
ports:
  - "8081:8081"
volumes:
  - /media/storage/iobroker:/opt/iobroker
environment:
  - PACKAGES=iputils-ping`

Beim Starten des Adapters in iB bekomme ich folgende Fehlermeldung:

switchbot-hub.0 | 2022-04-19 14:58:07.697 | info | [Error caught and sent to Sentry, thank you for collaborating!] [loadDevices] \| Error : Error: Cannot handle API call : Error: timeout of 1000ms exceeded \| StackTrace : undefined}

Den Port für Portainer (9000) habe ich auch auf 19000 gesetzt. Ich hatte die Vermutung, dass der Adapter die API nicht erreicht, weil er einen Timeout bekommt und habe extra deshalb "ping" installiert um zu testen, ob der Container nach draußen kommt. Ein ping zu z.B. google ist erfolgreich. Aus meiner Sicht kommt der Container also nach "draußen".

Das ganze läuft auf einem Raspi 4B mit 4GB.

Auf meinem Synology-NAS habe ich die Gegenprobe mit dem gleichen compose gemacht - dort läuft der Adapter problemlos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant