Support Request: Cannot read properties of null (reading 'json')

Describe Your Problem
I am constantly getting an error message from the Bot device. How can I fix this?
Relevant log output
[9/13/2024, 12:18:57 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"

Config for homebridge-switchbot
{
    "name": "SwitchBot",
    "credentials": {
        "token": "removed",
        "secret": "removed",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "deviceId": "E55460B62D51",
                "configDeviceName": "SB Hub 2",
                "configDeviceType": "Hub 2",
                "connectionType": "OpenAPI",
                "hub": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "history": true,
                "firmware": "1.4-2.3",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "D2353334687D",
                "configDeviceName": "2 AC Door",
                "configDeviceType": "Bot",
                "connectionType": "OpenAPI",
                "bot": {
                    "mode": "press",
                    "deviceType": "door",
                    "allowPush": false,
                    "doublePress": 1
                },
                "maxRetries": 0,
                "delayBetweenRetries": 3,
                "firmware": "6.6",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "EE927C000563",
                "configDeviceName": "SB LR",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "D1B95C6CA12E",
                "configDeviceName": "SB Balcony",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "FD81452A7817",
                "configDeviceName": "SB BathR",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "DEB95B5130DE",
                "configDeviceName": "SB BedR",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "pushRate": 360
            },
            {
                "deviceId": "ED5B287A4053",
                "configDeviceName": "SB DR",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "EB7427216D7B",
                "configDeviceName": "SB Office",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "F4CA70379451",
                "configDeviceName": "SB SBathR",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "deviceId": "CF160F90171D",
                "configDeviceName": "SB SR",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4"
            },
            {
                "deviceId": "C570785DCA9D",
                "configDeviceName": "SB Kitchen",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "iosensor": {
                    "convertUnitTo": "FAHRENHEIT"
                },
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            }
        ],
        "pushRate": 1
    },
    "_bridge": {
        "username": "0E:42:87:77:38:D0"
    },
    "platform": "SwitchBot"
}

Screenshots
No response
Device & Model
SwitchBot Bot FW v6.6, Hub 2 FW v1.4-2.3
Node.js Version
v20.17.0
NPM Version
N/A
Homebridge Version
v1.8.4
Homebridge SwitchBot Plugin Version
v3.8.1
Homebridge Config UI X Plugin Version
v4.58.0
Operating System
Docker

turn debug logs on for that device in the plugin configs and get me the logs.

