homebridge / homebridge

HomeKit support for the impatient.
https://homebridge.io
Apache License 2.0
23.81k stars 1.98k forks source link

Homebridge restarting frequently #3105

Closed adrianopery closed 2 years ago

adrianopery commented 2 years ago

Current Situation

I'm facing a situation on HB where mine is restarting every 3 or 4 minutes. Some times I try to manage some device and I identify that the device is not available, so I open the browser and I can see the log where the bridge is restarting.

Logs

pi@homebridge:/var/lib/homebridge $ DEBUG=* homebridge -D
  ciao:init Loading ciao v1.1.3... +0ms
  HAP-NodeJS:Advertiser Initializing HAP-NodeJS v0.10.0 ... +0ms
[05/04/2022, 15:59:55] Loaded config.json with 0 accessories and 6 platforms.
[05/04/2022, 15:59:55] Loaded 0 cached accessories from cachedAccessories.
[05/04/2022, 15:59:55] ---
[05/04/2022, 16:00:09] Loaded plugin: homebridge-broadlink-rm-pro@4.5.0-beta.1
[05/04/2022, 16:00:09] Plugin 'homebridge-broadlink-rm-pro' tried to register with an incorrect plugin identifier: 'homebridge-broadlink-rm'. Please report this to the developer!
[05/04/2022, 16:00:09] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[05/04/2022, 16:00:09] ---
[05/04/2022, 16:00:09] Loaded plugin: homebridge-camera-ffmpeg@3.1.4
[05/04/2022, 16:00:09] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[05/04/2022, 16:00:09] ---
[05/04/2022, 16:00:09] Loaded plugin: homebridge-config-ui-x@4.42.0
[05/04/2022, 16:00:09] Registering platform 'homebridge-config-ui-x.config'
[05/04/2022, 16:00:09] ---
[05/04/2022, 16:00:10] Disabled plugin: homebridge-midea-air@1.4.4
[05/04/2022, 16:00:10] ---
[05/04/2022, 16:00:10] Loaded plugin: homebridge-webos-tv@2.2.7
[05/04/2022, 16:00:10] Registering platform 'homebridge-webos-tv.webostv'
[05/04/2022, 16:00:10] ---
[05/04/2022, 16:00:12] Loaded plugin: homebridge-yamaha-avr@2.0.6
[05/04/2022, 16:00:12] Registering platform 'homebridge-yamaha-avr.yamaha-avr'
[05/04/2022, 16:00:12] ---
[05/04/2022, 16:00:12] Loading 6 platforms...
[05/04/2022, 16:00:12] [Config] Initializing config platform...
[05/04/2022, 16:00:12] [Config] *********** Homebridge Standalone Mode Is Depreciated **********
[05/04/2022, 16:00:12] [Config] * Please swap to "service mode" using the hb-service command.  *
[05/04/2022, 16:00:12] [Config] * See https://git.io/JUvQr for instructions on how to migrate. *
[05/04/2022, 16:00:12] [Config] Running in Standalone Mode.
[05/04/2022, 16:00:12] [Yamaha AVR] Initializing yamaha-avr platform...
[05/04/2022, 16:00:12] [Yamaha AVR] Initializing child bridge 0E:8D:37:AF:61:9D
[05/04/2022, 16:00:12] [webostv] Initializing webostv platform...
[05/04/2022, 16:00:12] [webostv] Initializing child bridge 0E:DA:1E:27:2E:8C
[05/04/2022, 16:00:12] [BroadlinkRM] Initializing BroadlinkRM platform...
[05/04/2022, 16:00:12] [BroadlinkRM] Initializing child bridge 0E:83:FD:29:58:D9
[05/04/2022, 16:00:12] Ignoring config for the platform "midea-air" in your config.json as the plugin "homebridge-midea-air" has been disabled.
[05/04/2022, 16:00:12] [Camera FFmpeg] Initializing Camera-ffmpeg platform...
[05/04/2022, 16:00:12] [Camera FFmpeg] Initializing child bridge 0E:4C:BE:E4:CE:ED
[05/04/2022, 16:00:12] Publishing bridge accessory (name: Homebridge 7318, publishInfo: {
  username: '0E:39:7E:AC:73:18',
  port: 51178,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: undefined
}).
  HAP-NodeJS:Advertiser Preparing Advertiser for 'Homebridge 7318 2F91' using bonjour-hap backend! +0ms
Setup Payload:
X-HM://0024XS3XO8NP5
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    └────────────┘     

[05/04/2022, 16:00:15] Error: listen EADDRINUSE: address already in use :::51178
    at Server.setupListenHandle [as _listen2] (node:net:1334:16)
    at listenInCluster (node:net:1382:12)
    at Server.listen (node:net:1469:7)
    at EventedHTTPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:155:20)
    at HAPServer.listen (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:332:21)
    at Bridge.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:18)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
    at Bridge.Accessory.publish (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:928:38)
    at BridgeService.publishBridge (/usr/local/lib/node_modules/homebridge/src/bridgeService.ts:215:17)
    at Server.publishBridge (/usr/local/lib/node_modules/homebridge/src/server.ts:186:24)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:177:24
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:176:5)
[05/04/2022, 16:00:15] Got SIGTERM, shutting down Homebridge...
[05/04/2022, 16:00:15] [Yamaha AVR] Child bridge process ended
[05/04/2022, 16:00:15] [homebridge-webos-tv] Child bridge process ended
[05/04/2022, 16:00:15] [homebridge-webos-tv] Process Ended. Code: null, Signal: SIGTERM
[05/04/2022, 16:00:15] [homebridge-broadlink-rm-pro] Child bridge process ended
[05/04/2022, 16:00:15] [Camera FFmpeg] Child bridge process ended
[05/04/2022, 16:00:15] [homebridge-broadlink-rm-pro] Process Ended. Code: null, Signal: SIGTERM
[05/04/2022, 16:00:15] [Yamaha AVR] Process Ended. Code: null, Signal: SIGTERM
[05/04/2022, 16:00:15] [Camera FFmpeg] Process Ended. Code: null, Signal: SIGTERM
pi@homebridge:/var/lib/homebridge $

Configuration

**Homebridge Config:**

