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.

No Response after some minutes of devices

See original GitHub issue

About Troubleshooting Page:

  • i setup homebridge again in docker with empty dir and no plugins and changing username/pin
  • removed home in homekit, also tried deleting home app
  • Wifi “trick”: “removed” Wifi and reconnected.

Summary

A fresh homebridge install via docker-compose on Synology (DS918+) the devices (dummy) works only for some minutes. Then “no response”. Note: also tried with the synology package.

docker-compose configuration

   homebridge:
    image: oznu/homebridge:3.3.0
    container_name: dc-homebridge
    restart: always
    #expose:
    #  - 8081
    #ports:
    #  - 8081:8081
    network_mode: "host"
    volumes:
    - /volume1/docker/homebridge_test:/homebridge
    environment:
    - HOMEBRIDGE_CONFIG_UI=1
    - HOMEBRIDGE_CONFIG_UI_PORT=8581
    - HOMEBRIDGE_DEBUG=1
    - DSM_HOSTNAME=diskstation
    - PGID=100
    - PUID=1026


  • Start with empty homebridge dir
  • login as admin
  • (also tried to change pin/username)
  • add a dummy switch (and restart)
  • Add homebrige to iOS Device (iOS14 .2) Note: sometime - if i was too slow - it also was not able to add the devices Switch works for a while… then “no reposonse from device” (hope this is the correct translation)

Note:

  • i have an AppleTV within the network. (also latest iOS version). But removing it as control center doesn’t change anything
  • Also have ipad, mac os with Home and same here.
  • If the problem exists, the devices can be controlled via homebrige Web-UI. (i used hue, but setup everying fresh and only with dummy to exclude that the plugin is the problem)

Restarting homebridge: works again for some minutes

It seems that the docker homebridge version below 3.x.x has not this problem within minutes. but my devices seems to get lost also, but sporadically and after hours (and sometimes it works then again after 2-3 tries) I tried also to connect Macbook directly via Ethernet to Synology NAS to exclude Wifi. Same issue. Perhaps something is wrong with my synology configuration. But also reduces the complex config (network bonding and everything) to default values and disabled firewall and everything.

I have no idea what i can try. Perhaps i try it with a raspberry pi. and also will try the 2.x version.

Expected behavior: Switching the Switch works forever…

[Logs:]

[11/15/2020, 8:57:36 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules -D
[11/15/2020, 8:57:36 AM] [HB Supervisor] Started Homebridge v1.2.3 with PID: 2419
[11/15/2020, 8:57:37 AM] Loaded config.json with 1 accessories and 1 platforms.
[11/15/2020, 8:57:37 AM] ---
[11/15/2020, 8:57:37 AM] Loaded plugin: homebridge-dummy@0.4.1
[11/15/2020, 8:57:37 AM] Registering accessory 'homebridge-dummy.DummySwitch'
[11/15/2020, 8:57:37 AM] ---
[11/15/2020, 8:57:38 AM] Loaded plugin: homebridge-config-ui-x@4.33.0
[11/15/2020, 8:57:38 AM] Registering platform 'homebridge-config-ui-x.config'
[11/15/2020, 8:57:38 AM] ---
[11/15/2020, 8:57:38 AM] Loading 1 platforms...
[11/15/2020, 8:57:38 AM] [Config] Initializing config platform...
[11/15/2020, 8:57:38 AM] [Config] Running in Service Mode
[11/15/2020, 8:57:38 AM] Loading 1 accessories...
[11/15/2020, 8:57:38 AM] [Switch1] Initializing DummySwitch accessory...
[11/15/2020, 8:57:38 AM] [Switch1] Setting switch to false
Setup Payload:
X-HM://0023ISYW37IJB
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 031-45-123 │     
    └────────────┘     
                       
[11/15/2020, 8:57:38 AM] Homebridge v1.2.3 is running on port 53069.
[11/15/2020, 8:57:50 AM] [Switch1] Setting switch to true
[11/15/2020, 8:57:51 AM] [Switch1] Setting switch to false
[11/15/2020, 8:57:52 AM] [Switch1] Setting switch to true
[11/15/2020, 8:57:53 AM] [Switch1] Setting switch to false
[11/15/2020, 8:57:54 AM] [Switch1] Setting switch to true
[11/15/2020, 8:57:55 AM] [Switch1] Setting switch to false
[11/15/2020, 8:58:00 AM] [Switch1] Setting switch to true
[11/15/2020, 8:58:01 AM] [Switch1] Setting switch to false
[11/15/2020, 8:58:01 AM] [Switch1] Setting switch to true
[11/15/2020, 8:58:02 AM] [Switch1] Setting switch to false```

**Homebridge Config:**
<!-- Paste relevant output between the two ``` lines below -->
<!-- Remove any sensitive information, passwords, etc. -->

```json
{
    "bridge": {
        "name": "Homebridge C332",
        "username": "0E:E5:00:CC:C3:AA",
        "port": 53069,
        "pin": "031-45-123"
    },
    "accessories": [
        {
            "name": "Switch1",
            "stateful": true,
            "reverse": false,
            "time": 1000,
            "accessory": "DummySwitch"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        }
    ]
}

Environment:

  • Node.js Version: v12.19.0
  • NPM Version: v6.14.8
  • Homebridge Version: v1.2.3
  • Operating System: Docker on synology NAS (see above)
  • Process Supervisor: Docker

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
oznucommented, Nov 15, 2020

Try rollback to Homebridge v1.1.6:

change-homebridge-version

0reactions
stale[bot]commented, Jan 17, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix an Android device that freezes or won't respond
Restart your phone. If your phone is frozen with the screen on, hold down the power button for about 30 seconds to restart....
Read more >
Suddenly "No Response" from devices after running well for a ...
I expedience a strange behavior after running the home bridge for about 1 year without issues. All my devices (including the bridge) show...
Read more >
Some websites stop responding after 5 minutes.
I was able to browse normally for about 5 minutes, then any further pages, tabs and links brought up a "site is not...
Read more >
If your iPhone won't turn on or is frozen - Apple Support
If your iPhone has a frozen screen, doesn't respond when you touch it, or becomes stuck when you turn it on, learn what...
Read more >
Device Not Responding - SimpliSafe Help Center
Regarding the issue, a sensor might show a "Not Responding" for any reason where the sensor is not able to check in with...
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