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

Node-red crash, when I send any commands #12

Open
bega1986 opened this issue Nov 14, 2022 · 6 comments
Open

Node-red crash, when I send any commands #12

bega1986 opened this issue Nov 14, 2022 · 6 comments

Comments

@bega1986
Copy link

I see all of the information from my AC, but when I send a command, then node-red is crashing. The AC execute the command, but the node-red is shutting down with the folloving errors:

14 Nov 11:24:05 - [red] Uncaught Exception:
14 Nov 11:24:05 - [error] TypeError: Cannot read properties of undefined (reading '0')
at /data/data/com.termux/files/home/.node-red/node_modules/gree-hvac-client/lib/client.js:383:46
at Array.forEach ()
at Client._handleUpdateConfirmResponse (/data/data/com.termux/files/home/.node-red/node_modules/gree-hvac-client/lib/client.js:382:18)
at Client._handleResponse (/data/data/com.termux/files/home/.node-red/node_modules/gree-hvac-client/lib/client.js:312:29) at Socket. (/data/data/com.termux/files/home/.node-red/node_modules/gree-hvac-client/lib/client.js:113:52)
at Socket.emit (node:events:513:28)
at UDP.onMessage [as onmessage] (node:dgram:930:8)

My HVAC type:
Gree | G-TECH GWH12AEC

@bega1986
Copy link
Author

bega1986 commented Dec 9, 2022

?

@sixtybi
Copy link

sixtybi commented Jan 8, 2023

I have the same problem. Have you found a solution for this?
I have two types of AC in my home:
Syen SOH09BO-E32DA4A2 (this has the same issue as descibed above)
Syen SOH12MU-E32DA1D (this is working fine with this node)

@sixtybi
Copy link

sixtybi commented Jan 8, 2023

I have described a WA for this in Issue 11.
I would suggest to merge these two issues as these two are the same.

@bega1986
Copy link
Author

bega1986 commented Jan 9, 2023

I haven't found a solution yet :(

@sixtybi
Copy link

sixtybi commented Jan 9, 2023 via email

@bega1986
Copy link
Author

bega1986 commented Jan 9, 2023

Try my workaround. It works, but not the best solution, as you have to wait for the values to be updated in the UI

On Mon, Jan 9, 2023, 10:48 bega1986 @.> wrote: I haven't found a solution yet :( — Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYUUOEHDM6AZIYMGRNPQI3WRPNILANCNFSM6AAAAAAR7VQZOM . You are receiving this because you commented.Message ID: @.>

I will try it, thank you!

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