{
    "bridge": {
        "name": "Homebridge 7318",
        "username": "0E:39:7E:AC:73:18",
        "port": 51178,
        "pin": "NNNNNNN"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "ip": "nnn.nnn.nnn.140",
            "name": "Yamaha AVR",
            "platform": "yamaha-avr",
            "_bridge": {
                "username": "0E:8D:37:AF:61:9D",
                "port": 43567
            }
        },
        {
            "devices": [
                {
                    "name": "TV Sala",
                    "ip": "nnn.nnn.nnn.109",
                    "mac": "e8-f2-e2-3a-22-52",
                    "pollingInterval": 5,
                    "volumeLimit": 50,
                    "volumeControl": "slider",
                    "channelControl": false,
                    "notificationButtons": [
                        "Movimento detectado na garagem",
                        "Portão social foi aberto",
                        "Portão da garagem foi aberto",
                        "Portão da garagem foi fechado",
                        "Subwoofer ativado!"
                    ]
                },
                {
                    "name": "TV Quarto Master",
                    "ip": "nnn.nnn.nnn.110",
                    "mac": "ec-f4-51-22-df-86",
                    "pollingInterval": 5,
                    "volumeLimit": 50,
                    "volumeControl": "slider",
                    "channelControl": false,
                    "notificationButtons": [
                        "Movimento detectado na garagem",
                        "Portão social foi aberto",
                        "Portão da garagem foi aberto",
                        "Portão da garagem foi fechado"
                    ]
                },
                {
                    "name": "TV Quarto Didi",
                    "ip": "nnn.nnn.nnn.111",
                    "mac": "ec-f4-51-26-6e-8a",
                    "pollingInterval": 5,
                    "volumeLimit": 50,
                    "volumeControl": "slider",
                    "channelControl": false,
                    "notificationButtons": [
                        "Movimento detectado na garagem",
                        "Portão social foi aberto",
                        "Portão da garagem foi aberto",
                        "Portão da garagem foi fechado"
                    ]
                }
            ],
            "platform": "webostv",
            "_bridge": {
                "username": "0E:DA:1E:27:2E:8C",
                "port": 39432
            }
        },
        {
            "accessories": [
                {
                    "accessory": "Broadlink RM Learner",
                    "type": "learn-code",
                    "disableLogs": true,
                    "name": "Learn IR"
                },
                {
                    "accessory": "Broadlink RM Learner",
                    "type": "learn-code",
                    "scanFrequency": true,
                    "disableLogs": true,
                    "name": "Learn RF"
                },
                {
                    "name": "Persiana Quarto Master",
                    "totalDurationOpen": 12,
                    "data": {
                        "close": "b0c03003689b0600081309140914091409140914091309149f04041613090914130a091408150815130914090914130a09140914091408150815130914090914130a130a130a08140a13091409140914091414090914130a13090914091409140914091409140814091414090914091409140914091409130914091409141409091409140814091414091409091414090914130a081409141409140814a4a415130909151309091409140914130a130a0815130909140914091409140914130a1309091513091409130a091409130a1309140914091414090914130a130a08150814091409140914091409140914130a081409140914091409140914091408150815130a0814091409140914130a130a081414090914130a09140914130a130913a4a41514090914130a091408150815130914090914130a091409140815081409141409130a0914130a130a130a081409140914091409140914130a08151309140909140914091409130914091409140914130a091409140815081409140914091409140815130a0815081409140914130a130a0914130a0815130909140914130a130913a4a416130a0814130a091409140914130a13090914140909140914091409140815130a130909141409130a130a091408150814091409140914130a0914130a130a081409140914091409140914081409141409091409140914081509140814091409140914130a0815091408140915130914090914130a09141309091409141409140814a4a415130909141409091409140914130a130a0815130909140914091409140914130a130909141409130a130a08150913091409140914091414090914130a130909150814091409140914091409140914130909140914091409140914091408150913091513090914091409140914130a1309091513090914140909140914130a130913a4a415130a0914130a0815081409141409130a0914130a09140815081508140914130a14090914130a130a1309091409140914091409140914130a0815130a1309091409140914091409140815081508141409091409140914091408150814091409140914130a0914081509140814140a1309091414090914130a0814091414091408140005dc000000000000",
                        "open": "b1c02e03889e060008130a130a1309140914091409140914a31613090914130a081508150815130a13090914130a09140815081508150815130919040914130a130a1309091409140914091409140914130909141409140909140914091409140814091409140914140909140914081409140914091409140914091408150814091513090914130a130a091408140914140914090914130a130913a4a415130a0815130a081409140914130a130a0914130a08140914091409140914130a130a0815130914091409091409140914081508140915130909141409130a081509140814091409140914091408151309091409140914091409140914081509130914091409140914130a0914130a1309091409140914130a130a08141409140816a2a31613090914130a091409140815130a13090914130a09140914081508150814140914090914130a130a130a081409140914091409140914130a08151309140909140914081508150814091409140914130a08150815081508140914091409140815091408140914091414090914130a130a081409140914140914090914130a130913a4a415130a0815130a0815081409141409130a0914130a08150814091409140914130a130a0815130a1309130a091409140815091408150815130909141409130a09140815081508150814091409140914130a081508140914091409140914091408140915081409140914130a0914130a130a081409140914130a130a0914130a130913a4a415130a0815130a081409140914130a130a0815130909140914091409140914130a130a0815130a1309130a09140914081508150814091414090914130a130a08150814091409140914091409140815130a081409140914091409140914091409130914091409140914130a0914130a13090914091409141409130a0914130a130913a4a415130a0815130a0814091409141409130a0815130a08150814091409140914130a130a08151309140a130909140914091409140815081513090914130a130a08150815081409140914091409140815130a081409150814091409140914091408150814091409140914130a0914130a13090914091409141409130a0914130a1309130005dc0000000000000000",
                        "stop": "b1c02e03e29e06000a110c110b120b120b120b120b120b12a415130a081513090914091409141409130a0815130909140914091409140914130a130a081414091409130a091409140913091409140914140909141409130a081508140914091409140914091409141309091409140914091409140914091409130914091414090914091409131409140909140914130a140909140914130a130913a4a415130a0815130a081409140914130a130a0815130a081409140914091409141409130a0914130914091409091409140914091409130914140909141409130a091409140814091409140914091409141607091309150814091409140914091409140913091513090914091409141409130a081509141309140909140914130a130913a4a415130a0914130a081508150814140a130909141409091409130a14081409141409130a0914130a130a1309091409140914091409140914130a0914130a130909140914091409140914081409140914140909140914091409140914091309150814091409141409091409140814140a13090914091414091409091409141309140913a4a415130a0815130a081508140914130a130a0914130a081508140914091409141409130a0914130a130a1309091409140914091409140914130a0814140a1309091409140914091408140914091409141409091409140914081409140914091409140a180414130a0814091409141409140909140914130a130a081508151309140814a4a415130a0815130a081409140914130a130a0815130a08140914091409140914130a1309091513091409140909140914091408150814091414090914130a130a09130914091409140914091409140914130a08140914091409140914091409130915081409141409091409140914130a130909140914130a130a09140914130a130913a4a415130a08151309091409140914130a130a0914130909140914091409140914130a1309091414091409140909140914091408140914091414090914130a130a091309150814091409140914091409141309091409140914091409140914091309150814091414090914091409141309140909140914130a130a08150815130a1309130005dc0000000000000000"
                    },
                    "disableLogs": false,
                    "totalDurationClose": 8,
                    "type": "window-covering",
                    "accessory": "window-covering"
                },
                {
                    "name": "Persiana Escritorio",
                    "totalDurationOpen": 12,
                    "data": {
                        "close": "b1c02e03ce9e0600091309140a130a130a130a130a130a13a616120a0914130a091508150815130a130a0815130a09140915130a0815130a130a130a130a0815130a130a130b120b120a0915130a0815130a130a130a091409140914091409150815081508150815130a091409140914091409140915091408150914130a0914091409140914140a130a130a130a09140914130a09141409091413a6a416130a0914130a091409140915130a130a0815130a08150914130a0914130a1409140a130a0815130a130a130a130a130a0915120b0815130a130a130a081508150914091409140914091508140915130a081509140914091409140914091409150815130a0815081509140914130a14091409140909140915130a0815130a091314a5a516130a0815130a081508150815130a130a0914140909140915130a0815130a130a130a130b0814140a130a130a130a130a0815130a0914130a130a140a0815081508150815091409140815091409151309091508150815081508150815091409140914130a0915081508150815130a130a130a130a09140915130a0815130a081413a6a516120a0915130a081508150815130a130a0815130a09140915130a0815130a130a130a130a0914130a140a130a130a130a0815130a0815130a1409130a091409150815081508150815081509140914140909140915081508150815091408150914091513090914091409150914130a130a130a130a09140914140a0815130a081413a6a516120a0915130a081508150815130a130a0914140909150815130a0815130a130a130a130a0915130a130a130a130a130a0815130a0914130a140a130a081508150815091408150914091409140915130a081508150815081509140914091409150815130a0815091409140815130a1409140a130a08150815130a0914130a091314a5a516130a0815130a081509140914140a13090915130a09140914130a0914130a130b130a130a0815130a130a130a130a130a0914140a0815130a130a130a091408150914091409140914091508150815130a091409140914091409150815081508150815130a0914091409140915130a130a130a130a09140914130a0914140a0814130005dc0000000000000000",
                        "open": "b1c02e03c49e0600091309140a130a130a130a130a130a14a515130a0915130a081508150815130a130a0914130a09150815130a0815130a130a130a130b0815120b130a130a130a130a0815130a0815130a130b130a081508150815081509140914091409140914140a081508150914091409140914091409140915081509140914130a091414091409140909150815130a081608141409091314a6a416130a0815130a091409140914140a130a0815130a08150815130a09141409130b130a130a0815130a130a130a130a130a0915130a0815130a130a130a081508150914091409140914091508150815130a09140914091409140914091409150815081509140914091414090914140a130a130a08150914130a091409141409091413a6a416130a0914130a091409150815130a130a0815130a0914091414090915130a130a130a130a0815130a1409130a1509130a0815130a0815130a130a130a0914091409150815081508150914091409141409091409150814091508150914081509140914091409140915130a0815130a1409130a09140914140909140915130a081413a6a51613090915130a081508150914130a14090914140909150815130a0815130a130a130a14090915130a130a130a130a130a0815130a0914140a130a130a081508150815091409140914091409140915130a081508150914091409140914091409140915081409150815130a0914130a1409140909140915130a08150914130a091314a5a516130a0815130a081508150914140914090915130a08150815130a0815130a130a1409130a0915130a130a130a130a130a0914130a0914140a130a130a0815081508150914091409140914091409141409091508150815091409140914091409140914091508150815130a0914130a1409140909140915130a08150914130a091314a5a516130a0815130a081509140914130a14090914140a08140915130a0815130a130a1409130a0915130a130a130a130a130a0815130a0914130b130a130a081508150815091409140915081409140915130a081508150815091409140914091409140914091508150815130a0914130a130a140909140915130909140915130a0913140005dc0000000000000000",
                        "stop": "b1c09a02609e0600071514090915130a091408150914130a14090915130a08150914130a0815130b130d1604130a0815130a130a130a130b120a0914130b0815130a130a130a081508150815091409140914091409150815130a0815091409140914091409150815081409150815130a0914091409141409140a13090915130a0815130a0914130a091413a6a416130a0815130a091409140914140a130a0815130a08150815130a09141409140a130a13090915130a130a130a130a130a091513090915130a130a130a091409140914091409140914091508150815130a0914091409140914091409140915081409150914130a091409140914140a130a13090915130a0914130a09141409091413a6a416130a0815130a091409140915130a130a0815130a08150914130a09141409140a130a130a0815130a130a130a130a1409091414090915130a130a130a091409140914091409140914091409150815130a0914091409140914091409140915081508150914130a091409140914140a130a130a0815130a0914130a09141409091413a6a416130a09141409091508150815130a130a0914130a0914091414090915130a130a130a130a0815130a14091409140a130a0815130a09141409130a130a091409140915081508150914091409140914140909150815081409150914091409140914091409141409091409150815130a130a130a091414090915130a0815130a091314a5a516130a0815130a091409140914130a14090914140909150815130a0914130a130a140914090915130a130a130a130a130a091414090914140a130a130a081509140914091409140914091409140915130a0914091409140914091409140915081508150815130a0914091409141409140a130a0815130a0914130a0914130a0914130005dc000000000000000000000000"
                    },
                    "disableLogs": false,
                    "totalDurationClose": 8,
                    "type": "window-covering",
                    "accessory": "window-covering"
                },
                {
                    "type": "tv",
                    "name": "Vivo TV",
                    "data": {
                        "off": "2600dc01541e0e100d100d1e0e1e2b1e0d100d100e0f0e0f0e0f0e100d101c110c0f0e1e0e0f0e100d0f0e0f0e101d1d0d101c100d1e0e0f0e0f0e100d101c0f0f1d0e0f0e0008e3561e0e0f0e0f0e1e0e1e2a1e0e100d100d110d0f0d100d100e0f1c100d100d1f0e0f0e0f0d100d100e101c1d0e0f1d0f0e1e0d100d120c100d0f1d100c1e0e110c0008e3571e0d100d100d1e0e1e2b1e0e0f0e0f0e0f0e0f0e0f0e110c101c0f0e100d1e0e0f0e0f0e110c100d101c1e0d101c100d1e0e100d0f0e100d101c0f0e1e0f0e0e0008e3571d0e100e0f0d1e0e1e2a1f0d100d100d100d110c110d0f0e0f1c110c100e1e0d110c100d100e0f0e0f1c1e0e101c100d1e0d100d100e0f0e0f1c100d1f0d100e0008e2561f0d100d110c1e0e1e2b1e0d100e0f0e0f0e0f0e110d0f0d101d0e0e110c1e0e0f0e0f0e0f0e110d0f1c1e0d101c110c1e0e0f0e0f0e100d101c0f0e1e0e0f0e0008e3561e0e0f0e0f0e1e0d1f2a1e0e0f0e100d100d100d100e0f0e0f1c100d100d1e0e100d100d100d100e101b1e0e0f1c100e1e0d100d100d100d101c120b1e0e0f0e0008e3561e0e0f0e0f0e1e0e1e2a1f0d100d100d110e0e0e0f0e100d0f1d0f0e0f0e1e0d100d100e0f0e0f0e0f1c1e0e101c0f0e1e0d100e0f0e0f0e0f1c100e1e0d100d000d0500000000000000000000",
                        "on": "26001002541e0e0f0e100d1e0e1e2b1e0d100d100d100e0f0e0f0e0f0e0f1d100d0f0e1e0d100e0f0e0f1c1e1c1f0d101c0f0e1e0e0f0e0f0e0f0e0f1d0f0e1e0d100d0008e3571e0e0f0e0f0e1e0d1e2b1e0e0f0e0f0e100d100d100d100d101c100d100d1e0e0f0e100d101c1e1c1e0e0f1c100d1f0d100d100d100d101c100d1e0e0f0e0008e3561e0e0f0e100d1e0e1e2b1e0d100d100d100d100e0f0e0f0e0f1d0f0e0f0e1e0d100e0f0e0f1c1e1c1f0d101d0e0e1e0e0f0e0f0e0f0e0f1d0f0e1e0d100d0008e3571e0d100e0f0e1e0d1e2b1e0f0e0e0f0e0f0e100d100d100d101c100d100d1e0e0f0e100d101c1e1c1e0e0f1c100d1e0e100d100d100d101c100d1e0e0f0e0008e3561e0e0f0e100d1e0e1e2b1e0d100d100d100e0f0e0f0e0f0e0f1c100e0f0e1e0d100d100e0f1c1e1c1f0d101c0f0e1e0e0f0e0f0e100d0f1d100d1e0d100d0008e3571e0d100d100d1f0d1e2b1e0e0f0e0f0e0f0e0f0e100d100d101c0f0e100d1e0e0f0e0f0e101c1e1d1d0e0f1c100d1e0e100d100d100d101c0f0e1e0e100e0008e1571e0e0f0e0f0e1e0d1e2b1e0e0f0e100d100d100d100d100d101c100d100d1e0e100d100d101c1e1c1e0e0f1c100d1f0d100d100d100d101c100d1e0e0f0e0008e3561e0e0f0e0f0e1e0e1e2a1e0e100d100d100d100d100e100d0f1c100d100e1e0d100d100d101c1e1c1e0e101c0f0e1e0d100d100e0f0e0f1c100d1f0d100d000d05000000000000"
                    }
                },
                {
                    "name": "Broad Temp",
                    "type": "temperatureSensor",
                    "host": "nnn.nnn.nnn.15"
                },
                {
                    "name": "Broad Umid",
                    "type": "humiditySensor",
                    "host": "nnn.nnn.nnn.15"
                }
            ],
            "hideWelcomeMessage": true,
            "platform": "BroadlinkRM",
            "_bridge": {
                "username": "0E:83:FD:29:58:D9",
                "port": 55135
            },
            "debug": false,
            "plugin_map": {
                "plugin_name": "broadlink-rm-pro"
            }
        },
        {
            "user": "user",
            "password": "nnnnnnn",
            "interval": 30,
            "devices": [
                {
                    "deviceId": "5728610711",
                    "supportedSwingMode": "Vertical",
                    "temperatureSteps": 1,
                    "fanOnlyMode": false,
                    "OutdoorTemperature": true
                },
                {
                    "deviceId": "5728D50211",
                    "supportedSwingMode": "Vertical",
                    "temperatureSteps": 1,
                    "fanOnlyMode": false,
                    "OutdoorTemperature": true
                },
                {
                    "deviceId": "5728502021",
                    "supportedSwingMode": "Vertical",
                    "temperatureSteps": 1,
                    "fanOnlyMode": false,
                    "OutdoorTemperature": true
                }
            ],
            "_bridge": {
                "username": "0E:31:E0:44:EF:C7",
                "port": 39981
            },
            "platform": "midea-air"
        },
        {
            "name": "Camera FFmpeg",
            "cameras": [
                {
                    "name": "Garagem Externa",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-i rtsp://nnn.nnn.nnn.127:554/11",
                        "audio": true
                    }
                },
                {
                    "name": "Entrada Externa",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-i rtsp://nnn.nnn.nnn.nn:554/11",
                        "audio": true
                    }
                },
                {
                    "name": "Entrada Social",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-i rtsp://nnn.nnn.nnn.37:554/11",
                        "audio": true
                    }
                }
            ],
            "platform": "Camera-ffmpeg",
            "_bridge": {
                "username": "0E:4C:BE:E4:CE:ED",
                "port": 54232
            }
        }
    ],
    "disabledPlugins": [
        "homebridge-midea-air"
    ]
}

