question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange messages in the logs (connected / disconnected) / Problem accessing eufy devices using API/GET commands

See original GitHub issue

Describe the bug
Not sure if its a bug but I would like to as here. I have everything configured and running using latest available packaged. I was able to successfully connect to my eufy account and see my devices. I see all the changes I make in Eufy mobile up in ioBroker.eufy-security logs. So, it looks like the integration works. Now I have two issues:

Issues 1. In the logs I see following info message (after few seconds, connected , disconnected, connected, disconnected). Examples below: Source Time Debug message eufy-security.0 2021-10-24 18:52:10.182 info Connected to station T8010Numbers on host Eufy_Base_Station_IP_Address and port 15264 eufy-security.0 2021-10-24 18:52:05.139 info Disconnected from station T8010Numbers eufy-security.0 2021-10-24 18:51:59.205 info Connected to station T8010Numbers on host Eufy_Base_Station_IP_Address and port 27396 eufy-security.0 2021-10-24 18:51:54.149 info Disconnected from station T8010Numbers eufy-security.0 2021-10-24 18:51:48.200 info Connected to station T8010Numbers on host Eufy_Base_Station_IP_Address and port 22931 eufy-security.0 2021-10-24 18:51:43.148 info Disconnected from station T8010Numbers eufy-security.0 2021-10-24 18:51:37.179 info Connected to station T8010Numbers on host Eufy_Base_Station_IP_Address and port 11576 eufy-security.0 2021-10-24 18:51:32.132 info Disconnected from station T8010Numbers eufy-security.0 2021-10-24 18:51:26.196 info Connected to station T8010Numbers on host Eufy_Base_Station_IP_Address and port 14943 eufy-security.0 2021-10-24 18:51:21.144 info Disconnected from station T8010Numbers

Is it normal ? I would expect to see the instance connection, but unfortunately not sure what is the correct behaviour.

To Reproduce
Steps to reproduce the behavior explained in the ISSUE 1

  1. Go to ‘logs’
  2. Check if logs contain info messages connected, disconnected which appears each few seconds.

Expected behavior
I would expect to see constant connection … or reconnection after few minutes … not each few seconds.

Issue 2. I’m not able to access or to simply manipulate data using urls / get commands. Im interesting in possibilities to change a guard mode from outside the app. I tried following: Base GET http://user:password@IoBroker_IP_Address:8081/set/eufy-security.0.T8010Numbers.station.guard_mode?value=1&ack=false GET http://IoBroker_IP_Address:8081/set/ufy-security.0.T8010Numbers.station.guard_mode?value=2 GET http://IoBroker_IP_Address:8081/set/ufy-security.0.T8010Numbers.station.guard_mode?value=1 GET http://IoBroker_IP_Address:8081/set/ufy-security.0.T8010Numbers.station.guard_mode?value=1

When I put the http links mentioned above I’m getting in the browser: Cannot GET /set/ufy-security.0.T8010P2321053A27.station.guard_mode

Also nothing is reported in the logs 😦 what ever I try. I have following component installed: a) IoBroker in Docker b) eufy-security adapter c) Simple Restful API d) WEB server

I used following instruction to install and run what is needed: https://blog.fuzzymistborn.com/controlling-eufy-security-devices-with-iobroker/

Versions:

  • Adapter version: <0.7.0>

  • JS-Controller version: <v5.1.25> : v5.1.25

  • Node version: <v14.18.1> : v14.18.1

  • Operating system: <Linux raspberrypi 5.10.63-v7l+>

Additional context
Add any other context about the problem here.

Any help / explanation more than welcome.

Thank you in advance. Regards, Zbigniew

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
zbigniewbednarekcommented, Oct 26, 2021

Hello, In the end I removed the container and installed once again using following command: docker run -p 8081:8081 -p 8082:8082 -p 8087:8087 --restart=always --name iobroker -v iobrokerdata:/opt/iobroker buanet/iobroker:latest

Next installed & configured missing adapters and looks like finally it is working 😃 I’m able to use the api correctly.

We can close the issues.

Thank you for your help and support.

Best Regards, Zbigniew

0reactions
zbigniewbednarekcommented, Oct 26, 2021

Hello, Can you tell me if it possible anyhow to assign the missing ports after iobroker is installed. It looks like I went through normal installation process without compose option : docker run -p 8081:8081 --name iobroker -v iobrokerdata:/opt/iobroker buanet/iobroker:latest

So it took only port 8081 which is the only port that works currently. I hope that there is a way to fix it without removing and installing from scratch 😦

Here is what I have for this running docker image: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 952876e2eb0f buanet/iobroker “/bin/bash -c /opt/s…” 6 days ago Up 36 hours (healthy) 0.0.0.0:8081->8081/tcp, :::8081->8081/tcp iobroker

docker port 952876e2eb0f 8081/tcp -> 0.0.0.0:8081 8081/tcp -> :::8081

So, this small thing is missing to make the whole solution working - add / open or forward 8082 and 8087 ports.

Do you know by chance how to make it happen ?

Thank you in advance, Zbigniew

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eufy Security Add-on Disconnected from station #573 - GitHub
Yesterday Eufy updated my HomeBase and since then my security add-on shows the following issue. I'm on the latest Home Assistant release.
Read more >
Disconnects, unable to reconnect - Tips & Tricks
Once I close the app, it disconnects and I'm unable to reestablish a connection using my settings. I have removed the device, ...
Read more >
Homekit Error Messages with Eufy cam - Apple Community
I'll get a notification from the Home app saying that the camera is offline and cannot be reached but I can still access...
Read more >
Eufy Security - No recordings when internet is down
I use my Eufy Cam Homebase with WiFi connectivity to the internet and thought ... access when the HomeBase is disconnected from the...
Read more >
Eufy down? Current problems and outages - Downdetector
Are you also having issues? Select the option you are having issues with, and help provide feedback to the service. I have a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found