Cisien / homebridge-sense-power-meter

A plugin for the Sense home power meter for HomeBridge
MIT License
5 stars 4 forks source link

unable to use plugin #2

Open thevaibhav opened 4 years ago

thevaibhav commented 4 years ago

11/21/2020, 11:37:02 AM [Sense Energy Meter] Error event on sense: ErrorEvent { target: WebSocket { _events: [Object: null prototype] { open: [Function], message: [Function], close: [Function], error: [Function] }, _eventsCount: 4, _maxListeners: undefined, readyState: 2, protocol: '', _binaryType: 'nodebuffer', _closeFrameReceived: false, _closeFrameSent: false, _closeMessage: '', _closeTimer: null, _closeCode: 1006, _extensions: {}, _receiver: null, _sender: null, _socket: null, _isServer: false, _redirects: 0, url: 'wss://clientrt.sense.com/monitors/183202/realtimefeed?access_token="//i removed the token on purpose', _req: null,

}, type: 'error', message: 'write EPROTO 1995433632:error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type:../deps/openssl/openssl/ssl/t1_lib.c:1146:\n', error: Error: write EPROTO 1995433632:error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type:../deps/openssl/openssl/ssl/t1_lib.c:1146:

  at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16) {
errno: 'EPROTO',
code: 'EPROTO',
syscall: 'write'

} }

jcgillespie commented 3 years ago

I'm getting the same. Looks like it might be related to this. https://github.com/scottbonline/sense/issues/30

jcgillespie commented 3 years ago

FYI - This worked for me. Had to change the default OpenSSL SECLEVEL. Evidently Sense needs to make an update on their side. https://github.com/home-assistant/core/issues/26388#issuecomment-527855449 https://community.home-assistant.io/t/debian-10-and-openssl-1-1-1b-wrong-signature-type-errors/121050