Environment

Process Supervisor

hb-service

Additional Context

no file attached

NorthernMan54 commented 2 years ago

This is the critical portion of your log file

[05/04/2022, 16:00:15] Error: listen EADDRINUSE: address already in use :::51178

This means something is already using that port, do you have homebridge already running and your trying to start a second copy / instance ?

adrianopery commented 2 years ago

No I have only one homebridge running at home. Any idea in how can I do to fix it? This behavior is boring!

Em ter., 5 de abr. de 2022 às 18:35, Northern Man @.***> escreveu:

This is the critical portion of your log file

[05/04/2022, 16:00:15] Error: listen EADDRINUSE: address already in use :::51178

This means something is already using that port, do you have homebridge already running and your trying to start a second copy / instance ?

— Reply to this email directly, view it on GitHub https://github.com/homebridge/homebridge/issues/3105#issuecomment-1089385286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL35XTL3V46WYT7OV67AYJ3VDSW2XANCNFSM5STWTBWA . You are receiving this because you authored the thread.Message ID: @.***>

NorthernMan54 commented 2 years ago

Have you tried rebooting your RPI ?

On Apr 5, 2022, at 5:39 PM, adrianopery @.***> wrote:

No I have only one homebridge running at home. Any idea in how can I do to fix it? This behavior is boring!

Em ter., 5 de abr. de 2022 às 18:35, Northern Man @.***> escreveu:

This is the critical portion of your log file

[05/04/2022, 16:00:15] Error: listen EADDRINUSE: address already in use :::51178

This means something is already using that port, do you have homebridge already running and your trying to start a second copy / instance ?

— Reply to this email directly, view it on GitHub https://github.com/homebridge/homebridge/issues/3105#issuecomment-1089385286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL35XTL3V46WYT7OV67AYJ3VDSW2XANCNFSM5STWTBWA . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/homebridge/homebridge/issues/3105#issuecomment-1089390607, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXEFGBSXJRL6OC6NVTX5HLVDSXIJANCNFSM5STWTBWA. You are receiving this because you commented.

adrianopery commented 2 years ago

Yes I did it today.

Em ter., 5 de abr. de 2022 às 18:41, Northern Man @.***> escreveu:

Have you tried rebooting your RPI ?

On Apr 5, 2022, at 5:39 PM, adrianopery @.***> wrote:

No I have only one homebridge running at home. Any idea in how can I do to fix it? This behavior is boring!

Em ter., 5 de abr. de 2022 às 18:35, Northern Man @.***> escreveu:

This is the critical portion of your log file

[05/04/2022, 16:00:15] Error: listen EADDRINUSE: address already in use :::51178

This means something is already using that port, do you have homebridge already running and your trying to start a second copy / instance ?

— Reply to this email directly, view it on GitHub < https://github.com/homebridge/homebridge/issues/3105#issuecomment-1089385286 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AL35XTL3V46WYT7OV67AYJ3VDSW2XANCNFSM5STWTBWA

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/homebridge/homebridge/issues/3105#issuecomment-1089390607>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEXEFGBSXJRL6OC6NVTX5HLVDSXIJANCNFSM5STWTBWA . You are receiving this because you commented.

— Reply to this email directly, view it on GitHub https://github.com/homebridge/homebridge/issues/3105#issuecomment-1089392781, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL35XTMTCNXQGFDZP3LY7UDVDSXPXANCNFSM5STWTBWA . You are receiving this because you authored the thread.Message ID: @.***>

NorthernMan54 commented 2 years ago

Are you sure a second copy of homebridge wasn't started automatically by the system ?

what does this show

ps -ef | grep homebridge

adrianopery commented 2 years ago

this is what I have executing the comand you sent.

pi@homebridge:/var/lib/homebridge $ ps -ef | grep homebridge avahi 377 1 2 19:42 ? 00:00:03 avahi-daemon: running [homebridge.local] pi 726 698 18 19:43 ? 00:00:26 homebridge pi 750 726 16 19:43 ? 00:00:20 homebridge: homebridge-yamaha-avr pi 756 726 20 19:43 ? 00:00:24 homebridge: homebridge-webos-tv pi 757 726 21 19:43 ? 00:00:25 homebridge: homebridge-broadlink-rm-pro pi 763 726 16 19:43 ? 00:00:20 homebridge: homebridge-camera-ffmpeg pi 879 874 0 19:45 pts/0 00:00:00 grep --color=auto homebridge

NorthernMan54 commented 2 years ago

That shows that homebridge is already running, and the 4 child bridges are running. So if you run DEBUG=* homebridge -D it will fail with an error saying port in use.

Why are you running DEBUG=* homebridge -D ?

adrianopery commented 2 years ago

I'm trying to identify anything to help. When I opened the issue, it was requested to add the LOG, I was thinking the debug was better.

NorthernMan54 commented 2 years ago

If you look at the homebridge UI, does the log in the console show restarts or ??

adrianopery commented 2 years ago

don't show the restart, Just restart and all devices keep unavailable until the finish of the restart.

Just restarted...

[05/04/2022, 20:12:42] [Yamaha AVR] Initializing yamaha-avr platform... [05/04/2022, 20:12:42] [Yamaha AVR] Initializing child bridge 0E:8D:37:AF:61:9D [05/04/2022, 20:12:42] [webostv] Initializing webostv platform... [05/04/2022, 20:12:42] [webostv] Initializing child bridge 0E:DA:1E:27:2E:8C [05/04/2022, 20:12:42] [BroadlinkRM] Initializing BroadlinkRM platform... [05/04/2022, 20:12:42] [BroadlinkRM] Initializing child bridge 0E:83:FD:29:58:D9 [05/04/2022, 20:12:42] Ignoring config for the platform "midea-air" in your config.json as the plugin "homebridge-midea-air" has been disabled. [05/04/2022, 20:12:42] [Camera FFmpeg] Initializing Camera-ffmpeg platform... [05/04/2022, 20:12:42] [Camera FFmpeg] Initializing child bridge 0E:4C:BE:E4:CE:ED Setup Payload: X-HM://0024XS3XO8NP5 Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 887-65-767│     
└────────────┘     

[05/04/2022, 20:12:43] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 7318) is running on port 51178. [05/04/2022, 20:12:47] [homebridge-webos-tv] Launched child bridge with PID 882 [05/04/2022, 20:12:48] [Yamaha AVR] Launched child bridge with PID 876 [05/04/2022, 20:12:48] [homebridge-broadlink-rm-pro] Launched child bridge with PID 883 [05/04/2022, 20:12:48] Registering platform 'homebridge-webos-tv.webostv' [05/04/2022, 20:12:48] [homebridge-webos-tv] Loaded homebridge-webos-tv v2.2.7 child bridge successfully [05/04/2022, 20:12:48] Loaded 0 cached accessories from cachedAccessories.0EDA1E272E8C. [05/04/2022, 20:12:48] [Camera FFmpeg] Launched child bridge with PID 890 [05/04/2022, 20:12:49] [homebridge-webos-tv] Init - initializing devices [05/04/2022, 20:12:49] [homebridge-webos-tv] [TV Sala] Init - got TV configuration, initializing device with name: TV Sala [05/04/2022, 20:12:49] [homebridge-webos-tv] [TV Quarto Master] Init - got TV configuration, initializing device with name: TV Quarto Master [05/04/2022, 20:12:49] [homebridge-webos-tv] [TV Quarto Didi] Init - got TV configuration, initializing device with name: TV Quarto Didi [05/04/2022, 20:12:49] Homebridge v1.4.0 (HAP v0.10.0) (homebridge-webos-tv) is running on port 39432. [05/04/2022, 20:12:50] TV Sala ABA3 is running on port 36027. [05/04/2022, 20:12:50] Please add [TV Sala ABA3] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:50] TV Quarto Master 1511 is running on port 40921. [05/04/2022, 20:12:50] Please add [TV Quarto Master 1511] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:50] TV Quarto Didi B484 is running on port 36401. [05/04/2022, 20:12:50] Please add [TV Quarto Didi B484] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:49] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [05/04/2022, 20:12:50] [Camera FFmpeg] Loaded homebridge-camera-ffmpeg v3.1.4 child bridge successfully [05/04/2022, 20:12:50] Loaded 0 cached accessories from cachedAccessories.0E4CBEE4CEED. [05/04/2022, 20:12:50] [homebridge-webos-tv] [TV Sala] Connected to TV [05/04/2022, 20:12:50] [Camera FFmpeg] [Garagem Externa] Configuring unbridged accessory... [05/04/2022, 20:12:50] [Camera FFmpeg] [Entrada Externa] Configuring unbridged accessory... [05/04/2022, 20:12:50] [Camera FFmpeg] [Entrada Social] Configuring unbridged accessory... [05/04/2022, 20:12:51] Homebridge v1.4.0 (HAP v0.10.0) (Camera FFmpeg) is running on port 54232. [05/04/2022, 20:12:51] Garagem Externa 4995 is running on port 36045. [05/04/2022, 20:12:51] Please add [Garagem Externa 4995] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:51] Entrada Externa 7408 is running on port 43323. [05/04/2022, 20:12:51] Please add [Entrada Externa 7408] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:51] Entrada Social DA51 is running on port 46701. [05/04/2022, 20:12:51] Please add [Entrada Social DA51] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:51] Registering platform 'homebridge-yamaha-avr.yamaha-avr' [05/04/2022, 20:12:51] [Yamaha AVR] Loaded homebridge-yamaha-avr v2.0.6 child bridge successfully [05/04/2022, 20:12:51] Loaded 0 cached accessories from cachedAccessories.0E8D37AF619D. [05/04/2022, 20:12:52] Homebridge v1.4.0 (HAP v0.10.0) (Yamaha AVR) is running on port 43567. [05/04/2022, 20:12:52] [homebridge-webos-tv] [TV Sala] Got TV information [05/04/2022, 20:12:52] [homebridge-webos-tv] [TV Sala] TV webOS version: 2.0 [05/04/2022, 20:12:53] [homebridge-webos-tv] [TV Sala] TV turned on! [05/04/2022, 20:12:53] [homebridge-webos-tv] [TV Sala] App launched, current appId: com.webos.app.hdmi1 [05/04/2022, 20:12:56] [homebridge-webos-tv] [TV Sala] Sound output changed. Current sound output: tv_speaker [05/04/2022, 20:12:56] [homebridge-webos-tv] [TV Sala] Subscribed to TV services [05/04/2022, 20:12:56] Yamaha AVR 59F3 is running on port 41393. [05/04/2022, 20:12:56] Please add [Yamaha AVR 59F3] manually in Home app. Setup Code: 887-65-420 [05/04/2022, 20:12:58] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1) [05/04/2022, 20:12:58] [homebridge-webos-tv] [TV Sala] Connected to remote pointer input socket [05/04/2022, 20:12:58] [homebridge-webos-tv] [TV Sala] Setup finished [05/04/2022, 20:12:58] [homebridge-webos-tv] [TV Sala] TV setup finished, ready to control tv [05/04/2022, 20:13:01] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM' [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Loaded homebridge-broadlink-rm-pro v4.5.0-beta.1 child bridge successfully [05/04/2022, 20:13:02] Loaded 0 cached accessories from cachedAccessories.0E83FD2958D9. [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] [INFO] Automatically discovering Broadlink RM devices. [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] [INFO] Running Homebridge Broadlink RM Plugin version 4.5.0-beta.1 [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Persiana Quarto Master Accessory Ready [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Persiana Escritorio Accessory Ready [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Vivo TV Accessory Ready [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Broad Temp Accessory Ready [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Broad Umid Accessory Ready [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] ** [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] You added TVs in your configuration! [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] Due to a HomeKit limitation you need to add any TVs to the Home app by using the Add Accessory function. [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] There you'll find your TVs and you can use the same PIN as you using for this HomeBridge instance. [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] ** [05/04/2022, 20:13:02] [homebridge-broadlink-rm-pro] [05/04/2022, 20:13:02] Initializing platform accessory 'Learn IR'... [05/04/2022, 20:13:02] Initializing platform accessory 'Learn RF'... [05/04/2022, 20:13:02] Initializing platform accessory 'Persiana Quarto Master'... [05/04/2022, 20:13:02] Initializing platform accessory 'Persiana Escritorio'... [05/04/2022, 20:13:02] Initializing platform accessory 'Broad Temp'... [05/04/2022, 20:13:02] Initializing platform accessory 'Broad Umid'... [05/04/2022, 20:13:02] Homebridge v1.4.0 (HAP v0.10.0) (homebridge-broadlink-rm-pro) is running on port 55135. [05/04/2022, 20:13:03] Vivo TV E31B is running on port 38497. [05/04/2022, 20:13:03] Please add [Vivo TV E31B] manually in Home app. Setup Code: 887-65-420 [INFO] Adding RF Support to device a043b0541df0 with type 653c [05/04/2022, 20:13:03] [homebridge-broadlink-rm-pro] [INFO] Discovered Broadlink RM4 Pro (653c) at 192.168.5.2 (a0:43:b0:54:1d:f0) [05/04/2022, 20:13:08] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1) [05/04/2022, 20:13:10] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1)