Debug log attached
Thank you!
From: Donavan Becker @.>
Date: Friday, September 13, 2024 at 13:25
To: OpenWonderLabs/homebridge-switchbot @.>
Cc: HaWi @.>, Author @.>
Subject: Re: [OpenWonderLabs/homebridge-switchbot] Support Request: error message (Issue #1046)
turn debug logs on for that device in the plugin configs and get me the logs.
—
Reply to this email directly, view it on GitHubhttps://github.com/OpenWonderLabs/homebridge-switchbot/issues/1046#issuecomment-2349555559, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACKHLVJDZMMZKXD3LVCOP7LZWMNZTAVCNFSM6AAAAABOFWVVX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBZGU2TKNJVHE.
You are receiving this because you authored the thread.Message ID: @.***>
[9/10/2024, 4:16:52 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.7.0 child bridge successfully
[9/10/2024, 4:16:52 PM] Loaded 11 cached accessories from cachedAccessories.0E42877738D0.
[9/10/2024, 4:16:53 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 40860.
[9/10/2024, 4:16:53 PM]
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[9/10/2024, 4:16:53 PM] [SwitchBot] Total SwitchBot Devices Found: 11
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB Kitchen deviceId: C570785DCA9D
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB SR deviceId: CF160F90171D
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB Balcony deviceId: D1B95C6CA12E
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: 2 AC Door deviceId: D2353334687D
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB BedR deviceId: DEB95B5130DE
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB Hub 2 deviceId: E55460B62D51
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB Office deviceId: EB7427216D7B
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB DR deviceId: ED5B287A4053
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB LR deviceId: EE927C000563
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB SBathR deviceId: F4CA70379451
[9/10/2024, 4:16:53 PM] [SwitchBot] Restoring existing accessory from cache: SB BathR deviceId: FD81452A7817
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Fan Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Lock Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Outlet Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Faucet Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Switch Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Window Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Garage Door Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Window Covering Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Stateful Programmable Switch Service
[9/10/2024, 4:16:53 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:21:48 PM] [SwitchBot] Initializing SwitchBot platform...
[9/10/2024, 4:21:48 PM] [SwitchBot] Initializing child bridge 0E:42:87:77:38:D0
[9/10/2024, 4:21:48 PM] Loading 7 accessories...
[9/10/2024, 4:21:54 PM] [SwitchBot] Launched child bridge with PID 2017
[9/10/2024, 4:21:54 PM] Loaded 0 cached accessories from cachedAccessories.0E5EBAC59452.
[9/10/2024, 4:21:54 PM] Loaded 1 cached accessories from cachedAccessories.0ECB9CD5826F.
[9/10/2024, 4:21:54 PM] Loaded 0 cached accessories from cachedAccessories.0E07D173427D.
[9/10/2024, 4:21:54 PM] Homebridge v1.8.4 (HAP v0.12.2) (BathR Heater Timer) is running on port 58455.
[9/10/2024, 4:21:54 PM] Homebridge v1.8.4 (HAP v0.12.2) (BackdoorSwitch) is running on port 56485.
[9/10/2024, 4:21:54 PM]
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[9/10/2024, 4:21:54 PM]
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[9/10/2024, 4:22:07 PM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.7.0 child bridge successfully
[9/10/2024, 4:22:07 PM] Loaded 11 cached accessories from cachedAccessories.0E42877738D0.
[9/10/2024, 4:22:08 PM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 44856.
[9/10/2024, 4:22:08 PM]
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[9/10/2024, 4:22:08 PM] [SwitchBot] Total SwitchBot Devices Found: 11
[9/10/2024, 4:22:08 PM] [SwitchBot] Restoring existing accessory from cache: SB Kitchen deviceId: C570785DCA9D
[9/10/2024, 4:22:08 PM] [SwitchBot] Restoring existing accessory from cache: SB SR deviceId: CF160F90171D
[9/10/2024, 4:22:08 PM] [SwitchBot] Restoring existing accessory from cache: SB Balcony deviceId: D1B95C6CA12E
[9/10/2024, 4:22:08 PM] [SwitchBot] Restoring existing accessory from cache: 2 AC Door deviceId: D2353334687D
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB BedR deviceId: DEB95B5130DE
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB Hub 2 deviceId: E55460B62D51
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB Office deviceId: EB7427216D7B
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB DR deviceId: ED5B287A4053
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB LR deviceId: EE927C000563
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB SBathR deviceId: F4CA70379451
[9/10/2024, 4:22:09 PM] [SwitchBot] Restoring existing accessory from cache: SB BathR deviceId: FD81452A7817
[9/10/2024, 4:22:08 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Fan Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Lock Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Outlet Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Faucet Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Switch Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Window Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Garage Door Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Window Covering Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door Removing any leftover Stateful Programmable Switch Service
[9/10/2024, 4:22:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:28:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:34:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:40:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:46:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:52:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 4:58:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:04:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:10:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:16:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:22:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:28:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:34:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:34:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/10/2024, 5:40:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:46:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:52:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 5:58:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:04:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:04:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/10/2024, 6:10:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:16:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:22:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:28:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:32:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/10/2024, 6:34:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:40:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:46:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:50:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/10/2024, 6:52:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 6:58:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:04:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:10:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:16:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:22:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:28:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:34:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:40:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:46:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:52:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 7:58:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:04:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:10:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:16:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:22:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:28:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:34:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:40:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:46:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:52:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 8:58:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:04:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:10:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:12:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/10/2024, 9:16:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:20:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/10/2024, 9:22:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:28:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:34:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:40:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:46:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:52:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 9:58:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:04:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:10:08 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:16:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:22:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:28:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:34:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:40:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:46:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:52:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 10:58:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:04:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:10:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:16:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:22:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:28:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:34:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:40:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:46:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:52:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:58:09 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/10/2024, 11:58:11 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 12:04:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:10:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:12:12 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 12:14:11 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 12:16:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:22:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:22:11 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 12:28:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:34:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:40:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:46:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:52:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:58:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:04:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:10:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:16:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:22:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:28:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:34:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:36:12 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 1:40:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:46:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:52:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:56:12 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 1:58:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:04:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:10:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:16:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:22:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:22:11 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 2:28:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:28:11 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 2:34:09 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:40:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:46:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:52:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:58:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:04:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:10:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:14:15 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 3:16:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:22:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:24:15 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 3:28:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:34:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:40:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:46:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:48:15 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 3:52:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:58:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:04:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:10:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:16:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:22:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:28:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:34:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:40:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:46:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:52:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:58:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:04:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:10:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:16:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:22:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:28:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:34:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:40:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:46:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:52:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:58:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:00:16 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 6:04:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:10:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:16:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:22:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:28:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:34:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:40:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:46:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:50:16 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 6:52:10 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:58:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:04:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:10:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:16:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:22:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:28:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:34:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:40:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:46:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:52:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:58:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:04:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:10:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:16:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:22:11 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:25:14 AM] [SwitchBot] Restarting child bridge...
[9/11/2024, 8:25:14 AM] Got SIGTERM, shutting down child bridge process...
[9/11/2024, 8:25:19 AM] [SwitchBot] Child bridge process ended
[9/11/2024, 8:25:19 AM] [SwitchBot] Process Ended. Code: 143, Signal: null
[9/11/2024, 8:25:26 AM] [SwitchBot] Restarting Process...
[9/11/2024, 8:25:29 AM] [SwitchBot] Launched child bridge with PID 22585
[9/11/2024, 8:25:33 AM] Registering platform @.***/homebridge-switchbot.SwitchBot'
[9/11/2024, 8:25:33 AM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.8.0 child bridge successfully
[9/11/2024, 8:25:33 AM] Loaded 11 cached accessories from cachedAccessories.0E42877738D0.
[9/11/2024, 8:25:34 AM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 42195.
[9/11/2024, 8:25:34 AM]
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB Kitchen deviceId: C570785DCA9D
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB SR deviceId: CF160F90171D
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB Balcony deviceId: D1B95C6CA12E
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: 2 AC Door deviceId: D2353334687D
[9/11/2024, 8:25:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB BedR deviceId: DEB95B5130DE
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB Hub 2 deviceId: E55460B62D51
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB Office deviceId: EB7427216D7B
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB DR deviceId: ED5B287A4053
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB LR deviceId: EE927C000563
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB SBathR deviceId: F4CA70379451
[9/11/2024, 8:25:36 AM] [SwitchBot] Restoring existing accessory from cache: SB BathR deviceId: FD81452A7817
[9/11/2024, 8:31:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:37:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:43:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:49:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:55:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:01:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:07:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:13:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:13:38 AM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 9:19:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:25:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:31:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:37:36 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:43:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:49:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:55:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:01:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:07:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:13:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:19:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:25:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:31:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:37:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:43:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:49:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:55:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:01:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:07:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:13:37 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:15:03 AM] [SwitchBot] Initializing SwitchBot platform...
[9/11/2024, 11:15:03 AM] [SwitchBot] Initializing child bridge 0E:42:87:77:38:D0
[9/11/2024, 11:15:03 AM] Loading 7 accessories...
[9/11/2024, 11:15:07 AM] [SwitchBot] Launched child bridge with PID 10982
[9/11/2024, 11:15:17 AM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v3.8.0 child bridge successfully
[9/11/2024, 11:15:17 AM] Loaded 11 cached accessories from cachedAccessories.0E42877738D0.
[9/11/2024, 11:15:17 AM] Registering platform 'homebridge-people-pro.PeoplePro'
[9/11/2024, 11:15:17 AM] Registering accessory 'homebridge-people-pro.PeopleProAccessory'
[9/11/2024, 11:15:17 AM] Registering accessory 'homebridge-people-pro.PeopleProAllAccessory'
[9/11/2024, 11:15:19 AM] [SwitchBot] Restoring existing accessory from cache: SB Kitchen deviceId: C570785DCA9D
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB SR deviceId: CF160F90171D
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB Balcony deviceId: D1B95C6CA12E
[9/11/2024, 11:15:20 AM] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM'
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: 2 AC Door deviceId: D2353334687D
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB BedR deviceId: DEB95B5130DE
[9/11/2024, 11:15:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB Hub 2 deviceId: E55460B62D51
[9/11/2024, 11:15:20 AM] Loaded 0 cached accessories from cachedAccessories.0E7A15E2423B.
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB Office deviceId: EB7427216D7B
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB DR deviceId: ED5B287A4053
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB LR deviceId: EE927C000563
[9/11/2024, 11:15:20 AM] Homebridge v1.8.4 (HAP v0.12.2) (Broadlink RM) is running on port 45369.
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB SBathR deviceId: F4CA70379451
[9/11/2024, 11:15:20 AM] [SwitchBot] Restoring existing accessory from cache: SB BathR deviceId: FD81452A7817
[9/11/2024, 11:21:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:27:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:33:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:39:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:45:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:51:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 11:57:20 AM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:03:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:09:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:15:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:21:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:27:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:33:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:39:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:45:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:51:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 12:57:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:03:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:09:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:15:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:21:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:27:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:33:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:39:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:45:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:51:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 1:57:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:03:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:09:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:15:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:21:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:27:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:33:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:39:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:45:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:51:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 2:57:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:03:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:09:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:15:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:21:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:27:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:33:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:39:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:45:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:51:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 3:57:20 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:03:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:09:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:15:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:21:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:27:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:33:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:39:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:39:22 PM] [SwitchBot] Error making request: getaddrinfo ENOTFOUND api.switch-bot.com
[9/11/2024, 4:45:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:51:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 4:57:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:03:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:09:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:15:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:21:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:27:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:33:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:39:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:45:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:51:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 5:57:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:03:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:09:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:15:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:21:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:27:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:33:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:39:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:45:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:51:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 6:57:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:03:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:09:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:15:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:21:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:27:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:33:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:39:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:45:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:51:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 7:57:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:03:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:09:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:15:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:21:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:27:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:33:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:39:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:45:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:51:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 8:57:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:03:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:09:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:15:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:21:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:27:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:33:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:39:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:45:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:51:21 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 9:57:22 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:03:22 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')"
[9/11/2024, 10:09:22 PM] [SwitchBot] Bot: 2 AC Door failed openAPIRefreshStatus with OpenAPI Connection, Error Message: "Cannot read properties of null (reading 'json')

I have deleted your last comment. Please re-attach on GitHub.

@switchbot_homebridge-switchbot.log.txt

This is still happening in v3.8.2 but seems to have no effect on operation, so low urgency

Okay I have pushed out a new beta, this beta is a major change. all config will need to be reset and may change during the beta phase. if anyone is having any other issues with bots please try.

Click here to find out how to install Beta

Closing all issues now that v4.0.0 is out. If you are still having an issue after trying v4.0.0, please open a new issue. Keep in mind v4.0.0 has some breaking changes with the config. You will need to re set your config up, however there are some nice added bonuses since you can set settings at a deviceType level or individual level.


Right align numbers in variant tables

Right align numbers in variants tables to make them easier to compare. This probably works best with a fixed width font.
Exponential numbers like allele frequency are a bit more complicated. Align on the "e" and fix number of decimal places?

And population/haplogroup frequency tables.

And population/haplogroup frequency tables.

Variant tables done in e3641fe1fd77016935757b2a32485a99f028981d.

Variant tables done in e3641fe1fd77016935757b2a32485a99f028981d.


toggleFullScreenMode() gives error FlutterError (Navigator operation requested with a context that does not include a Navigator

When I attempt to make the video full screen I get the following error:
FlutterError (Navigator operation requested with a context that does not include a Navigator.
The context used to push or pop routes from the Navigator must be that of a widget that is a descendant of a Navigator widget.)

I'm instegating this from a button using
onPressed: () => _controller.toggleFullScreenMode();

I have looked in to this problem. This is the most useful explanation I've found:
https://stackoverflow.com/questions/44004451/navigator-operation-requested-with-a-context-that-does-not-include-a-navigator
I am utilising the builder parameter of MaterialApp which says in the documentation Material specific features such as [showDialog] and [showMenu], and widgets such as [Tooltip], [PopupMenuButton], also require a [Navigator] to properly function. -so I do not understand why this isnt working?
I've also attempted to the YouTubePlayer widget in a builder however that didnt work.
This is my Material App:
    return new StoreProvider<AppState>(
        store: widget.store,
        child: MaterialApp(
          title: 'Media Flutter App',
          builder: (context, child) {
            return StoreConnector<AppState, MediaPanelViewModel>(
                converter: (store) => MediaPanelViewModel.fromStore(store),
                builder: (context, viewModel) {
                  return MediaPlayerScaffold(
                    drawer: Drawer(),
                    bottomNavigationBar: viewModel.currentlyPlaying == null
                        ? null
                        : MediaPanel(),
                    body: child,
                  );
                });
          },
          initialRoute: HomeRoute,
          onGenerateRoute: generateRoute,
        ));

MediaPanel is where I utilise YoutubePlayer.
Any ideas how I can fix it? I've looked through your code to see if I can find where it needs to utilise the Navigator but cant find it.

Cloud you please provide a reproducible example ?

yep, leave it with me

Hi @sarbagyastha, I've created an little project to highlight the issue:
bug.zip
To reproduce the full screen error:

Tap 'play video 1'
Tap full screen icon on the media bar at the bottom

Aside: This project also demonstrates a second issue, if you click on the playing video thumbnail I wanted to open it bigger at the bottom however the youtube player seems to break, I'm not sure what I'm doing wrong - maybe the webview is getting recreated. It would be nice to resolve this issue too but the full screen video issue is my main priority.
Any help getting the full screen working would be massively appreciated.
Thanks very much,
Jimmy

Hey @sarbagyastha I think having the option of passing in a global navigator key would fix the fullscreen issue?
https://stackoverflow.com/questions/52962112/how-to-navigate-without-context-in-flutter-app/53397266#53397266
https://github.com/brianegan/flutter_redux/issues/5#issuecomment-361215074
What do you think?

Hey @sarbagyastha did you manage to consider my suggestion for adding a navigator key parameter? I can implement it and send a PR if you don't have chance as this blocking me launching my app.
I would just make sure that wherever you are utilising Navigator it would use the key if provided. place such as here: https://github.com/sarbagyastha/youtube_player_flutter/blob/e6e04d655d5ca285aac4b4a9d32c881af2eb1a40/lib/src/player/youtube_player.dart#L231

Created a PR that fixes this issue. Could you have a look?
https://github.com/sarbagyastha/youtube_player_flutter/pull/160
Thanks

Should fix with v7.0.0. Feel free to reopen if the issue persists.


Change Avatars

Current avatars are not suitable for business meetings.
Search for more human-like heads or create some and exchange them with the panda and raccoon head.

fixed by https://github.com/FlorianJa/BeamLite-Unity/commit/87dd8fb05fc741ee5e9c87b922f33bc56b89fe16


⚠ Bofrost.lu has degraded performance

In 5db9108, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1367 ms

Resolved: Bofrost.lu performance has improved in c5fb973 after 1 hour, 2 minutes.


[Feature Request]: (New Plugin) zbirenbaum/neodim

Feature description
This is a plugin for dimming the highlights of unused functions, variables, parameters, and more. Its behavior is similar to that of vscode:

It will also disable virtual text to behave like a "silent reminder". If applicable, I will open a new PR for this 👍
Additional information
This is the setup that achieves the effect of the image above:

Detail

plugins.lua
ui["zbirenbaum/neodim"] = {
	opt = true,
	event = "LspAttach",
	config = conf.neodim,
}

config.lua
function config.neodim()
	require("neodim").setup({
		alpha = 0.45,
		blend_color = string.format("#%06x", vim.api.nvim_get_hl_by_name("Normal", true).background),
		-- Blend with background color to make neodim more seamless
		update_in_insert = {
			enable = true,
			delay = 100,
		},
		hide = {
			virtual_text = true,
			signs = false,
			underline = false,
		},
	})
end

looks cool!

nice feature, PR is welcome 👍


Unexpected re-rendering order of component tree in NextJS production build on react query state update

Describe the bug
Child components receive state updates from react query hooks before the components further up the render tree. If this state dictates whether or not a parent component renders a child component, this can lead to unexpected renders of the child, since the parent child will be passed the new state and re-rendered before the parent is updated and decides not to render it.
For example, with this heirarchy:
<AuthGuard>
  <UserDetails />
</AuthGuard>

both AuthGuard and UserDetails might use a useUser() hook, but AuthGuard will only render its children prop if the useUser() hook returns a user that is not null or undefined. As such, UserDetails shouldn't need to check if user is defined, because it would expect not to have been rendered if so.
However, this is exactly what happens: on logout, when user is set to null, UserDetails is re-rendered first, when it shouldn't be rendered at all.
To Reproduce
Steps to reproduce the behavior:

Clone the repo at https://github.com/jlwalkerlg/demo:
git clone https://github.com/jlwalkerlg/demo
Run the project in production build:
cd demo
npm i
npm run build
npm start
Go to http://localhost:3000
Click on "Login" in the nav bar.
Click on "Your Account" in the nav bar to go to the account details page.
Click on "Logout" in the nav bar.
See error.
Also notice the order of the console.log statements in the browser console: UserDetails is the first to be re-rendered after logging out, whereas I expected it to be AuthGuard.

Expected behavior
AuthGuard should receive the state update from the useUser() react query hook first when user is set to null, and the condition under which UserDetails is rendered should fail. Therefore, UserDetails shouldn't be re-rendered at all.
Desktop (please complete the following information):

OS: macOS Big Sur version 11.2.3
Browser: Chrome Version 91.0.4472.77 (Official Build) (x86_64)

Additional context
The problem only appears in the production build of NextJS. In dev mode (npm run dev), everything works as expected: AuthGuard receives the state update first, and UserDetails is never re-rendered. Check the console.log statements to see what I mean.
I swapped react query out with a custom implementation of React's context API and everything seemed to work fine, hence why I think this might be a problem with react query. You can find the implementation using the context API under the context branch of the repo.

hm, I wouldn't rely on console.log statements that run in the render function. since you are passing it as children prop to AuthGuard, the render function of UserDetails "runs", but you "discard" the result by not "rendering" it. If you want it to never run, you'd need a children function:
<AuthGuard>
  {() => <UserDetails />}
</AuthGuard>

of course, for the sake of logging, you can also just put the console.log in a useEffect. It would be interesting to see if the logging order then changes. Can you maybe try to get the whole example into a codesandbox? It's also very suspicious that it works in dev mode, but not in prod mode 🤔

@TkDodo I managed to get the who example into codesandbox: https://codesandbox.io/s/proud-dream-ulm70. I tried this yesterday but codesandbox kept crashing on me...
I'm not sure how to run the project in prod mode within codesandbox though, so it won't reproduce the bug running as-is in the codesandbox I linked.
Thanks for looking into this by the way.

yeah it seems to be an open codesandbox issue: https://github.com/codesandbox/codesandbox-client/issues/2027
I'll try to checkout the app later

I've just updated all my packages by deleting node_modules and package-lock.json, then re-installing, and everything works fine now so this is no longer an issue for me. Not sure exactly what package was causing it but at least everything's sorted now. Thanks again @TkDodo for looking into it for me.

glad to hear it!


Feature/ability scores

Had to make some minor changes to the Dockerfile and now need those to merge before deployment can happen.

There probably aren't any changes, but because my branch had changes that I committed (even though it was on a 'gitignored' file) it wasn't allowing me to proceed with the deploying again. I was getting the "tip is ahead of the main branch or something error.

looks great! can't wait to see it deployed!


Add EventLoop::FileDescriptor module

Extracts the system interface for FileDescriptor operations on the event loop to a EventLoop module.
This implements part of https://github.com/crystal-lang/rfcs/pull/7
Related: #14643 does the same for Socket

The methods in the wasi interface are new, should they be tested?

@beta-ziliani Not sure what you mean which methods would need to be tested on Wasi?
This isn't really adding any new behaviour, it's just shifting implementations from one class to another.

I guess I'm missing the part in which WASI uses unix/file_descriptor.cr. But in this case, doesn't it make sense to abstract these two instead of copying it?

WASI event loop and libevent are completely different things.
I suppose we could drop the evented wrapper from the WASI implementation, because it does not support non-blocking operations anyway.


RFC: String quoting in jsonpickle's code

For potential contributors and/or anyone who has an opinion: Would you rather see single quotes or double quotes be the default for jsonpickle's code when looking at it? @davvid and I were discussing the approach to quoting taken in #518, and some interesting points were brought up. I was hoping to get the opinions of anyone missed. Please tell us any reasons you may think of that we haven't covered here, or if any of these reasons stand out to you as being a major one!
Benefits Unique to Single Quotes (SQ):

Easier to type
Less visual noise for most normal strings
Aligns more with string usage in POSIX shells like bash, and Perl.

Benefits Unique to Double Quotes (DQ):

More standard across the Python ecosystem with the rise of the Black formatter (493k+ repos on GH alone using the Black formatter)
If jsonpickle ends up using different style choices than Black for any minor portions of the code, using double quotes allows far more of the code to remain consistent with Black (as a proportion).
Could lead to less escaping of apostrophes in our docstrings, which could reduce visual noise in those cases

AFAIK at least for docstrings double quotes always are recommended, while for regular strings it probably is a matter of taste (with the rise of black, the double quotes have become more popular at least in my observations).


Update docs to Include new CLI command

It would be great to see crewAI docs explain the crewai create CLI command in more detail

i did the necessary modifications , please check it out and merge it


500 errors occur when the response time of a request exceeds 10 seconds

Bug

SkyWalking 6.2.0
Elasticsearch 6.4.3

Response:
{"timestamp":1563952660681,"status":500,"error":"Internal Server Error","exception":"com.netflix.zuul.exception.ZuulException","message":"GENERAL"}

This error means your webapp can't access OAP backend, anything more. :)


Fix memory allocation issue for ci textures

When using
./n64graphics -i tex.rgba.ci4.inc16.c -g tex.rgba16.ci4.png -f ci4 -s u8 -c rgba16 -p tex_gen.rgba16.ci4.inc.c -v

This results in a memory next error. Due to this line:
raw16_size = config.width * config.height * config.pal_format.depth / 8;

It's still using the default of 32x32 to allocate memory. However, this texture is 128x32. Therefore, we need to read the .png's dimension metadata earlier to allocate memory based on that.

CI4 likely needs a bit of testing. However, CI8s should be working properly now.

I think I just need to modify the documentation a bit and then this PR is good to go.


Got “undeclared identifier: 'Status'” in “cairoimpl.nim”

I imported "cairo" and "cairoimpl". When compiling, I got the aforementioned message.
Indeed, "Status" is not defined in "cairoimpl.nim". It is defined in "cairo.nim". Should "cairoimpl.nim" import "cairo" or, at least, "Status" from "cairo"?

I tried to import only "Status", but now "Context00" is missing. After that, I need to import "Context", "Surface00", "Surface", etc. And finally compilation fails with a type mismatch. Maybe I misunderstood something.

I found my error. "cairoimpl.nim" is included in "cairo.impl". It should not be imported. Sorry for this false alert.

Yes, it should be clear from the examples that we only import cairo. I will close this.


[bug] default font does not seem to exist in most installations

What happened?
A bug happened!
`import play
tekst_links = play.new_text(
words='standaard tekst',  # dit is de tekst aan het begin
x=0,
y=0,
font="arial.ttf",
)
play.start_program()
`
Version
latest
Relevant log output
pygame 2.5.2 (SDL 2.28.3, Python 3.10.11)
Hello from the pygame community. https://www.pygame.org/contribute.html
2024-12-04 19:14:14,908 - play - WARNING - File to font doesnt exist, Using default font (text.py:116)
NoneType: None

This is intended, although we could change how it works now, but we load /path/to/font by default, which doesn't exist so we load the default font.
If you would like to load YOUR_PROJECT/arial.tff your code works perfectly fine.
I dont't understand what the bug is.

@koen1711 @MartenPostma its a small bug in the code which is because it first checks if the file exists and only after that loads the default font. If no font is specified it will always look first for the arial.tff file in the same directory. I will change a fix and make a pull request


facet free y and x scales

In plots like this one, it is sometimes useful to set different xlim or ylim on a per-facet basis. Is this possible now? Would it be hard to implement?

It's possible, see here: https://github.com/grantmcdermott/tinyplot/issues/90#issuecomment-1987027670
I was reluctant to do this originally (for reasons detailed at the link), but have encountered a few cases myself where free axis scaling for facets would be useful. So I'm open to revisiting.

Cool cool. I'll think about this when I'm back at work.


addressing devices using transport id instead of serial

Greetings, is there any existing way implemented to address several devices connected via USB with their transport id instead of serial?
In my development of a custom AOSP ROM i have an issue with distinct devices having the same serial when adb lists them (but different transport id).
ADB allows addressing devices with -t transport_id and it works fine for most adb commands except scrcpy which always errors with "more than one device" because i cannot specify -t in it's internal adb call.
Using scrcpy -s serial is not an option because it consistently chooses the first of the two (or more) devices because they all have the same serial.
example:
adb devices -l
serial1111                      device usb:3-3 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:1
serial1111                      device usb:3-4 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:2

Right now i can work around around the issue by making a wrapper script that calls the real adb with adb -t my_transport_id internally (and by placing it first in PATH scrcpy will use it as if it was the adb binary) but it might be useful if it's not complicated to implement addressing by transport id directly within scrcpy.

Such an option would make sense. I was not aware of adb -t.
Would you be interested in implementing it?

I'm not familiar with this code, however i will try to put together a PR sometime next week

I don't have the same issue as OP is having (I'm only ever connecting to two devices, my phone and my tablet), but +1 to this idea. It would just be one of those small time-saving features that are nice to have. scrcpy -t 1 instead of scrcpy -s <IP_ADDRESS>:5555

I am facing the same issues can you tell me what changes I can make to the source code to resolve this issue of target Id.
Example:
adb devices -l
serial1111                      device usb:3-3 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:1
serial1111                      device usb:3-4 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:2

@rom1v
I am facing the same issues can you tell me what changes I can make to the source code to resolve this issue of target Id.
Example:
adb devices -l
serial1111 device usb:3-3product:msm8953_64model:msm8953_for_arm64` device:msm8953_64 transport_id:1
serial1111 device usb:3-4 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:2

@justinianpopa
I am facing the same issues can you tell me what changes I can make to the source code to resolve this issue of target Id.
Example:
adb devices -l
serial1111 device usb:3-3product:msm8953_64model:msm8953_for_arm64` device:msm8953_64 transport_id:1
serial1111 device usb:3-4 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:2

You should add a new option --transport-id similar to --serial.

Greetings, is there any existing way implemented to address several devices connected via USB with their transport id instead of serial?
In my development of a custom AOSP ROM i have an issue with distinct devices having the same serial when adb lists them (but different transport id).
ADB allows addressing devices with -t transport_id and it works fine for most adb commands except scrcpy which always errors with "more than one device" because i cannot specify -t in it's internal adb call.
Using scrcpy -s serial is not an option because it consistently chooses the first of the two (or more) devices because they all have the same serial.
example:
adb devices -l
serial1111                      device usb:3-3 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:1
serial1111                      device usb:3-4 product:msm8953_64 model:msm8953_for_arm64 device:msm8953_64 transport_id:2

Right now i can work around around the issue by making a wrapper script that calls the real adb with adb -t my_transport_id internally (and by placing it first in PATH scrcpy will use it as if it was the adb binary) but it might be useful if it's not complicated to implement addressing by transport id directly within scrcpy.

Can you put the wrapper here?

For those who are still looking to find a usable solution to this current limitation of scrcpy. Here is what I am doing.
On Windows, in the directory where you have the scrcpy package files, create a new batch file (e.g. scrcpy4tid.bat) and put the following contents inside it:
@echo off
setlocal
set PATH=%PATH%;%CD%
set ADB=adb.exe -t %~1
set allargs=%*
set cmdargs=%%allargs:*%1=%%
call scrcpy.exe %cmdargs%

After that, you should be able to use scrcpy with a specific transport ID from adb, plus any other desired command line parameters of scrcpy added, as follows:
scrcpy4tid  <transport ID>  <command line argument(s) for scrcpy, if any>

As an example, if you need to run it with transport ID 4 and see display with logical display ID 1, you could use this command line:
scrcpy4tid 4 --display 1

It works well for me on Windows 10 (I did not try it on older Windows versions though). I hope that it will help some of you too.
In principle – in the absence of native support for transport IDs in scrcpy itself, at this point – I would think that including this or a similar batch script as part of the files packaged for Windows could be a viable temporary solution. If the  team supporting scrcpy are reading this and like the proposal, please, let me know – I can prepare and push a commit for it sometime.
Thank you, guys, for this great utility.  :heart:

For Linux, suggesting one more quick hack in-case if the alias method doesnt work, just connect to the shell of the other device using "adb -t TRANSPORT_ID" command, reboot the device, meanwhile in the second terminal just launch "scrcpy --display_id=id" quickly before the reboot happens. This is just a hack if someone wants a very quick solution remotely without disconnecting the device. Again, the proper method is using alias as suggested above.


taskList doesn't accept dv if groupBy has altered it

Describe the bug
taskList returns TypeError: Cannot read property 'replaceAll' of undefined if used with a dv argument that has been altered by groupBy function
To Reproduce
Steps to reproduce the behavior:

Run the code on a sample .md file I provide
See that the console has a properly structured array, complete with grouping by project and tasks within
Uncomment the last line
Error same as above

If applicable, provide the note
## test dataview tasks
- [ ] one task [project::#task/foo]
- [ ] on hold note [timeline::hold] [project::#task/bar]
- [x] done task [project::#task/bar]
- [ ] test

If applicable, provide the query
const source = dv.pages().file.tasks.filter(t => t.project != null).groupBy(t => t.project);
const project_regex = /\[.*?::#?.*?]/g;

console.log(source)

for (let i = 0; i < source.length; i++) {
	source[i].text = source[i].text.replaceAll(project_regex, "");
}

//dv.taskList(source, false);

Expected behavior
Grouping that works exactly like in this snippet
TASK
GROUP BY project

Screenshots
this proves that the const source = dv.pages().file.tasks.filter(t => t.project != null).groupBy(t => t.project); returns correct information

Desktop (please complete the following information):

OS: [e.g. Windows] win10

Additional context
Add any other context about the problem here.

Two separate issues:

This code is error-ing in your replaceAll, not in dv.taskList. groupBy returns a new list of { key, rows } objects. I would do your for loop first AND then call group by later.
dv.taskList() is somewhat limited and doesn't support results grouped by groupBy. I need to improve this API.

1. This code is error-ing in your `replaceAll`, not in `dv.taskList`. `groupBy` returns a new list of `{ key, rows }` objects. I would do your for loop first AND then call group by later.

I can't use groupBy after the for loop because it simplifies the tasks to have no inline metadata (see regex, it clears all within [key:: value] pattern). Unless the metadata is preserved somewhere else rather than object[0].text.

@DeutscheGabanna you should be able to use object[0].annotations.

Hello,
sorry to come back to you so late. I currently go through older issues to see which are stale or already solved.
For me, the following example works like expected:
- [ ] task 1 [i:: 2]
- [ ] task 2 [i:: 1]
- [ ] task 3 [i:: 1]
- [ ] task 4 [i:: 4]
- [ ] task 5

```dataviewjs
dv.taskList(dv.current().file.tasks.groupBy(t => t.i))
```

Since I cannot reproduce and there was no additional feedback, I'll close the issue for now. If you still see any problem here, please comment on the issue with details on what is not working as expected and I'll reopen your report.


Feature request: adding an hvac system "in use" metric

All the metrics this exporter makes available are awesome, they are all quite useful and the labels/metric names are well done.
The one missing that I would love to have added to my ability to understand how the ecobee/furnace is working is an "in use" metric. https://github.com/cfunkhouser/promobee has anhvac_in_operation metric, although the metric existing is not stable, it comes and goes when the system is on and off. I prefer the metrics that are generated by this exporter since they are named appropriately and seems to work pretty well.
I think it's available in the API. I'm interested in trying to add this myself, but if anyone has any pointers on how to access this value in the API already, I would be very appreciative of the head start.

This description appears to match the changes in PR#7, FYI.

Thanks for the heads up @benschumacher, I'm running the code in that PR to kick the tires a bit.

FYI- I did end up merging this patch into a fork and also set it up to build with GitHub Actions on both amd64 and arm64. My builds are pushed to GHCR, so anybody is free to download them:
Fork
Container Images
Cheers.

Thanks a lot @benschumacher, I will likely switch to that one. After reading the API a bit, it's a little frustrating that since the API can report incremental temperature of a sensor at a relatively short interval, the fact that the system is on or off is this complicated (to me) situation of number of seconds of runtime.
Having the data of course is better than not having it, but I was curious if you have any promql queries that you're finding useful?