Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example FLow crashing with uncaught Exception #5

Open
vellad1 opened this issue Feb 15, 2021 · 1 comment
Open

Example FLow crashing with uncaught Exception #5

vellad1 opened this issue Feb 15, 2021 · 1 comment

Comments

@vellad1
Copy link

vellad1 commented Feb 15, 2021

Hi,

I just installed the node, imported the example node and configured the IP of the Gree A/C I have.

I go to the dashboard and when i click on the Power button node-red itself craps out with an uncaught exception.

15 Feb 16:56:25 - [red] Uncaught Exception:
15 Feb 16:56:25 - TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
at new NodeError (node:internal/errors:278:15)
at Decipheriv.update (node:internal/crypto/cipher:179:11)
at EncryptionService.decrypt (/root/.node-red/node_modules/gree-hvac-client/lib/encryption-service.js:42:30)
at Client._handleResponse (/root/.node-red/node_modules/gree-hvac-client/lib/client.js:291:46)
at Socket. (/root/.node-red/node_modules/gree-hvac-client/lib/client.js:113:52)
at Socket.emit (node:events:376:20)
at UDP.onMessage [as onmessage] (node:dgram:925:8)
root@ubuntu-lts:~#

Any ideas what I can do? Thanks.

@inwaar
Copy link
Owner

inwaar commented Feb 20, 2021

HI, what are the versions of NodeJS and NodeRed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants