hbblebc / homebridge-bed-control

Homebridge plugin to control compatible smart beds
Apache License 2.0
7 stars 1 forks source link

Cannot find bedId in logs #12

Closed isaiahfranco closed 1 week ago

isaiahfranco commented 1 week ago

Describe Your Problem: I'm trying to find the bedId in the logs, but nothing shows up when starting the plugin.

Logs: [6/25/2024, 9:59:25 AM] [homebridge-bed-control] No data returned from the API. This is likely due to an issue with the API and should resolve itself soon. [6/25/2024, 10:00:06 AM] [homebridge-bed-control] Restarting child bridge... [6/25/2024, 10:00:06 AM] Got SIGTERM, shutting down child bridge process... [6/25/2024, 10:00:11 AM] [homebridge-bed-control] Child bridge process ended [6/25/2024, 10:00:11 AM] [homebridge-bed-control] Process Ended. Code: 143, Signal: null [6/25/2024, 10:00:18 AM] [homebridge-bed-control] Restarting Process... [6/25/2024, 10:00:19 AM] [homebridge-bed-control] Launched child bridge with PID 1369201 [6/25/2024, 10:00:19 AM] Registering platform 'homebridge-bed-control.BedControl' [6/25/2024, 10:00:19 AM] [homebridge-bed-control] Loaded homebridge-bed-control v1.3.8 child bridge successfully [6/25/2024, 10:00:19 AM] Loaded 1 cached accessories from cachedAccessories.0E03A8E98DCE. [6/25/2024, 10:00:19 AM] [homebridge-bed-control] Loading accessory from cache: Slumber Shelf [6/25/2024, 10:00:19 AM] Homebridge v1.8.3 (HAP v0.12.2) (homebridge-bed-control) is running on port 49404. [6/25/2024, 10:00:21 AM] [homebridge-bed-control] Restoring existing bed from cache: Slumber Shelf [6/25/2024, 10:07:19 AM] [homebridge-bed-control] No data returned from the API. This is likely due to an issue with the API and should resolve itself soon.

Plugin Config:

{
    "bedPlatform": "sleep number",
    "email": "EMAIL",
    "password": "PASSWORD",
    "updateInterval": 60,
    "delay": 2,
    "ignore": [
        "<bedId>.leftSide.occupancySensor",
        "<bedId>.rightSide.occupancySensor",
        "<bedId>.anySide.occupancySensor"
    ],
    "_bridge": {
        "username": "0E:03:A8:E9:8D:CE",
        "port": 49404
    },
    "platform": "BedControl"
}

Environment:

hbblebc commented 1 week ago

Try turning on debug mode, you should see it in that output. I will add a standard log output with the ID soon, but for now debug mode should work.

On Tue, Jun 25, 2024, at 10:16 AM, Isaiah wrote:

Describe Your Problem: I'm trying to find the bedId in the logs, but nothing shows up when starting the plugin.

Logs: [6/25/2024, 9:59:25 AM] [homebridge-bed-control] No data returned from the API. This is likely due to an issue with the API and should resolve itself soon. [6/25/2024, 10:00:06 AM] [homebridge-bed-control] Restarting child bridge... [6/25/2024, 10:00:06 AM] Got SIGTERM, shutting down child bridge process... [6/25/2024, 10:00:11 AM] [homebridge-bed-control] Child bridge process ended [6/25/2024, 10:00:11 AM] [homebridge-bed-control] Process Ended. Code: 143, Signal: null [6/25/2024, 10:00:18 AM] [homebridge-bed-control] Restarting Process... [6/25/2024, 10:00:19 AM] [homebridge-bed-control] Launched child bridge with PID 1369201 [6/25/2024, 10:00:19 AM] Registering platform 'homebridge-bed-control.BedControl' [6/25/2024, 10:00:19 AM] [homebridge-bed-control] Loaded homebridge-bed-control v1.3.8 child bridge successfully [6/25/2024, 10:00:19 AM] Loaded 1 cached accessories from cachedAccessories.0E03A8E98DCE. [6/25/2024, 10:00:19 AM] [homebridge-bed-control] Loading accessory from cache: Slumber Shelf [6/25/2024, 10:00:19 AM] Homebridge v1.8.3 (HAP v0.12.2) (homebridge-bed-control) is running on port 49404. [6/25/2024, 10:00:21 AM] [homebridge-bed-control] Restoring existing bed from cache: Slumber Shelf [6/25/2024, 10:07:19 AM] [homebridge-bed-control] No data returned from the API. This is likely due to an issue with the API and should resolve itself soon.

Plugin Config:

{ "bedPlatform": "sleep number", "email": "EMAIL", "password": "PASSWORD", "updateInterval": 60, "delay": 2, "ignore": [ "<bedId>.leftSide.occupancySensor", "<bedId>.rightSide.occupancySensor", "<bedId>.anySide.occupancySensor" ], "_bridge": { "username": "0E:03:A8:E9:8D:CE", "port": 49404 }, "platform": "BedControl" } Environment:

Plugin Version: v1.3.8 • Homebridge Version: v1.8.3 • Node.js Version: v20.15.0 • Operating System: Debian

— Reply to this email directly, view it on GitHub https://github.com/hbblebc/homebridge-bed-control/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCRDOLESGMOXRNWWFCGSI3ZJGQVVAVCNFSM6AAAAABJ4IX7QGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TGMRRHA2TMNY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

isaiahfranco commented 1 week ago

Got it. Thanks a bunch!