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.

Node.js v18 - Accessories tab Empty

See original GitHub issue

Current Situation

The accesoires tab is empty, while I can control them in HomeKit, the Google Smart Home plugin is not working anymore.

Logs

[5/10/2022, 1:39:20 PM] [Homebridge UI] Homebridge restart request received
[5/10/2022, 1:39:20 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[5/10/2022, 1:39:20 PM] [Homebridge UI] Sending SIGTERM to Homebridge
[5/10/2022, 1:39:20 PM] Got SIGTERM, shutting down Homebridge...
[5/10/2022, 1:39:20 PM] Got SIGTERM, shutting down child bridge process...
[5/10/2022, 1:39:20 PM] Got SIGTERM, shutting down child bridge process...
[5/10/2022, 1:39:20 PM] Got SIGTERM, shutting down child bridge process...
[5/10/2022, 1:39:20 PM] Got SIGTERM, shutting down child bridge process...
[5/10/2022, 1:39:25 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[5/10/2022, 1:39:30 PM] [HB Supervisor] Restarting Homebridge...
[5/10/2022, 1:39:30 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[5/10/2022, 1:39:30 PM] [HB Supervisor] Started Homebridge v1.5.0-beta.1 with PID: 36433
[5/10/2022, 1:39:30 PM] Loaded config.json with 0 accessories and 6 platforms.
[5/10/2022, 1:39:30 PM] Loaded 0 cached accessories from cachedAccessories.
[5/10/2022, 1:39:30 PM] ---
[5/10/2022, 1:39:31 PM] Disabled plugin: homebridge-browsercam@1.2.3
[5/10/2022, 1:39:31 PM] ---
[5/10/2022, 1:39:31 PM] Loaded plugin: homebridge-config-ui-x@4.43.3
[5/10/2022, 1:39:31 PM] Registering platform 'homebridge-config-ui-x.config'
[5/10/2022, 1:39:31 PM] ---
[5/10/2022, 1:39:31 PM] Loaded plugin: homebridge-gsh@2.2.0
[5/10/2022, 1:39:31 PM] Registering platform 'homebridge-gsh.google-smarthome'
[5/10/2022, 1:39:31 PM] ---
[5/10/2022, 1:39:31 PM] Loaded plugin: homebridge-ps4-waker-platform@1.3.0
[5/10/2022, 1:39:31 PM] Registering platform 'homebridge-ps4-waker-platform.PS4WakerPlatform'
[5/10/2022, 1:39:31 PM] ---
[5/10/2022, 1:39:31 PM] Loaded plugin: homebridge-tuya-platform@1.5.0
[5/10/2022, 1:39:31 PM] Registering platform 'homebridge-tuya-platform.TuyaPlatform'
[5/10/2022, 1:39:31 PM] ---
[5/10/2022, 1:39:31 PM] Loaded plugin: homebridge-webos-tv@2.2.7
[5/10/2022, 1:39:31 PM] Registering platform 'homebridge-webos-tv.webostv'
[5/10/2022, 1:39:31 PM] ---
[5/10/2022, 1:39:31 PM] Loading 6 platforms...
[5/10/2022, 1:39:31 PM] [Config] Initializing config platform...
[5/10/2022, 1:39:31 PM] [Config] Running in Service Mode
[5/10/2022, 1:39:31 PM] [webostv] Initializing webostv platform...
[5/10/2022, 1:39:31 PM] [webostv] Initializing child bridge 0E:C0:6C:8E:2D:D1
[5/10/2022, 1:39:31 PM] [Wake PS4] Initializing PS4WakerPlatform platform...
[5/10/2022, 1:39:31 PM] [Wake PS4] Initializing child bridge 0E:13:59:B2:91:D2
[5/10/2022, 1:39:31 PM] [TuyaPlatform] Initializing TuyaPlatform platform...
[5/10/2022, 1:39:31 PM] [TuyaPlatform] Initializing child bridge 0E:C4:63:7B:C0:34
[5/10/2022, 1:39:31 PM] [Google Smart Home] Initializing google-smarthome platform...
[5/10/2022, 1:39:31 PM] [Google Smart Home] Initializing child bridge 0E:2A:34:26:E6:12
[5/10/2022, 1:39:31 PM] Ignoring config for the platform "HomebridgeBrowserCam" in your config.json as the plugin "homebridge-browsercam" has been disabled.
[5/10/2022, 1:39:31 PM] Publishing bridge accessory (name: Homebridge C52A, publishInfo: {
  username: '0E:A3:6A:E3:D8:2C',
  port: 51499,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
Setup Payload:
X-HM://00240SRCSCI74
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 333-68-444 │     
    └────────────┘     
                       
[5/10/2022, 1:39:31 PM] Homebridge v1.5.0-beta.1 (HAP v0.10.2) (Homebridge C52A) is running on port 51499.
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] Launched child bridge with PID 36451
[5/10/2022, 1:39:32 PM] [Wake PS4] Launched child bridge with PID 36452
[5/10/2022, 1:39:32 PM] [TuyaPlatform] Launched child bridge with PID 36453
[5/10/2022, 1:39:32 PM] [Google Smart Home] Launched child bridge with PID 36454
[5/10/2022, 1:39:32 PM] Registering platform 'homebridge-webos-tv.webostv'
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] Loaded homebridge-webos-tv v2.2.7 child bridge successfully
[5/10/2022, 1:39:32 PM] Loaded 0 cached accessories from cachedAccessories.0EC06C8E2DD1.
[5/10/2022, 1:39:32 PM] Publishing bridge accessory (name: homebridge-webos-tv, publishInfo: {
  username: '0E:C0:6C:8E:2D:D1',
  port: 57460,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[5/10/2022, 1:39:32 PM] Registering platform 'homebridge-ps4-waker-platform.PS4WakerPlatform'
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] Init - initializing devices
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Init - got TV configuration, initializing device with name: LG TV
[5/10/2022, 1:39:32 PM] [Wake PS4] Loaded homebridge-ps4-waker-platform v1.3.0 child bridge successfully
[5/10/2022, 1:39:32 PM] Loaded 1 cached accessories from cachedAccessories.0E1359B291D2.
[5/10/2022, 1:39:32 PM] Registering platform 'homebridge-gsh.google-smarthome'
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Adding 16 new input sources!
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.palmdts.devmode, name: Developer Mode
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.hdmi1, name: HDMI1
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.hdmi2, name: HDMI2
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.discovery, name: LG Content Store
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.livetv, name: LiveTV
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: netflix, name: Netflix
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.notificationcenter, name: Notifications
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.scheduler, name: Scheduler
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.smartshare, name: SmartShare
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.tvguide, name: TV Guide
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.tvuserguide, name: User Guide
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: viaplay-lg, name: Viaplay
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.browser, name: Web Browser
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.externalinput.scart, name: AV1
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.externalinput.av2, name: AV2
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Created new input source: appId: com.webos.app.externalinput.component, name: Component
[5/10/2022, 1:39:32 PM] Publishing bridge accessory (name: Wake PS4, publishInfo: {
  username: '0E:13:59:B2:91:D2',
  port: 48504,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[5/10/2022, 1:39:32 PM] [Google Smart Home] Loaded homebridge-gsh v2.2.0 child bridge successfully
[5/10/2022, 1:39:32 PM] Homebridge v1.5.0-beta.1 (HAP v0.10.2) (homebridge-webos-tv) is running on port 57460.
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Connecting to TV
[5/10/2022, 1:39:32 PM] Publishing external accessory (name: LG TV, publishInfo: {
  username: '9F:BE:1B:68:E4:E7',
  pincode: '***-**-***',
  category: 31,
  port: undefined,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[5/10/2022, 1:39:32 PM] Loaded 0 cached accessories from cachedAccessories.0E2A3426E612.
[5/10/2022, 1:39:32 PM] Publishing bridge accessory (name: Google Smart Home, publishInfo: {
  username: '0E:2A:34:26:E6:12',
  port: 57986,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[5/10/2022, 1:39:32 PM] LG TV 61E8 is running on port 61798.
[5/10/2022, 1:39:32 PM] Please add [LG TV 61E8] manually in Home app. Setup Code: 333-68-444
[5/10/2022, 1:39:32 PM] Homebridge v1.5.0-beta.1 (HAP v0.10.2) (Wake PS4) is running on port 48504.
[5/10/2022, 1:39:32 PM] Registering platform 'homebridge-tuya-platform.TuyaPlatform'
[5/10/2022, 1:39:32 PM] [TuyaPlatform] Loaded homebridge-tuya-platform v1.5.0 child bridge successfully
[5/10/2022, 1:39:32 PM] Loaded 9 cached accessories from cachedAccessories.0EC4637BC034.
[5/10/2022, 1:39:32 PM] Publishing bridge accessory (name: TuyaPlatform, publishInfo: {
  username: '0E:C4:63:7B:C0:34',
  port: 57655,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Connected to TV
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Requesting TV information
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] system service - getSystemInfo requested. 
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] com.webos.service.update service - getCurrentSWInformation requested. 
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] api service - getServiceList requested. 
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] com.webos.applicationManager service - listLaunchPoints requested. 
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] tv service - getExternalInputList requested. 
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] com.webos.applicationManager service - listApps requested. 
[5/10/2022, 1:39:32 PM] Homebridge v1.5.0-beta.1 (HAP v0.10.2) (TuyaPlatform) is running on port 57655.
(node:36453) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
[5/10/2022, 1:39:32 PM] [homebridge-webos-tv] [LG TV] Retrieved system info
[5/10/2022, 1:39:33 PM] Homebridge v1.5.0-beta.1 (HAP v0.10.2) (Google Smart Home) is running on port 57986.
[5/10/2022, 1:39:33 PM] [Google Smart Home] Waiting 15 seconds before starting instance discovery...
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Retrieved service list
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Retrieved launch points (inputs, apps)
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Retrieved external input list
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Retrieved all apps
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Retrieved SW info
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Got TV information
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] TV webOS version: 2.0
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to TV services
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to getPowerState from power service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to getStatus from audio service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to getForegroundAppInfo from com.webos.applicationManager service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to getCurrentChannel from tv service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to getSoundOutput from audio service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to listLaunchPoints from com.webos.applicationManager service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribing to getSystemSettings from settings service.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Failed to subscribe to the Power State service. The configured TV most probably does not support that service. Falling back to tcp ping!
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] TV turned on!
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Unknown error while subscribing to getSoundOutput from service audio
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Unknown error while subscribing to getSystemSettings from service settings
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] App launched, current appId: com.webos.app.hdmi1
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Audio status changed. Current volume: 0, Muted: No
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Failed to subscribe to the channel service. It seems Live TV is not running, will retry after switching to Live TV.
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Got new launch points list from tv!
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Subscribed to TV services
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Connecting to remote input socket
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Connected to remote pointer input socket
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] Setup finished
[5/10/2022, 1:39:33 PM] [homebridge-webos-tv] [LG TV] TV setup finished, ready to control tv
[5/10/2022, 1:39:37 PM] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
[5/10/2022, 1:39:58 PM] [Google Smart Home] Finished instance discovery
[5/10/2022, 1:40:13 PM] [Google Smart Home] Sending Sync Request
[5/10/2022, 1:40:13 PM] [Google Smart Home] Please connect with the Google Home app: https://git.io/JfuHC

Configuration

{
    "bridge": {
        "name": "Homebridge C52A",
        "username": ".....",
        "port": 51499,
        "pin": "333-68-444",
        "advertiser": "ciao"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "en",
            "loginWallpaper": "wallpaper.jpg",
            "platform": "config"
        },
        {
            "devices": [
                {
                    "name": "LG TV",
                    "ip": "192.168.1.220",
                    "mac": "3C:CD:93:DA:85:ED",
                    "keyFile": ".webosTv/keyFile_xxx",
                    "prefsDir": ".webosTv",
                    "pollingInterval": 5,
                    "deepDebugLog": false,
                    "volumeLimit": 100,
                    "volumeControl": "none",
                    "channelControl": false,
                    "brightnessControl": false,
                    "ccRemoteRemap": {
                        "information": "HOME"
                    }
                }
            ],
            "_bridge": {
                "username": "0E:C0:6C:8E:2D:D1",
                "port": 57460
            },
            "platform": "webostv"
        },
        {
            "platform": "PS4WakerPlatform",
            "name": "Wake PS4",
            "accessories": [
                {
                    "name": "PlayStation 4",
                    "serial": ".....",
                    "model": "CUH-1116A",
                    "credentials": ".ps4-wake.credentials.json",
                    "verbose": false,
                    "timeout": 65000
                }
            ],
            "_bridge": {
                "username": "0E:13:59:B2:91:D2",
                "port": 48504
            }
        },
        {
            "options": {
                "username": ".....",
                "password": ".....",
                "accessId": ".....",
                "accessKey": ".....",
                "lang": "NL",
                "projectType": "2",
                "appSchema": "tuyaSmart",
                "countryCode": 31,
                "debug": false
            },
            "name": "TuyaPlatform",
            "_bridge": {
                "username": "0E:C4:63:7B:C0:34",
                "port": 57655
            },
            "platform": "TuyaPlatform"
        },
        {
            "name": "Google Smart Home",
            "token": ".....",
            "notice": "Keep your token a secret!",
            "instanceBlacklist": [
                "0E:C4:63:7B:C0:34",
                "0E:BB:A2:F4:1F:2A"
            ],
            "_bridge": {
                "username": "0E:2A:34:26:E6:12",
                "port": 57986
            },
            "platform": "google-smarthome"
        },
        {
            "port": 443,
            "h264": "libx264",
            "streaming": {
                "buffer": 500
            },
            "recording": {
                "active": true,
                "buffer": 4000
            },
            "motion_detector": {
                "active": true,
                "timeout": 30000,
                "threshold": 5,
                "fps": 10
            },
            "noise_detector": {
                "active": true,
                "record": true,
                "threshold": 5,
                "timeout": 30000
            },
            "pulse_detector": {
                "active": true,
                "record": true,
                "threshold": 0.05,
                "timeout": 30000
            },
            "_bridge": {
                "username": "0E:BB:A2:F4:1F:2A",
                "port": 31677
            },
            "platform": "HomebridgeBrowserCam"
        }
    ],
    "disabledPlugins": [
        "homebridge-network-presence",
        "homebridge-browsercam"
    ]
}

Environment

  • OS: macOS Catalina 10.15.7
  • Software: 1.5.0
  • Node: 18.0.0
  • npm: 8.9.0

Process Supervisor

hb-service

Additional Context

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rez1dent3commented, May 21, 2022

Similar issue on nodejs 18.x and archlinux. I rolled back nodejs to 16.x and everything started up. Thank you.

1reaction
NorthernMan54commented, May 12, 2022

It would be the same issue, as the accessories tab is from that package.

As full node version 18 is planned until the LTS date in the fall, I would recommend dropping back to 16 until then

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js v19.3.0 Documentation
Now, create an empty project folder called projects , then navigate into it. Linux and Mac: $ mkdir ~/projects $ cd ~/projects. Windows...
Read more >
Index Tabs & Inserts in Binders & Accessories - Clear(36)
Shop for Index Tabs & Inserts | Clear in Binders & Accessories at Walmart and save. ... Avery Hanging File Folder Tabs, Clear,...
Read more >
Smead 50134 Manila Blank File Guide with 1/3 Tab, Letter
Easily organizes letter-sized files and documents; Blank tab allows you to personally label each file by its contents; Assorted tab positions for visibility ......
Read more >
DiverseBee Laminated Bible Tabs (Large Print, Easy to ...
... Easy to Apply), Bible Study Journaling Supplies, 84 Bible Index Book Tabs for Women, Bible Accessories, Includes 18 Blank Tabs - Sage...
Read more >
Tools & Accessories - Cricut.com
Tools & Accessories. 24 of 228 Results. Featured · Machine Tools · Handheld Tools · Accessories ... Men's T -Shirt Blank, Crew Neck....
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