NorthernMan54 commented 2 years ago

That looks normal, what was the original problem you where looking into ?

adrianopery commented 2 years ago

every 3 to 5 minutes the bridge restarts.

NorthernMan54 commented 2 years ago

Does the console show an error before restarting ?

Also the file /var/log/syslog may contain a duplicate of this

adrianopery commented 2 years ago

the console just stops and starts again. how can I do to list the file you are asking?

This is the list of this directory

pi@homebridge:/var/lib/homebridge $ ls accessories config.json plugin-persist RMPro_Kitchen-Humidity_persist.json RMPro_Sala-Temp_persist.json auth.json homebridge.log RMPro_Broad-Temp_persist.json RMPro_Kitchen-Temp_persist.json backups persist RMPro_Broad-Umid_persist.json RMPro_Sala-Humidity_persist.json

NorthernMan54 commented 2 years ago

try this in the shell

tail -f /var/log/syslog

this should be a duplicate of the homebridge UI log, what does it show when it restarts ?

adrianopery commented 2 years ago

Apr 5 20:39:46 homebridge systemd[1]: systemd-update-utmp-runlevel.service: Succeeded. Apr 5 20:39:46 homebridge systemd[1]: Finished Update UTMP about System Runlevel Changes. Apr 5 20:39:46 homebridge systemd[1]: Startup finished in 4.397s (kernel) + 19.022s (userspace) = 23.419s. Apr 5 20:39:49 homebridge hb-service.js[699]: #033[37m[05/04/2022, 20:39:49]#033[0m #033[36m[HB Supervisor]#033[0m Homebridge Storage Path: /var/lib/homebridge Apr 5 20:39:49 homebridge hb-service.js[699]: #033[37m[05/04/2022, 20:39:49]#033[0m #033[36m[HB Supervisor]#033[0m Homebridge Config Path: /var/lib/homebridge/config.json Apr 5 20:39:49 homebridge hb-service.js[699]: #033[37m[05/04/2022, 20:39:49]#033[0m #033[36m[HB Supervisor]#033[0m Logging to /var/lib/homebridge/homebridge.log Apr 5 20:39:50 homebridge systemd[1]: NetworkManager-dispatcher.service: Succeeded. Apr 5 20:40:03 homebridge systemd[1]: systemd-fsckd.service: Succeeded. Apr 5 20:40:26 homebridge systemd-timesyncd[313]: Initial synchronization to time server 201.49.148.135:123 (2.debian.pool.ntp.org). Apr 5 20:40:33 homebridge systemd[1]: systemd-hostnamed.service: Succeeded.

NorthernMan54 commented 2 years ago

Looking at that, this file contains the log

tail -f /var/lib/homebridge/homebridge.log
adrianopery commented 2 years ago

pi@homebridge:/var/lib/homebridge $ tail -f /var/lib/homebridge/homebridge.log [05/04/2022, 20:41:21] Vivo TV E31B is running on port 43721. [05/04/2022, 20:41:21] Please add [Vivo TV E31B] manually in Home app. Setup Code: 887-65-420 [INFO] Adding RF Support to device a043b0541df0 with type 653c [05/04/2022, 20:41:26] [homebridge-broadlink-rm-pro] [INFO] Discovered Broadlink RM4 Pro (653c) at 192.168.5.2 (a0:43:b0:54:1d:f0) [05/04/2022, 20:42:58] [Homebridge UI] Terminal session ended. [05/04/2022, 20:42:59] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1) [05/04/2022, 20:43:02] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1) [05/04/2022, 20:43:04] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1) [05/04/2022, 20:43:10] [Yamaha AVR] Current input: STB Refsw Desi (HDMI1) [05/04/2022, 20:43:35] [Homebridge UI] Starting terminal session

NorthernMan54 commented 2 years ago

This is the homebridge log, any errors should appear here

adrianopery commented 2 years ago

yes. This is the point. there is any way to do a backup from all parameters and configs and reinstall the homebridge. Than after, restore but without need to re-pairing all the devices with Homekit?

NorthernMan54 commented 2 years ago

I'm a bit lost, you raised an issue about restarts, what's this about ?

adrianopery commented 2 years ago

the symptom I have is frequent restarts of the homebridge. Sorry If I'm not clear. Just to you know, I executed the command

sudo tail -f /var/log/syslog -n 500 | more

and have this file..... At the end of the file before I finish read, the message “Terminal disconnected. Is the server running?”" the homebridge is disconnecting or restarting.

pi@homebridge:/var/lib/homebridge $ cl bash: cl: command not found pi@homebridge:/var/lib/homebridge $ s bash: s: command not found pi@homebridge:/var/lib/homebridge $ ls accessories config.json plugin-persist RMPro_Kitchen-Humidity_persist.json RMPro_Sala-Temp_persist.json auth.json homebridge.log RMPro_Broad-Temp_persist.json RMPro_Kitchen-Temp_persist.json backups persist RMPro_Broad-Umid_persist.json RMPro_Sala-Humidity_persist.json pi@homebridge:/var/lib/homebridge $ sudo tail -f /var/log/syslog -n 500 | more

