jfarmer08 / homebridge-wyze-smart-home

Wyze Smart Home plugin for Homebridge.
MIT License
93 stars 14 forks source link

Thermostat Not Working #203

Open Barba4life opened 5 months ago

Barba4life commented 5 months ago

Describe The Bug:

In the home app device shows up perfectly. Currently only able to set thermostat to "off", everything else does not work.

Please help, thank you for reading.

To Reproduce:

In the home app set temperature, app will say setting temperature.

Expected behavior:

Never sets the physical thermostat...

Logs:

[1/9/2024, 3:39:49 PM] [Wyze] Request failed: Error: read ETIMEDOUT
[1/9/2024, 3:39:49 PM] [Wyze] Error in thermostat: Error: read ETIMEDOUT
[1/9/2024, 5:21:41 PM] [Wyze] Request failed: Error: read ETIMEDOUT
[1/9/2024, 5:21:41 PM] [Wyze] AxiosError: read ETIMEDOUT
    at Function.AxiosError.from (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/wyze-api/node_modules/axios/lib/core/AxiosError.js:89:14)
    at RedirectableRequest.handleRequestError (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/wyze-api/node_modules/axios/lib/adapters/http.js:593:25)
    at RedirectableRequest.emit (node:events:514:28)
    at ClientRequest.eventHandlers.<computed> (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/follow-redirects/index.js:37:24)
    at ClientRequest.emit (node:events:514:28)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  syscall: 'read',
  code: 'ETIMEDOUT',
  errno: -110,
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: 'http',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function], Blob: [class Blob] },
    validateStatus: [Function: validateStatus],
    headers: Object [AxiosHeaders] {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json',
      'User-Agent': 'axios/1.5.0',
      'Content-Length': '449',
      'Accept-Encoding': 'gzip, compress, deflate, br'
    },
    method: 'post',
    url: 'app/v2/home_page/get_object_list',
    data: '{"access_token":"*":"com.hualai.WyzeCam","app_ver":"wyze_developer_api","app_version":"wyze_developer_api","phone_id":"wyze_developer_api","phone_system_type":"1","sc":"wyze_developer_api","sv":"wyze_developer_api","ts":1704848735967}',
    baseURL: 'https://api.wyzecam.com'
  },
  request: <ref *1> Writable {
    _writableState: WritableState {
      state: 802924,
      highWaterMark: 16384,
      defaultEncoding: 'utf8',
      length: 0,
      corked: 0,
      onwrite: [Function: bound onwrite],
      writecb: null,
      writelen: 0,
      afterWriteTickInfo: null,
      buffered: [],
      bufferedIndex: 0,
      pendingcb: 0,
      errored: null,
      [Symbol(kOnFinished)]: []
    },
    _events: [Object: null prototype] {
      response: [Function: handleResponse],
      error: [Function: handleRequestError],
      socket: [Function: handleRequestSocket]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: Infinity,
      protocol: 'https:',
      path: '/app/v2/home_page/get_object_list',
      method: 'POST',
      headers: [Object: null prototype],
      agents: [Object],
      auth: undefined,
      family: undefined,
      beforeRedirect: [Function: dispatchBeforeRedirect],
      beforeRedirects: [Object],
      hostname: 'api.wyzecam.com',
      port: '',
      agent: undefined,
      nativeProtocols: [Object],
      pathname: '/app/v2/home_page/get_object_list'
    },
    _ended: false,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 449,
    _requestBodyBuffers: [ [Object] ],
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: false,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: '449',
      _hasBody: true,
      _trailer: '',
      finished: false,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'POST /app/v2/home_page/get_object_list HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json\r\n' +
        'User-Agent: axios/1.5.0\r\n' +
        'Content-Length: 449\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: api.wyzecam.com\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/app/v2/home_page/get_object_list',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: [Function: emitRequestTimeout],
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'api.wyzecam.com',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    _currentUrl: 'https://api.wyzecam.com/app/v2/home_page/get_object_list',
    [Symbol(kCapture)]: false
  },
  cause: Error: read ETIMEDOUT
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
    errno: -110,
    code: 'ETIMEDOUT',
    syscall: 'read'
  }
}
[1/9/2024, 5:21:41 PM] [Wyze] Error, refreshing access token and trying again
[1/9/2024, 6:18:42 PM] [Wyze] Request failed: Error: read ETIMEDOUT
[1/9/2024, 6:18:42 PM] [Wyze] AxiosError: read ETIMEDOUT
    at Function.AxiosError.from (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/wyze-api/node_modules/axios/lib/core/AxiosError.js:89:14)
    at RedirectableRequest.handleRequestError (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/wyze-api/node_modules/axios/lib/adapters/http.js:593:25)
    at RedirectableRequest.emit (node:events:514:28)
    at ClientRequest.eventHandlers.<computed> (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/follow-redirects/index.js:37:24)
    at ClientRequest.emit (node:events:514:28)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  syscall: 'read',
  code: 'ETIMEDOUT',
  errno: -110,
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: 'http',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function], Blob: [class Blob] },
    validateStatus: [Function: validateStatus],
    headers: Object [AxiosHeaders] {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json',
      'User-Agent': 'axios/1.5.0',
      'Content-Length': '449',
      'Accept-Encoding': 'gzip, compress, deflate, br'
    },
    method: 'post',
    url: 'app/v2/home_page/get_object_list',
    data: '{"access_token":"*","app_name":"com.hualai.WyzeCam","app_ver":"wyze_developer_api","app_version":"wyze_developer_api","phone_id":"wyze_developer_api","phone_system_type":"1","sc":"wyze_developer_api","sv":"wyze_developer_api","ts":1704852157717}',
    baseURL: 'https://api.wyzecam.com'
  },
  request: <ref *1> Writable {
    _writableState: WritableState {
      state: 802924,
      highWaterMark: 16384,
      defaultEncoding: 'utf8',
      length: 0,
      corked: 0,
      onwrite: [Function: bound onwrite],
      writecb: null,
      writelen: 0,
      afterWriteTickInfo: null,
      buffered: [],
      bufferedIndex: 0,
      pendingcb: 0,
      errored: null,
      [Symbol(kOnFinished)]: []
    },
    _events: [Object: null prototype] {
      response: [Function: handleResponse],
      error: [Function: handleRequestError],
      socket: [Function: handleRequestSocket]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: Infinity,
      protocol: 'https:',
      path: '/app/v2/home_page/get_object_list',
      method: 'POST',
      headers: [Object: null prototype],
      agents: [Object],
      auth: undefined,
      family: undefined,
      beforeRedirect: [Function: dispatchBeforeRedirect],
      beforeRedirects: [Object],
      hostname: 'api.wyzecam.com',
      port: '',
      agent: undefined,
      nativeProtocols: [Object],
      pathname: '/app/v2/home_page/get_object_list'
    },
    _ended: false,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 449,
    _requestBodyBuffers: [ [Object] ],
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: false,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: '449',
      _hasBody: true,
      _trailer: '',
      finished: false,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'POST /app/v2/home_page/get_object_list HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json\r\n' +
        'User-Agent: axios/1.5.0\r\n' +
        'Content-Length: 449\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: api.wyzecam.com\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/app/v2/home_page/get_object_list',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: [Function: emitRequestTimeout],
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'api.wyzecam.com',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    _currentUrl: 'https://api.wyzecam.com/app/v2/home_page/get_object_list',
    [Symbol(kCapture)]: false
  },
  cause: Error: read ETIMEDOUT
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
    errno: -110,
    code: 'ETIMEDOUT',
    syscall: 'read'
  }
}
[1/9/2024, 6:18:42 PM] [Wyze] Error, refreshing access token and trying again
[1/9/2024, 6:37:02 PM] [Wyze] Request failed: Error: read ETIMEDOUT
[1/9/2024, 6:37:02 PM] [Wyze] AxiosError: read ETIMEDOUT
    at Function.AxiosError.from (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/wyze-api/node_modules/axios/lib/core/AxiosError.js:89:14)
    at RedirectableRequest.handleRequestError (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/wyze-api/node_modules/axios/lib/adapters/http.js:593:25)
    at RedirectableRequest.emit (node:events:514:28)
    at ClientRequest.eventHandlers.<computed> (/volume1/homebridge/node_modules/@zswuwing/homebridge-wyze-smart-home/node_modules/follow-redirects/index.js:37:24)
    at ClientRequest.emit (node:events:514:28)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
    at TLSSocket.emit (node:events:514:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  syscall: 'read',
  code: 'ETIMEDOUT',
  errno: -110,
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: 'http',
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function], Blob: [class Blob] },
    validateStatus: [Function: validateStatus],
    headers: Object [AxiosHeaders] {
      Accept: 'application/json, text/plain, */*',
      'Content-Type': 'application/json',
      'User-Agent': 'axios/1.5.0',
      'Content-Length': '449',
      'Accept-Encoding': 'gzip, compress, deflate, br'
    },
    method: 'post',
    url: 'app/v2/home_page/get_object_list',
    data: '{"access_token":"*","app_name":"com.hualai.WyzeCam","app_ver":"wyze_developer_api","app_version":"wyze_developer_api","phone_id":"wyze_developer_api","phone_system_type":"1","sc":"wyze_developer_api","sv":"wyze_developer_api","ts":1704853257007}',
    baseURL: 'https://api.wyzecam.com'
  },
  request: <ref *1> Writable {
    _writableState: WritableState {
      state: 802924,
      highWaterMark: 16384,
      defaultEncoding: 'utf8',
      length: 0,
      corked: 0,
      onwrite: [Function: bound onwrite],
      writecb: null,
      writelen: 0,
      afterWriteTickInfo: null,
      buffered: [],
      bufferedIndex: 0,
      pendingcb: 0,
      errored: null,
      [Symbol(kOnFinished)]: []
    },
    _events: [Object: null prototype] {
      response: [Function: handleResponse],
      error: [Function: handleRequestError],
      socket: [Function: handleRequestSocket]
    },
    _eventsCount: 3,
    _maxListeners: undefined,
    _options: {
      maxRedirects: 21,
      maxBodyLength: Infinity,
      protocol: 'https:',
      path: '/app/v2/home_page/get_object_list',
      method: 'POST',
      headers: [Object: null prototype],
      agents: [Object],
      auth: undefined,
      family: undefined,
      beforeRedirect: [Function: dispatchBeforeRedirect],
      beforeRedirects: [Object],
      hostname: 'api.wyzecam.com',
      port: '',
      agent: undefined,
      nativeProtocols: [Object],
      pathname: '/app/v2/home_page/get_object_list'
    },
    _ended: false,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 449,
    _requestBodyBuffers: [ [Object] ],
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: false,
      chunkedEncoding: false,
      shouldKeepAlive: true,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: '449',
      _hasBody: true,
      _trailer: '',
      finished: false,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'POST /app/v2/home_page/get_object_list HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/json\r\n' +
        'User-Agent: axios/1.5.0\r\n' +
        'Content-Length: 449\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'Host: api.wyzecam.com\r\n' +
        'Connection: keep-alive\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/app/v2/home_page/get_object_list',
      _ended: false,
      res: null,
      aborted: false,
      timeoutCb: [Function: emitRequestTimeout],
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'api.wyzecam.com',
      protocol: 'https:',
      _redirectable: [Circular *1],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    _currentUrl: 'https://api.wyzecam.com/app/v2/home_page/get_object_list',
    [Symbol(kCapture)]: false
  },
  cause: Error: read ETIMEDOUT
      at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) {
    errno: -110,
    code: 'ETIMEDOUT',
    syscall: 'read'
  }
}
[1/9/2024, 6:37:02 PM] [Wyze] Error, refreshing access token and trying again
[1/9/2024, 7:20:15 PM] [Wyze] Request failed: Error: read ETIMEDOUT
[1/9/2024, 7:20:15 PM] [Wyze] Error in thermostat: Error: read ETIMEDOUT
[1/9/2024, 7:26:21 PM] [Wyze] Initializing WyzeSmartHome platform...
[1/9/2024, 7:26:21 PM] [Wyze] Initializing child bridge 0E:8D:A0:11:60:EE
[1/9/2024, 7:26:24 PM] [Wyze] Launched child bridge with PID 15464
[1/9/2024, 7:26:24 PM] [Wyze] Loaded @zswuwing/homebridge-wyze-smart-home v0.5.37 child bridge successfully
[1/9/2024, 7:26:24 PM] Loaded 1 cached accessories from cachedAccessories.0E8DA01160EE.
[1/9/2024, 7:26:24 PM] Registering platform 'homebridge-dyson-pure-cool.DysonPureCoolPlatform'
[1/9/2024, 7:47:33 PM] [Wyze] Initializing WyzeSmartHome platform...
[1/9/2024, 7:47:33 PM] [Wyze] Initializing child bridge 0E:8D:A0:11:60:EE
[1/9/2024, 7:47:35 PM] [Wyze] Launched child bridge with PID 21233
[1/9/2024, 7:47:35 PM] Registering accessory 'homebridge-wol.NetworkDevice'
[1/9/2024, 7:47:35 PM] [Wyze] Loaded @zswuwing/homebridge-wyze-smart-home v0.5.37 child bridge successfully
[1/9/2024, 7:47:35 PM] Homebridge v1.7.0 (HAP v0.11.1) (Living Room Computer) is running on port 42285.
[1/9/2024, 7:47:35 PM] Loaded 1 cached accessories from cachedAccessories.0E8DA01160EE.
[1/9/2024, 7:47:36 PM] Registering platform 'homebridge-ewelink.eWeLink'
[1/9/2024, 7:49:08 PM] [Wyze] Restarting child bridge...
[1/9/2024, 7:49:08 PM] Got SIGTERM, shutting down child bridge process...
[1/9/2024, 7:49:13 PM] [Wyze] Child bridge process ended
[1/9/2024, 7:49:13 PM] [Wyze] Process Ended. Code: 143, Signal: null
[1/9/2024, 7:49:20 PM] [Wyze] Restarting Process...
[1/9/2024, 7:49:21 PM] [Wyze] Launched child bridge with PID 22290
[1/9/2024, 7:49:21 PM] Registering platform '@zswuwing/homebridge-wyze-smart-home.WyzeSmartHome'
[1/9/2024, 7:49:21 PM] [Wyze] Loaded @zswuwing/homebridge-wyze-smart-home v0.5.37 child bridge successfully
[1/9/2024, 7:49:21 PM] Loaded 1 cached accessories from cachedAccessories.0E8DA01160EE.
[1/9/2024, 7:49:21 PM] Homebridge v1.7.0 (HAP v0.11.1) (Wyze) is running on port 33710.
[1/9/2024, 7:52:18 PM] [Wyze] Restarting child bridge...
[1/9/2024, 7:52:18 PM] Got SIGTERM, shutting down child bridge process...
[1/9/2024, 7:52:23 PM] [Wyze] Child bridge process ended
[1/9/2024, 7:52:23 PM] [Wyze] Process Ended. Code: 143, Signal: null
[1/9/2024, 7:52:30 PM] [Wyze] Restarting Process...
[1/9/2024, 7:52:31 PM] [Wyze] Launched child bridge with PID 24033
[1/9/2024, 7:52:31 PM] Registering platform '@zswuwing/homebridge-wyze-smart-home.WyzeSmartHome'
[1/9/2024, 7:52:31 PM] [Wyze] Loaded @zswuwing/homebridge-wyze-smart-home v0.5.36 child bridge successfully
[1/9/2024, 7:52:31 PM] Loaded 1 cached accessories from cachedAccessories.0E8DA01160EE.
[1/9/2024, 7:52:31 PM] Homebridge v1.7.0 (HAP v0.11.1) (Wyze) is running on port 33710.
[1/9/2024, 7:53:09 PM] [Wyze] Restarting child bridge...
[1/9/2024, 7:53:09 PM] Got SIGTERM, shutting down child bridge process...
[1/9/2024, 7:53:14 PM] [Wyze] Child bridge process ended
[1/9/2024, 7:53:14 PM] [Wyze] Process Ended. Code: 143, Signal: null
[1/9/2024, 7:53:21 PM] [Wyze] Restarting Process...
[1/9/2024, 7:53:22 PM] [Wyze] Launched child bridge with PID 24296
[1/9/2024, 7:53:22 PM] Registering platform '@zswuwing/homebridge-wyze-smart-home.WyzeSmartHome'
[1/9/2024, 7:53:22 PM] [Wyze] Loaded @zswuwing/homebridge-wyze-smart-home v0.5.36 child bridge successfully
[1/9/2024, 7:53:22 PM] Loaded 1 cached accessories from cachedAccessories.0E8DA01160EE.
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Retrieving previous service for "Living Room"
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:22 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:22 PM] Homebridge v1.7.0 (HAP v0.11.1) (Wyze) is running on port 33710.
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:22 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:22 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:22 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:22 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:22 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:22 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:22 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:23 PM] [Wyze] [Thermostat] handleCurrentTemperatureGet status of "Living Room" to 74
[1/9/2024, 7:53:23 PM] [Wyze] [Thermostat] handleTargetTemperatureGet Target Temp: 77
[1/9/2024, 7:53:23 PM] [Wyze] [Thermostat] handleCoolingThresholdTemperatureGet Cool Setpoint: 73
[1/9/2024, 7:53:23 PM] [Wyze] [Thermostat] handleHeatingThresholdTemperatureGet Heat Setpoint: 77
[1/9/2024, 7:53:27 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:28 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:28 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:28 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:28 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:28 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:28 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:28 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:33 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:33 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:33 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:33 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:33 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:33 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:33 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:33 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:38 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:38 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:38 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:38 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:38 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:38 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:38 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:38 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:39 PM] [Wyze] [Thermostat] handleTargetTemperatureSet status of "Living Room" to 80.06 for mode heat which is 1
[1/9/2024, 7:53:39 PM] [Wyze] [Thermostat] handleTargetTemperatureSet for HEATING
[1/9/2024, 7:53:39 PM] [Wyze] [Thermostat] Clamping value: 26.7 to max 25
[1/9/2024, 7:53:39 PM] [Wyze] [Thermostat] handleHeatingThresholdTemperatureSet status of "Living Room" to 77
[1/9/2024, 7:53:43 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:44 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:44 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:44 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:44 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:44 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:44 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:44 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:49 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:49 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:49 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:49 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:49 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:49 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:49 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:49 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:54 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:53:54 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:53:54 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:53:54 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:53:54 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:54 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:54 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:53:54 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:53:56 PM] [Wyze] [Thermostat] handleTargetTemperatureSet status of "Living Room" to 84.92 for mode heat which is 1
[1/9/2024, 7:53:56 PM] [Wyze] [Thermostat] handleTargetTemperatureSet for HEATING
[1/9/2024, 7:53:56 PM] [Wyze] [Thermostat] Clamping value: 29.400000000000002 to max 25
[1/9/2024, 7:53:56 PM] [Wyze] [Thermostat] handleHeatingThresholdTemperatureSet status of "Living Room" to 77
[1/9/2024, 7:53:59 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:54:00 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:54:00 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:54:00 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:54:00 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:00 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:00 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:54:00 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:54:05 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:54:05 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:54:05 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:54:05 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:54:05 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:05 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:05 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:54:05 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:54:10 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:54:10 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:54:10 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:54:10 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:54:10 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:54:10 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:10 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:10 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:54:11 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:54:15 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:54:16 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:54:16 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:54:16 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:54:16 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:16 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:16 PM] [Wyze] Ignoring Cam (MAC: 7C78B279FF61 (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Temp: 74
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Target Temp: 77
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Mode Sys: heat for 1
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Working State: idle for 0
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Cool Setpoint: 73
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Heat Setpoint: 77
[1/9/2024, 7:54:16 PM] [Wyze] [Thermostat] Temp Units: 1
[1/9/2024, 7:54:19 PM] [Wyze] [Thermostat] handleTemperatureDisplayUnitsSet status of "Living Room" to 0
[1/9/2024, 7:54:21 PM] [Wyze] Refreshing devices...
[1/9/2024, 7:54:21 PM] [Wyze] Found 5 device(s)
[1/9/2024, 7:54:21 PM] [Wyze] Loading accessory from cache Living Room (MAC: CO_EA1_31304635133637394a41132d)
[1/9/2024, 7:54:21 PM] [Wyze] [Thermostat] Updating status of "Living Room"
[1/9/2024, 7:54:21 PM] [Wyze] Unsupported device type or device is ignored: ChimeSensor (Model: CHIME)
[1/9/2024, 7:54:21 PM] [Wyze] Ignoring Front door (MAC: 7C78B26D27DB (Type: Camera) because it is in the Ignore Devices list
[1/9/2024, 7:54:21 PM] [Wyze] Ignoring Living Room Cam (MAC: D03F27053E87 (Type: Camera) because it is in the Ignore Devices list

Plugin Config:

    "name": "Wyze",
    "username": "j****@gmail.com",
    "password": "****",
    "keyId": "*********",
    "apiKey": "******",
    "mfaCode": "****",
    "refreshInterval": 5000,
    "entryExitDelay": 5,
    "showAdvancedOptions": true,
    "logging": "debug",
    "excludeMacAddress": false,
    "excludedeviceType": true,
    "filterDeviceTypeList": [
        "ContactSensor",
        "Camera"
    ],
    "_bridge": {
        "username": "******",
        "port": ******
    },
    "platform": "WyzeSmartHome"
}

Screenshots:

Environment:

github-actions[bot] commented 5 months ago

Message that will be displayed on users' first issue

jfarmer08 commented 4 months ago

@carTloyal123 Can you take a look at this?

carTloyal123 commented 4 months ago

Sure thing, you can assign it to me

carTloyal123 commented 4 months ago

@Barba4life it looks like things are actually working as they intend but might need to be adjusted. Could you describe more for me exactly what you are doing? It looks like you are setting your temperature to 80F as the target temperature. Is that correct?

This is actually being clamped by the plugin because the underlying homebridge platform only allows a max value of 25C for cooling setpoints. I would try setting the same value to something like 70, then 75 and see if that behaves correctly. Do that for me and in the mean time I will look into this upper limit being an issue.

carTloyal123 commented 4 months ago

It looks like we can customize this a bit actually for our Wyze thermostat. @Barba4life could you actually just do me one favor and tell me the min and max values you can set the thermostat to when it is in heating mode and when it is in cooling mode and when it is in auto mode? This should be 8 numbers total: 2 for heating only, 2 for cooling only, 4 for auto mode (2 for the heat setpoint and 2 for the cool setpoint). With these values we can adjust the limits in this plugin. Thanks and let me know if you need more detail!

Barba4life commented 4 months ago

Absolutely, I should have some time today. Thank you @carTloyal123

Barba4life commented 4 months ago

Sorry didn’t mean to close it, fat fingers over here on my cell phone… 😅

jfarmer08 commented 4 months ago

@carTloyal123 I am moving as much as I can out of WyzeAccesory.js. If you have any questions please let me know.

carTloyal123 commented 4 months ago

Oh I see that now. Um I will work on moving stuff over while I am waiting to hear back on these tuning values. Is there a good reference file you have updated that I can follow?

carTloyal123 commented 4 months ago

Looks like everything has been updated except the thermostat so I spoke a little too soon and there are plenty of examples. I will work on moving things into the thermostat file

carTloyal123 commented 4 months ago

I added the refactor to main branch in my fork: https://github.com/carTloyal123/homebridge-wyze-smart-home/tree/main I can not test the changes since I am not currently using my wyze thermostat at home so @Barba4life maybe you can install a beta version or share your device on the wyze app with me for testing. Let me know!

Barba4life commented 4 months ago

Thank you @carTloyal123, when beta is ready I’ll test.

I checked the thermostat, the lowest setting is 35F and highest is 105F degrees. I also only use the heat option on the thermostat sorry.

(I could also share you my device on Wyze if you wanted to see all the options too)

pughpypants commented 4 months ago

@carTloyal123 This is incredible. Thank you for adding the thermostat!

I was able to add the Wyze plugin to HB. Created a child bridge and connected it to Homekit. Very smooth. However, I don't see the thermostat in Accessories in HB. Here's the log:

[2/10/2024, 4:20:57 PM] [Wyze] Launched child bridge with PID 32559 [2/10/2024, 4:20:57 PM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome' [2/10/2024, 4:20:57 PM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.42 child bridge successfully [2/10/2024, 4:20:57 PM] Loaded 0 cached accessories from cachedAccessories.0E69E1C06C3C. [2/10/2024, 4:20:57 PM] Homebridge v1.7.0 (HAP v0.11.1) (Wyze) is running on port 54002. [2/10/2024, 4:20:57 PM] [Wyze] Error getting devices: TypeError: devices is not iterable

Any insight you can give me would be very helpful.

Plugin Version: v0.5.42 Homebridge Version: V4.55.1 Node.js Version: 20.9.0-1003 Operating System: DSM 7.4

I'm brand new to Github. Apologies in advance if I'm not asking the right question or providing enough context.

jfarmer08 commented 4 months ago

You might want to try the latest release. @carTloyal123 Let me know if you need me to do anything.

carTloyal123 commented 4 months ago

Even better it looks like I can not login in through the plugin so I am troubleshooting that. I suspect it is something with my specific Wyze account but we will see. Once I get through that I will see what I can find

carTloyal123 commented 4 months ago

@carTloyal123 This is incredible. Thank you for adding the thermostat!

I was able to add the Wyze plugin to HB. Created a child bridge and connected it to Homekit. Very smooth. However, I don't see the thermostat in Accessories in HB. Here's the log:

[2/10/2024, 4:20:57 PM] [Wyze] Launched child bridge with PID 32559 [2/10/2024, 4:20:57 PM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome' [2/10/2024, 4:20:57 PM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.42 child bridge successfully [2/10/2024, 4:20:57 PM] Loaded 0 cached accessories from cachedAccessories.0E69E1C06C3C. [2/10/2024, 4:20:57 PM] Homebridge v1.7.0 (HAP v0.11.1) (Wyze) is running on port 54002. [2/10/2024, 4:20:57 PM] [Wyze] Error getting devices: TypeError: devices is not iterable

Any insight you can give me would be very helpful.

Plugin Version: v0.5.42 Homebridge Version: V4.55.1 Node.js Version: 20.9.0-1003 Operating System: DSM 7.4

I'm brand new to Github. Apologies in advance if I'm not asking the right question or providing enough context.

@pughpypants go ahead and open a new issue in Github and site your findings there. Your issue seems unrelated to this thread. Welcome to github, glad to have you and thank you for the feedback!

pughpypants commented 4 months ago

Thanks @carTloyal123. Will do.

Barba4life commented 4 months ago

Ohh no I did the update, now my child bridge keeps restating.

Hey @carTloyal123 what email should I share the thermostat to through the Wyze UI?

So far I tried uninstalling and reinstalling, still same problem.

carTloyal123 commented 4 months ago

You can share it with carsonloyal123@me.com

Looks like this is a pretty serious issue. I will look into it hopefully today or tomorrow, at worst this weekend. Thanks for the extra input here!

jfarmer08 commented 4 months ago

The logs above are not even from this project they are from zswuwing

@Barba4life @carTloyal123

This is the project they are from. https://www.npmjs.com/package/@zswuwing/homebridge-wyze-smart-home

jfarmer08 commented 4 months ago

The very first set of logs. If you look at the error it reports the node it is using. Which is a branch of this one from zswuwing

carTloyal123 commented 4 months ago

That is pretty weird but makes more sense. The other issue linked seems to be using the correct version and still has the same issue so I'll give it a look but that is a great catch. @Barba4life definitely see about getting the correct version and then report back for us if issues persist

jfarmer08 commented 4 months ago

New release out.

carTloyal123 commented 3 months ago

@Barba4life what is the status of this with the latest release of the plugin for you?

Barba4life commented 3 months ago

Sorry for the late update. That did the trick, it no longer crashes.

as for the setting correct temp, I don't see a difference.

Still able to at least turn on the heat mode, and turn off.