[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[08:25:02] INFO: Starting the Plejd service...
[08:25:02] INFO: Verified permissions on startup script
[08:25:02] INFO: Executing startup script
[08:25:03] INFO: Running add-on
Config: {
site: 'Default Site',
username: '---scrubbed---',
password: '---scrubbed---',
mqttBroker: 'mqtt://',
mqttUsername: 'mqtt-api-user',
mqttPassword: '---scrubbed---',
includeRoomsAsLights: false,
preferCachedApiResponse: false,
updatePlejdClock: false,
logLevel: 'info',
connectionTimeout: 2,
writeQueueWaitTime: 400
}
2022-09-19 08:25:06 INF [plejd-main] Log level set to info
Starting Plejd addon and reading configuration...
2022-09-19 08:25:06 INF [plejd-main] Log level set to info
2022-09-19 08:25:06 INF [plejd-main] Plejd add-on, version 0.9.1
2022-09-19 08:25:06 INF [device-comm] Starting Plejd communication handler.
2022-09-19 08:25:06 INF [plejd-ble] Starting Plejd BLE Handler, resetting all device states.
2022-09-19 08:25:06 INF [plejd-main] Main Plejd addon init()...
2022-09-19 08:25:06 INF [plejd-api] init()
2022-09-19 08:25:06 INF [plejd-api] Getting cached api response from disk
2022-09-19 08:25:06 WRN [plejd-api] No cached api response could be read. This is normal on the first run ENOENT: no such file or directory, open '/data/cachedApiResponse.json'
Error: ENOENT: no such file or directory, open '/data/cachedApiResponse.json'
2022-09-19 08:25:06 INF [plejd-api] login()
2022-09-19 08:25:06 INF [plejd-api] logging into Default Site
2022-09-19 08:25:07 INF [plejd-api] got session token response
2022-09-19 08:25:07 INF [plejd-api] Get all Plejd sites for account...
2022-09-19 08:25:07 INF [plejd-api] Got site list response with 1: GLV62
2022-09-19 08:25:07 ERR [plejd-api] Failed to find a site named Default Site
2022-09-19 08:25:07 ERR [plejd-api] error: unable to retrieve list of sites. error: API: Failed to find a site named Default Site
Error: API: Failed to find a site named Default Site
at PlejdApi.getSites (/plejd/PlejdApi.js:171:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PlejdApi.init (/plejd/PlejdApi.js:64:9)
at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5)
at async main (/plejd/main.js:18:5)
2022-09-19 08:25:07 ERR [plejd-api] Api request failed, no cached fallback available API: unable to retrieve list of sites. error: Error: API: Failed to find a site named Default Site
Error: API: unable to retrieve list of sites. error: Error: API: Failed to find a site named Default Site
at PlejdApi.getSites (/plejd/PlejdApi.js:179:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PlejdApi.init (/plejd/PlejdApi.js:64:9)
at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5)
at async main (/plejd/main.js:18:5)
Catastrophic error. Resetting entire addon in 1 minute Error: API: unable to retrieve list of sites. error: Error: API: Failed to find a site named Default Site
at PlejdApi.getSites (/plejd/PlejdApi.js:179:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PlejdApi.init (/plejd/PlejdApi.js:64:9)
at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5)
at async main (/plejd/main.js:18:5)
Starting Plejd addon and reading configuration...
2022-09-19 08:26:08 INF [plejd-main] Log level set to info
2022-09-19 08:26:08 INF [plejd-main] Plejd add-on, version 0.9.1
2022-09-19 08:26:08 INF [device-comm] Starting Plejd communication handler.
2022-09-19 08:26:08 INF [plejd-ble] Starting Plejd BLE Handler, resetting all device states.
2022-09-19 08:26:08 INF [plejd-main] Main Plejd addon init()...
2022-09-19 08:26:08 INF [plejd-api] init()
2022-09-19 08:26:08 INF [plejd-api] Getting cached api response from disk
2022-09-19 08:26:08 WRN [plejd-api] No cached api response could be read. This is normal on the first run ENOENT: no such file or directory, open '/data/cachedApiResponse.json'
Error: ENOENT: no such file or directory, open '/data/cachedApiResponse.json'
2022-09-19 08:26:08 INF [plejd-api] login()
2022-09-19 08:26:08 INF [plejd-api] logging into Default Site
2022-09-19 08:26:08 INF [plejd-api] got session token response
2022-09-19 08:26:08 INF [plejd-api] Get all Plejd sites for account...
2022-09-19 08:26:08 INF [plejd-api] Got site list response with 1: GLV62
2022-09-19 08:26:08 ERR [plejd-api] Failed to find a site named Default Site
2022-09-19 08:26:08 ERR [plejd-api] error: unable to retrieve list of sites. error: API: Failed to find a site named Default Site
Error: API: Failed to find a site named Default Site
at PlejdApi.getSites (/plejd/PlejdApi.js:171:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PlejdApi.init (/plejd/PlejdApi.js:64:9)
at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5)
at async main (/plejd/main.js:18:5)
2022-09-19 08:26:08 ERR [plejd-api] Api request failed, no cached fallback available API: unable to retrieve list of sites. error: Error: API: Failed to find a site named Default Site
Error: API: unable to retrieve list of sites. error: Error: API: Failed to find a site named Default Site
at PlejdApi.getSites (/plejd/PlejdApi.js:179:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PlejdApi.init (/plejd/PlejdApi.js:64:9)
at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5)
at async main (/plejd/main.js:18:5)
Catastrophic error. Resetting entire addon in 1 minute Error: API: unable to retrieve list of sites. error: Error: API: Failed to find a site named Default Site
at PlejdApi.getSites (/plejd/PlejdApi.js:179:13)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PlejdApi.init (/plejd/PlejdApi.js:64:9)
at async PlejdAddon.init (/plejd/PlejdAddon.js:45:5)
at async main (/plejd/main.js:18:5)