Apr 5 20:58:41 homebridge kernel: [ 2.022529] Initialise system trusted keyrings Apr 5 20:58:41 homebridge systemd[1]: Finished Create Volatile Files and Directories. Apr 5 20:58:41 homebridge kernel: [ 2.026395] workingset: timestamp_bits=14 max_order=18 bucket_order=4 Apr 5 20:58:41 homebridge kernel: [ 2.039645] zbud: loaded Apr 5 20:58:41 homebridge kernel: [ 2.045358] FS-Cache: Netfs 'nfs' registered for caching Apr 5 20:58:41 homebridge kernel: [ 2.049762] NFS: Registering the id_resolver key type Apr 5 20:58:41 homebridge systemd[1]: Starting Network Time Synchronization... Apr 5 20:58:41 homebridge kernel: [ 2.053245] Key type id_resolver registered Apr 5 20:58:41 homebridge kernel: [ 2.056682] Key type id_legacy registered Apr 5 20:58:41 homebridge systemd[1]: Starting Update UTMP about System Boot/Shutdown... Apr 5 20:58:41 homebridge kernel: [ 2.060098] nfs4filelayout_init: NFSv4 File Layout Driver Registering... Apr 5 20:58:41 homebridge kernel: [ 2.063406] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... Apr 5 20:58:41 homebridge kernel: [ 2.067906] Key type asymmetric registered Apr 5 20:58:41 homebridge kernel: [ 2.071139] Asymmetric key parser 'x509' registered Apr 5 20:58:41 homebridge systemd[1]: Finished Update UTMP about System Boot/Shutdown. Apr 5 20:58:41 homebridge kernel: [ 2.074359] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) Apr 5 20:58:41 homebridge kernel: [ 2.077584] io scheduler mq-deadline registered Apr 5 20:58:41 homebridge systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Apr 5 20:58:41 homebridge kernel: [ 2.080688] io scheduler kyber registered Apr 5 20:58:41 homebridge kernel: [ 2.095207] bcm2835-rng 3f104000.rng: hwrng registered Apr 5 20:58:41 homebridge kernel: [ 2.098808] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) Apr 5 20:58:41 homebridge kernel: [ 2.105737] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 Apr 5 20:58:41 homebridge systemd[1]: Starting Load/Save RF Kill Switch Status... Apr 5 20:58:41 homebridge kernel: [ 2.121038] brd: module loaded Apr 5 20:58:41 homebridge kernel: [ 2.136513] loop: module loaded Apr 5 20:58:41 homebridge kernel: [ 2.141602] Loading iSCSI transport class v2.0-870. Apr 5 20:58:41 homebridge kernel: [ 2.146442] libphy: Fixed MDIO Bus: probed Apr 5 20:58:41 homebridge systemd-udevd[163]: Using default interface naming scheme 'v247'. Apr 5 20:58:41 homebridge kernel: [ 2.149926] usbcore: registered new interface driver lan78xx Apr 5 20:58:41 homebridge kernel: [ 2.153142] usbcore: registered new interface driver smsc95xx Apr 5 20:58:41 homebridge kernel: [ 2.156249] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) Apr 5 20:58:41 homebridge systemd[1]: Finished Raise network interfaces. Apr 5 20:58:41 homebridge kernel: [ 2.887613] Core Release: 2.80a Apr 5 20:58:41 homebridge kernel: [ 2.890582] Setting default values for core params Apr 5 20:58:41 homebridge kernel: [ 2.893555] Finished setting default values for core params Apr 5 20:58:41 homebridge kernel: [ 3.096925] Using Buffer DMA mode Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Huge Pages File System being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.099861] Periodic Transfer Interrupt Enhancement - disabled Apr 5 20:58:41 homebridge kernel: [ 3.102870] Multiprocessor Interrupt Enhancement - disabled Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.105963] OTG VER PARAM: 0, OTG VER FLAG: 0 Apr 5 20:58:41 homebridge kernel: [ 3.109034] Dedicated Tx FIFOs mode Apr 5 20:58:41 homebridge kernel: [ 3.112453] Apr 5 20:58:41 homebridge kernel: [ 3.112473] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = 9ed04000 dma = 0xded04000 l en=9024 Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.121204] FIQ FSM acceleration enabled for : Apr 5 20:58:41 homebridge kernel: [ 3.121204] Non-periodic Split Transactions Apr 5 20:58:41 homebridge kernel: [ 3.121204] Periodic Split Transactions Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.121204] High-Speed Isochronous Endpoints Apr 5 20:58:41 homebridge kernel: [ 3.121204] Interrupt/Control Split Transaction hack enabled Apr 5 20:58:41 homebridge kernel: [ 3.135371] dwc_otg: Microframe scheduler enabled Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.135438] Apr 5 20:58:41 homebridge kernel: [ 3.135448] WARN::hcd_init_fiq:457: FIQ on core 1 Apr 5 20:58:41 homebridge kernel: [ 3.140609] Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.140619] WARN::hcd_init_fiq:458: FIQ ASM at 807c9984 length 36 Apr 5 20:58:41 homebridge kernel: [ 3.145818] Apr 5 20:58:41 homebridge kernel: [ 3.145827] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000 Apr 5 20:58:41 homebridge kernel: [ 3.151112] dwc_otg 3f980000.usb: DWC OTG Controller Apr 5 20:58:41 homebridge kernel: [ 3.153909] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 Apr 5 20:58:41 homebridge kernel: [ 3.156781] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000 Apr 5 20:58:41 homebridge kernel: [ 3.159583] Init: Port Power? op_state=1 Apr 5 20:58:41 homebridge kernel: [ 3.162313] Init: Power Port (0) Apr 5 20:58:41 homebridge kernel: [ 3.165366] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 Apr 5 20:58:41 homebridge kernel: [ 3.170885] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Apr 5 20:58:41 homebridge kernel: [ 3.173808] usb usb1: Product: DWC OTG Controller Apr 5 20:58:41 homebridge kernel: [ 3.176705] usb usb1: Manufacturer: Linux 5.10.63-v7+ dwc_otg_hcd Apr 5 20:58:41 homebridge kernel: [ 3.179640] usb usb1: SerialNumber: 3f980000.usb Apr 5 20:58:41 homebridge kernel: [ 3.183334] hub 1-0:1.0: USB hub found Apr 5 20:58:41 homebridge kernel: [ 3.186261] hub 1-0:1.0: 1 port detected Apr 5 20:58:41 homebridge kernel: [ 3.190244] dwc_otg: FIQ enabled Apr 5 20:58:41 homebridge kernel: [ 3.190257] dwc_otg: NAK holdoff enabled Apr 5 20:58:41 homebridge kernel: [ 3.190269] dwc_otg: FIQ split-transaction FSM enabled Apr 5 20:58:41 homebridge kernel: [ 3.190287] Module dwc_common_port init Apr 5 20:58:41 homebridge kernel: [ 3.190634] usbcore: registered new interface driver usb-storage Apr 5 20:58:41 homebridge kernel: [ 3.193695] mousedev: PS/2 mouse device common for all mice Apr 5 20:58:41 homebridge kernel: [ 3.197935] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer Apr 5 20:58:41 homebridge kernel: [ 3.203564] sdhci: Secure Digital Host Controller Interface driver Apr 5 20:58:41 homebridge kernel: [ 3.206565] sdhci: Copyright(c) Pierre Ossman Apr 5 20:58:41 homebridge systemd[1]: Started Load/Save RF Kill Switch Status. Apr 5 20:58:41 homebridge kernel: [ 3.210281] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe Apr 5 20:58:41 homebridge kernel: [ 3.213920] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe Apr 5 20:58:41 homebridge kernel: [ 3.217270] sdhci-pltfm: SDHCI platform and OF driver helper Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Huge Pages File System being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.222240] ledtrig-cpu: registered to indicate activity on CPUs Apr 5 20:58:41 homebridge kernel: [ 3.225768] hid: raw HID events driver (C) Jiri Kosina Apr 5 20:58:41 homebridge kernel: [ 3.229039] usbcore: registered new interface driver usbhid Apr 5 20:58:41 homebridge kernel: [ 3.232113] usbhid: USB HID core driver Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.240416] Initializing XFRM netlink socket Apr 5 20:58:41 homebridge kernel: [ 3.243490] NET: Registered protocol family 17 Apr 5 20:58:41 homebridge kernel: [ 3.246678] Key type dns_resolver registered Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.250191] Registering SWP/SWPB emulation handler Apr 5 20:58:41 homebridge kernel: [ 3.253343] registered taskstats version 1 Apr 5 20:58:41 homebridge kernel: [ 3.256287] Loading compiled-in X.509 certificates Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.259978] Key type ._fscrypt registered Apr 5 20:58:41 homebridge kernel: [ 3.262730] Key type .fscrypt registered Apr 5 20:58:41 homebridge kernel: [ 3.265432] Key type fscrypt-provisioning registered Apr 5 20:58:41 homebridge kernel: [ 3.279941] uart-pl011 3f201000.serial: cts_event_workaround enabled Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.282815] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2 Apr 5 20:58:41 homebridge kernel: [ 3.290975] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. Apr 5 20:58:41 homebridge kernel: [ 3.295738] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0 Apr 5 20:58:41 homebridge kernel: [ 3.298770] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated Apr 5 20:58:41 homebridge kernel: [ 3.314841] Indeed it is in host mode hprt0 = 00021501 Apr 5 20:58:41 homebridge kernel: [ 3.379559] sdhost: log_buf @ (ptrval) (ded07000) Apr 5 20:58:41 homebridge kernel: [ 3.419806] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) Apr 5 20:58:41 homebridge systemd-timesyncd[320]: System clock time unset or jumped backwards, restoring from recorded timestamp: Tue 20 22-04-05 20:58:40 -03 Apr 5 20:58:41 homebridge kernel: [ 3.424386] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) Apr 5 20:58:41 homebridge kernel: [ 3.428847] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) Apr 5 20:58:41 homebridge systemd[1]: Started Network Time Synchronization. Apr 5 20:58:41 homebridge kernel: [ 3.431844] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) Apr 5 20:58:41 homebridge kernel: [ 3.437561] of_cfs_init Apr 5 20:58:41 homebridge kernel: [ 3.440386] of_cfs_init: OK Apr 5 20:58:41 homebridge systemd[1]: Reached target System Initialization. Apr 5 20:58:41 homebridge kernel: [ 3.443985] Waiting for root device PARTUUID=9f1b13b5-02... Apr 5 20:58:41 homebridge kernel: [ 3.458151] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) Apr 5 20:58:41 homebridge kernel: [ 3.524708] usb 1-1: new high-speed USB device number 2 using dwc_otg Apr 5 20:58:41 homebridge systemd[1]: Started Daily Cleanup of Temporary Directories. Apr 5 20:58:41 homebridge kernel: [ 3.527458] mmc0: host does not support reading read-only switch, assuming write-enable Apr 5 20:58:41 homebridge kernel: [ 3.530265] Indeed it is in host mode hprt0 = 00001101 Apr 5 20:58:41 homebridge kernel: [ 3.599164] mmc0: new high speed SDHC card at address aaaa Apr 5 20:58:41 homebridge systemd[1]: Reached target System Time Set. Apr 5 20:58:41 homebridge kernel: [ 3.602938] mmcblk0: mmc0:aaaa SB32G 29.7 GiB Apr 5 20:58:41 homebridge kernel: [ 3.611701] mmcblk0: p1 p2 Apr 5 20:58:41 homebridge systemd[1]: Reached target System Time Synchronized. Apr 5 20:58:41 homebridge systemd[1]: Started Daily apt download activities. Apr 5 20:58:41 homebridge kernel: [ 3.639593] mmc1: new high speed SDIO card at address 0001 Apr 5 20:58:41 homebridge kernel: [ 3.656903] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem Apr 5 20:58:41 homebridge kernel: [ 3.659934] EXT4-fs (mmcblk0p2): write access will be enabled during recovery Apr 5 20:58:41 homebridge systemd[1]: Started Daily apt upgrade and clean activities. Apr 5 20:58:41 homebridge kernel: [ 3.765129] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00 Apr 5 20:58:41 homebridge kernel: [ 3.770942] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Apr 5 20:58:41 homebridge kernel: [ 3.774855] hub 1-1:1.0: USB hub found Apr 5 20:58:41 homebridge systemd[1]: Started Periodic ext4 Online Metadata Check for All Filesystems. Apr 5 20:58:41 homebridge kernel: [ 3.777827] hub 1-1:1.0: 5 ports detected Apr 5 20:58:41 homebridge kernel: [ 3.898146] EXT4-fs (mmcblk0p2): recovery complete Apr 5 20:58:41 homebridge kernel: [ 3.905642] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) Apr 5 20:58:41 homebridge kernel: [ 3.911473] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. Apr 5 20:58:41 homebridge systemd[1]: Started Discard unused blocks once a week. Apr 5 20:58:41 homebridge kernel: [ 3.918635] devtmpfs: mounted Apr 5 20:58:41 homebridge kernel: [ 3.928843] Freeing unused kernel memory: 1024K Apr 5 20:58:41 homebridge kernel: [ 3.932508] Run /sbin/init as init process Apr 5 20:58:41 homebridge systemd[1]: Started Daily rotation of log files. Apr 5 20:58:41 homebridge kernel: [ 3.935672] with arguments: Apr 5 20:58:41 homebridge kernel: [ 3.935683] /sbin/init Apr 5 20:58:41 homebridge kernel: [ 3.935694] with environment: Apr 5 20:58:41 homebridge systemd[1]: Started Daily man-db regeneration. Apr 5 20:58:41 homebridge kernel: [ 3.935705] HOME=/ Apr 5 20:58:41 homebridge kernel: [ 3.935716] TERM=linux Apr 5 20:58:41 homebridge kernel: [ 4.094725] usb 1-1.1: new high-speed USB device number 3 using dwc_otg Apr 5 20:58:41 homebridge systemd[1]: Reached target Timers. Apr 5 20:58:41 homebridge kernel: [ 4.225202] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00 Apr 5 20:58:41 homebridge kernel: [ 4.231850] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 Apr 5 20:58:41 homebridge kernel: [ 4.238273] smsc95xx v2.0.0 Apr 5 20:58:41 homebridge systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket. Apr 5 20:58:41 homebridge kernel: [ 4.504954] libphy: smsc95xx-mdiobus: probed Apr 5 20:58:41 homebridge kernel: [ 4.509373] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:63:13:6c Apr 5 20:58:41 homebridge kernel: [ 4.586162] NET: Registered protocol family 10 Apr 5 20:58:41 homebridge systemd[1]: Listening on D-Bus System Message Bus Socket. Apr 5 20:58:41 homebridge kernel: [ 4.591352] Segment Routing with IPv6 Apr 5 20:58:41 homebridge systemd[1]: Listening on triggerhappy.socket. Apr 5 20:58:41 homebridge systemd[1]: Reached target Sockets. Apr 5 20:58:41 homebridge systemd[1]: Reached target Basic System. Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Manage Sound Card State (restore and store) being skipped. Apr 5 20:58:41 homebridge systemd[1]: Starting Save/Restore Sound Card State... Apr 5 20:58:41 homebridge systemd[1]: Starting Avahi mDNS/DNS-SD Stack... Apr 5 20:58:41 homebridge systemd[1]: Started Regular background program processing daemon. Apr 5 20:58:41 homebridge systemd[1]: Started D-Bus System Message Bus. Apr 5 20:58:41 homebridge cron[381]: (CRON) INFO (pidfile fd = 3) Apr 5 20:58:41 homebridge systemd[1]: Starting Network Manager... Apr 5 20:58:41 homebridge cron[381]: (CRON) INFO (Running @reboot jobs) Apr 5 20:58:41 homebridge systemd[1]: Starting dphys-swapfile - set up, mount/unmount, and delete a swap file... Apr 5 20:58:41 homebridge systemd[1]: Starting Remove Stale Online ext4 Metadata Check Snapshots... Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in getty on tty2-tty6 if dbus and logind are not available being skipped. Apr 5 20:58:41 homebridge systemd[1]: Starting Configure Bluetooth Modems connected by UART... Apr 5 20:58:41 homebridge systemd[1]: Starting nginx-homebridge-self-signed-cert service... Apr 5 20:58:41 homebridge systemd[1]: Starting Daemon required to control GPIO pins via pigpio... Apr 5 20:58:41 homebridge systemd[1]: Starting Authorization Manager... Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Copy user wpa_supplicant.conf being skipped. Apr 5 20:58:41 homebridge kernel: [ 5.948693] random: systemd: uninitialized urandom read (16 bytes read) Apr 5 20:58:41 homebridge kernel: [ 5.963464] random: systemd: uninitialized urandom read (16 bytes read) Apr 5 20:58:41 homebridge systemd[1]: Starting LSB: Switch to ondemand cpu governor (unless shift key is pressed)... Apr 5 20:58:41 homebridge kernel: [ 5.976736] random: systemd: uninitialized urandom read (16 bytes read) Apr 5 20:58:41 homebridge kernel: [ 6.345497] fuse: init (API version 7.32) Apr 5 20:58:41 homebridge systemd[1]: Starting LSB: rng-tools (Debian variant)... Apr 5 20:58:41 homebridge kernel: [ 6.996469] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) Apr 5 20:58:41 homebridge kernel: [ 8.453406] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. Apr 5 20:58:41 homebridge kernel: [ 8.456396] bcm2835_vc_sm_cma_probe: Videocore shared memory driver Apr 5 20:58:41 homebridge systemd[1]: Starting Check for Raspberry Pi EEPROM updates... Apr 5 20:58:41 homebridge kernel: [ 8.456429] [vc_sm_connected_init]: start Apr 5 20:58:41 homebridge kernel: [ 8.457353] [vc_sm_connected_init]: installed successfully Apr 5 20:58:41 homebridge kernel: [ 8.481854] mc: Linux media interface: v0.10 Apr 5 20:58:41 homebridge systemd[1]: Starting System Logging Service... Apr 5 20:58:41 homebridge kernel: [ 8.522757] videodev: Linux video capture interface: v2.00 Apr 5 20:58:41 homebridge kernel: [ 8.559406] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you h ave been warned. Apr 5 20:58:41 homebridge kernel: [ 8.559413] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you h ave been warned. Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in Turn on SSH if /boot/ssh is present being skipped. Apr 5 20:58:41 homebridge kernel: [ 8.581465] bcm2835_isp: module is from the staging directory, the quality is unknown, you have bee n warned. Apr 5 20:58:41 homebridge kernel: [ 8.585231] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have be en warned. Apr 5 20:58:41 homebridge kernel: [ 8.600125] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 Apr 5 20:58:41 homebridge kernel: [ 8.600895] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 Apr 5 20:58:41 homebridge systemd[1]: Starting User Login Management... Apr 5 20:58:41 homebridge kernel: [ 8.601404] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 Apr 5 20:58:41 homebridge kernel: [ 8.601797] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 Apr 5 20:58:41 homebridge systemd[1]: Starting triggerhappy global hotkey daemon... Apr 5 20:58:41 homebridge kernel: [ 8.601838] bcm2835-isp bcm2835-isp: Register output node 0 with media controller Apr 5 20:58:41 homebridge kernel: [ 8.601864] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller Apr 5 20:58:41 homebridge kernel: [ 8.601907] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller Apr 5 20:58:41 homebridge systemd[1]: Starting WPA supplicant... Apr 5 20:58:41 homebridge kernel: [ 8.601928] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller Apr 5 20:58:41 homebridge kernel: [ 8.602204] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp Apr 5 20:58:41 homebridge kernel: [ 8.608218] bcm2835_codec: module is from the staging directory, the quality is unknown, you have b een warned. Apr 5 20:58:41 homebridge systemd[1]: Finished Save/Restore Sound Card State. Apr 5 20:58:41 homebridge kernel: [ 8.628276] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 Apr 5 20:58:41 homebridge kernel: [ 8.628336] bcm2835-codec bcm2835-codec: Loaded V4L2 decode Apr 5 20:58:41 homebridge kernel: [ 8.651817] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 Apr 5 20:58:41 homebridge systemd[1]: Reached target Sound Card. Apr 5 20:58:41 homebridge kernel: [ 8.652006] bcm2835-codec bcm2835-codec: Loaded V4L2 encode Apr 5 20:58:41 homebridge kernel: [ 8.666725] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 Apr 5 20:58:41 homebridge kernel: [ 8.666785] bcm2835-codec bcm2835-codec: Loaded V4L2 isp Apr 5 20:58:41 homebridge systemd[1]: Started Daemon required to control GPIO pins via pigpio. Apr 5 20:58:41 homebridge kernel: [ 8.685091] bcm2835-codec bcm2835-codec: Device registered as /dev/video18 Apr 5 20:58:41 homebridge kernel: [ 8.685167] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx Apr 5 20:58:41 homebridge avahi-daemon[380]: Found user 'avahi' (UID 108) and group 'avahi' (GID 113). Apr 5 20:58:41 homebridge kernel: [ 8.687081] snd_bcm2835: module is from the staging directory, the quality is unknown, you have bee n warned. Apr 5 20:58:41 homebridge kernel: [ 8.692296] bcm2835_audio bcm2835_audio: card created with 8 channels Apr 5 20:58:41 homebridge kernel: [ 9.144807] cfg80211: Loading compiled-in X.509 certificates for regulatory database Apr 5 20:58:41 homebridge kernel: [ 9.286176] checking generic (3eaa9000 151800) vs hw (0 ffffffff) Apr 5 20:58:41 homebridge avahi-daemon[380]: Successfully dropped root privileges. Apr 5 20:58:41 homebridge kernel: [ 9.286204] fb0: switching to vc4drmfb from simple Apr 5 20:58:41 homebridge kernel: [ 9.286886] Console: switching to colour dummy device 80x30 Apr 5 20:58:41 homebridge kernel: [ 9.296621] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) Apr 5 20:58:41 homebridge avahi-daemon[380]: avahi-daemon 0.8 starting up. Apr 5 20:58:41 homebridge thd[401]: Found socket passed from systemd Apr 5 20:58:41 homebridge systemd[1]: Started triggerhappy global hotkey daemon. Apr 5 20:58:41 homebridge rpi-eeprom-update[397]: This tool only works with a Raspberry Pi 4 Apr 5 20:58:41 homebridge systemd[1]: Finished Check for Raspberry Pi EEPROM updates. Apr 5 20:58:41 homebridge systemd-udevd[158]: event0: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed wit h exit code 1. Apr 5 20:58:41 homebridge kernel: [ 9.297696] Registered IR keymap rc-cec Apr 5 20:58:41 homebridge kernel: [ 9.298058] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0 Apr 5 20:58:41 homebridge kernel: [ 9.298378] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0 Apr 5 20:58:41 homebridge kernel: [ 9.299397] vc4_hdmi 3f902000.hdmi: Could not register sound card: -517 Apr 5 20:58:41 homebridge kernel: [ 9.322825] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' Apr 5 20:58:41 homebridge kernel: [ 9.452478] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid Apr 5 20:58:41 homebridge systemd[1]: nginx-homebridge-self-signed-cert.service: Succeeded. Apr 5 20:58:41 homebridge kernel: [ 9.645760] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 9.655229] brcmfmac: F1 signature read @0x18000000=0x1541a9a6 Apr 5 20:58:41 homebridge kernel: [ 9.655521] Registered IR keymap rc-cec Apr 5 20:58:41 homebridge systemd[1]: Finished nginx-homebridge-self-signed-cert service. Apr 5 20:58:41 homebridge kernel: [ 9.655776] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0 Apr 5 20:58:41 homebridge kernel: [ 9.656062] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input1 Apr 5 20:58:41 homebridge rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.2102.0] Apr 5 20:58:41 homebridge kernel: [ 9.657119] vc4_hdmi 3f902000.hdmi: Could not register sound card: -517 Apr 5 20:58:41 homebridge kernel: [ 9.663231] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 Apr 5 20:58:41 homebridge kernel: [ 9.664043] usbcore: registered new interface driver brcmfmac Apr 5 20:58:41 homebridge kernel: [ 9.781367] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) Apr 5 20:58:41 homebridge rsyslogd: [origin software="rsyslogd" swVersion="8.2102.0" x-pid="399" x-info="https://www.rsyslog.com"] start Apr 5 20:58:41 homebridge kernel: [ 9.782662] Registered IR keymap rc-cec Apr 5 20:58:41 homebridge kernel: [ 9.783330] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0 Apr 5 20:58:41 homebridge kernel: [ 9.784127] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input2 Apr 5 20:58:41 homebridge kernel: [ 9.795700] vc4_hdmi 3f902000.hdmi: Could not register sound card: -517 Apr 5 20:58:41 homebridge kernel: [ 9.835345] random: crng init done Apr 5 20:58:41 homebridge kernel: [ 9.835366] random: 7 urandom warning(s) missed due to ratelimiting Apr 5 20:58:41 homebridge kernel: [ 9.911280] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 Apr 5 20:58:41 homebridge kernel: [ 9.911440] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 Apr 5 20:58:41 homebridge kernel: [ 9.911534] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have lim ited channels available Apr 5 20:58:41 homebridge kernel: [ 9.912415] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 22 2019 01:59:28 version 7.45.98.94 (r723000 CY) FWID 01-3b33decd Apr 5 20:58:41 homebridge kernel: [ 10.511847] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.520959] Registered IR keymap rc-cec Apr 5 20:58:41 homebridge kernel: [ 10.521259] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0 Apr 5 20:58:41 homebridge kernel: [ 10.521537] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input3 Apr 5 20:58:41 homebridge kernel: [ 10.538536] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.538896] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.539256] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.539554] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.540005] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.540343] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.540633] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4]) Apr 5 20:58:41 homebridge kernel: [ 10.550995] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0 Apr 5 20:58:41 homebridge kernel: [ 10.593983] Console: switching to colour frame buffer device 90x30 Apr 5 20:58:41 homebridge kernel: [ 10.614777] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device Apr 5 20:58:41 homebridge kernel: [ 10.954857] Under-voltage detected! (0x00050005) Apr 5 20:58:41 homebridge kernel: [ 11.910810] uart-pl011 3f201000.serial: no DMA platform data Apr 5 20:58:41 homebridge systemd[1]: Started System Logging Service. Apr 5 20:58:41 homebridge systemd[1]: e2scrub_reap.service: Succeeded. Apr 5 20:58:41 homebridge systemd[1]: Finished Remove Stale Online ext4 Metadata Check Snapshots. Apr 5 20:58:41 homebridge dphys-swapfile[385]: want /var/swap=100MByte, checking existing: keeping it Apr 5 20:58:41 homebridge rngd[479]: rngd 2.2 starting up... Apr 5 20:58:41 homebridge kernel: [ 12.234764] Adding 102396k swap on /var/swap. Priority:-2 extents:4 across:241660k SSFS Apr 5 20:58:41 homebridge systemd[1]: Started LSB: rng-tools (Debian variant). Apr 5 20:58:41 homebridge systemd[1]: Finished dphys-swapfile - set up, mount/unmount, and delete a swap file. Apr 5 20:58:41 homebridge rngd[479]: entropy feed to the kernel ready Apr 5 20:58:41 homebridge systemd[1]: Started User Login Management. Apr 5 20:58:41 homebridge dbus-daemon[382]: [system] Successfully activated service 'org.freedesktop.systemd1' Apr 5 20:58:41 homebridge systemd[1]: Started Avahi mDNS/DNS-SD Stack. Apr 5 20:58:41 homebridge avahi-daemon[380]: Successfully called chroot(). Apr 5 20:58:41 homebridge avahi-daemon[380]: Successfully dropped remaining capabilities. Apr 5 20:58:41 homebridge wpa_supplicant[402]: Successfully initialized wpa_supplicant Apr 5 20:58:41 homebridge avahi-daemon[380]: No service file found in /etc/avahi/services. Apr 5 20:58:41 homebridge avahi-daemon[380]: Joining mDNS multicast group on interface lo.IPv6 with address ::1. Apr 5 20:58:41 homebridge avahi-daemon[380]: New relevant interface lo.IPv6 for mDNS. Apr 5 20:58:41 homebridge avahi-daemon[380]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1. Apr 5 20:58:41 homebridge avahi-daemon[380]: New relevant interface lo.IPv4 for mDNS. Apr 5 20:58:41 homebridge avahi-daemon[380]: Network interface enumeration completed. Apr 5 20:58:41 homebridge avahi-daemon[380]: Registering new address record for ::1 on lo.*. Apr 5 20:58:41 homebridge systemd[1]: Started WPA supplicant. Apr 5 20:58:41 homebridge avahi-daemon[380]: Registering new address record for 127.0.0.1 on lo.IPv4. Apr 5 20:58:41 homebridge polkitd[390]: started daemon version 0.105 using authority implementation local' version0.105' Apr 5 20:58:41 homebridge systemd[1]: Started Authorization Manager. Apr 5 20:58:41 homebridge systemd[1]: Starting Modem Manager... Apr 5 20:58:41 homebridge NetworkManager[384]: [1649203121.9195] NetworkManager (version 1.30.0) is starting... (for the first t ime) Apr 5 20:58:41 homebridge NetworkManager[384]: [1649203121.9201] Read config: /etc/NetworkManager/NetworkManager.conf (lib: no-m ac-addr-change.conf) (etc: wifi-powersave-off.conf) Apr 5 20:58:41 homebridge systemd[1]: Started Network Manager. Apr 5 20:58:41 homebridge NetworkManager[384]: [1649203121.9457] bus-manager: acquired D-Bus service "org.freedesktop.NetworkMan ager" Apr 5 20:58:41 homebridge systemd[1]: Reached target Network. Apr 5 20:58:41 homebridge systemd[1]: Starting Network Manager Wait Online... Apr 5 20:58:41 homebridge systemd[1]: Condition check resulted in fast remote file copy program daemon being skipped. Apr 5 20:58:42 homebridge systemd[1]: Starting OpenBSD Secure Shell server... Apr 5 20:58:42 homebridge systemd[1]: Starting Permit User Sessions... Apr 5 20:58:42 homebridge ModemManager[484]: ModemManager (version 1.14.12) starting in system bus... Apr 5 20:58:42 homebridge systemd[1]: Started Unattended Upgrades Shutdown. Apr 5 20:58:42 homebridge systemd[1]: Starting WiFi Captive Portal... Apr 5 20:58:42 homebridge NetworkManager[384]: [1649203122.0722] manager[0xafc018]: monitoring kernel firmware directory '/lib/f irmware'. Apr 5 20:58:42 homebridge NetworkManager[384]: [1649203122.0727] monitoring ifupdown state file '/run/network/ifstate'. Apr 5 20:58:42 homebridge dbus-daemon[382]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.fre edesktop.hostname1.service' requested by ':1.6' (uid=0 pid=384 comm="/usr/sbin/NetworkManager --no-daemon ") Apr 5 20:58:42 homebridge wifi-connect-startup[495]: Waiting for network... Apr 5 20:58:42 homebridge systemd[1]: Finished Permit User Sessions. Apr 5 20:58:42 homebridge systemd[1]: Starting Hostname Service... Apr 5 20:58:42 homebridge systemd[1]: Started Modem Manager. Apr 5 20:58:42 homebridge avahi-daemon[380]: Server startup complete. Host name is homebridge.local. Local service cookie is 590457008. Apr 5 20:58:42 homebridge raspi-config[392]: Checking if shift key is held down: No. Switching to ondemand scaling governor. --More--

Terminal disconnected. Is the server running?

NorthernMan54 commented 2 years ago

Running the tail command this way is a bit wacky and -f and -n 500 are doing conflicting things -f says to display new data as it is added to the file, and -n 500 says show the last 500 lines.....

At the end of the log it had this line Apr 5 20:58:42 homebridge systemd[1]: Started Unattended Upgrades Shutdown.. is your RPI trying to do OS upgrades and it keeps rebooting for some reason?

Have your tried connecting a monitor / keyboard to see if any messages appear there?

I'm wondering if you have a power or hardware issue

adrianopery commented 2 years ago

I didn't start any upgrade or try to install the keyboard or monitor. But I can try to change the power supply and see if runs better. I really appreciate your help. Thanks a lot! I need to go leave now and can only continue tomorrow. I'll try to do it and back to you to say how is it going.

adrianopery commented 2 years ago

Northern Man good morning. you were right about the possible error with the power supply. I changed the source and since last night, there has been no unexpected restart. Thanks a lot for your support. You rock!