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

[drayton-wiser] Error during system update Error: #5

Open
MingChops opened this issue Dec 5, 2020 · 19 comments
Open

[drayton-wiser] Error during system update Error: #5

MingChops opened this issue Dec 5, 2020 · 19 comments

Comments

@MingChops
Copy link

I have an issue with the plugin showing the following information on the Homebridge status page log:

[12/5/2020, 5:07:32 PM] [drayton-wiser] Error during system update Error: system-not-found
at WiserClient.request (/usr/local/lib/node_modules/@string-bean/homebridge-drayton-wiser/node_modules/@string-bean/drayton-wiser-client/src/WiserClient.ts:337:15)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at WiserClient.fullStatus (/usr/local/lib/node_modules/@string-bean/homebridge-drayton-wiser/node_modules/@string-bean/drayton-wiser-client/src/WiserClient.ts:68:22)
at WiserPlatformPlugin.updateSystem (/usr/local/lib/node_modules/@string-bean/homebridge-drayton-wiser/src/WiserPlatformPlugin.ts:101:26)

I have no idea why or what it means? It is quite random in it's appearance in the log. The plugin otherwise seems to work fine.

@LewisSpring
Copy link

LewisSpring commented Jan 9, 2021

@LewisSpring
Copy link

Update: It seems to affect my recently added TRV: It often says No Response but also somehow changes the temperature.

@DACOOX360X
Copy link

I have exactly the same issue!

The plugin was working seamlessly with HomeKit and Wiser Heat for 3 months. Then added another Wiser TRV to the system and now HomeKit struggles to get the set-point temperature updates (which should follow the Wiser Heat schedule).

Current room temperatures seem to be unaffected and correct.

Speculation:
Maybe because the system is constantly polling the current temp, and only issues a set point temp change when the change happens, which Homebridge misses and runs on the old set-point figure. This is just speculation.

See attached screen dump of the errors I now get in the Homebridge terminal log.
IMG_0055

@LewisSpring
Copy link

LewisSpring commented Feb 2, 2021

@MingChops @DACOOX360X
Do either of you have the homebridge-tuya-web plug-in? I found that Drayton-Wiser became much more responsive and worked better when i removed it. [edit (words missing my bad)]

I still get these errors - and a FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory a couple hours ago I did not notice (that might be to do with homebridge-tuya though)

@DACOOX360X
Copy link

DACOOX360X commented Feb 2, 2021

@MingChops @DACOOX360X
Do either of you have the homebridge-tuya-web plug-in? I found that Drayton-Wiser became much more responsive and worked better.

I still get these errors - and a FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory a couple hours ago I did not notice (that might be to do with homebridge-tuya though)

Thanks for the super fast reply 😀👍

No I haven’t heard of homebridge-tuya-web until now.
I will give it a go and will report back!

Reckon the homebridge-tuya-web plugin helps largely because it polls every 10 seconds?

Can you do us one more favour and share the homebridge-tuya-web settings you use in your setup?

Thanks so much!

@LewisSpring
Copy link

LewisSpring commented Feb 2, 2021

@DACOOX360X
Just realised my wording: I meant if you have it- disable it. It's for certain wi-fi smart devices

@DACOOX360X
Copy link

@DACOOX360X
Just realised my wording: I meant if you have it- disable it. It's for certain wi-fi smart devices

No worries, thanks all the same👍
I really like this plugin but would love it to have more user adjustable features like configurable polling rates and more user friend error logs. Is the dev still supporting this as I don’t see many replies to user issues? Maybe his has been busy 😊 @stringbean

@LewisSpring
Copy link

@DACOOX360X
Just realised my wording: I meant if you have it- disable it. It's for certain wi-fi smart devices

No worries, thanks all the same👍
I really like this plugin but would love it to have more user adjustable features like configurable polling rates and more user friend error logs. Is the dev still supporting this as I don’t see many replies to user issues? Maybe his has been busy 😊 @stringbean

I do wonder and understand if so. I did send a tweet to stringbean, which i'd not normally do, but have had no reply.

@LewisSpring
Copy link

I'd like to note i've manually added the hostname/lan name and the issue still happens

@DACOOX360X
Copy link

Interestingly, line 80 of the source code file WiserPlatformPlugin.ts seems to print “'Error during system update” and the cached error to the terminal log if the System Polling Update reports a catch error. So the reason it only happens every now and then or erratically may be due to the system no responding to an update request. Might be something silly like the Wiser Hub dropping out on the WiFi or something.
Again I’m probably barking up the wrong tree and it’s just speculation. Would love to know what @stringbean thoughts are....

@LewisSpring
Copy link

Interestingly, line 80 of the source code file WiserPlatformPlugin.ts seems to print “'Error during system update” and the cached error to the terminal log if the System Polling Update reports a catch error. So the reason it only happens every now and then or erratically may be due to the system no responding to an update request. Might be something silly like the Wiser Hub dropping out on the WiFi or something.
Again I’m probably barking up the wrong tree and it’s just speculation. Would love to know what @stringbean thoughts are....

As far as I know, I've only had one real outage of Drayton Wiser a few weeks back. It was overnight, and I'm not too sure why.
I did have a network outage today, where I had to reboot WiFi/Internet - but this system-not-found issue has occoured when the network has been stable (at least as far as I could tell)

@LewisSpring
Copy link

Even about 10 minutes ago - I was getting system not found errors.

I'm sure it must be a API issue. My HubR is close to the router and i've been using the internet/network fine as far as i can tell.

@MingChops
Copy link
Author

No I don't have the Tuya plugin. I only have Hue, Wiser and Xbox.

To be fair the Wiser plugin works flawlessly, never had a single issue in terms of operating it from HomeKit app. Other than the annoying red text on Homebridge home screen you would not know anything was wrong.

My router is ****, NetGear R8000. I hate it, and will be replacing very soon once I've decided what to go with. Perhaps an AP mesh setup and I'll stick an AP very close to the Wider hub... when I change will update.

@DACOOX360X
Copy link

DACOOX360X commented Feb 2, 2021

It’s certainly a strange one...

I know when the error happens as I notice my Home app reports incorrect heat set point values.
Probably because it can’t update and uses existing stale data.

When I check the Homebridge Accessory View the setpoint temp values are wrong there too. This should point to the issue being somewhere between the Wiser HUBR and Homebridge, and not between Homebridge and HomeKit.

Then I check the Homebridge Log and the ‘system not found‘ errors are there in red.

@LewisSpring
Copy link

I'm glad you're having similar issues - though normal operation seems to have improved for me since removing tuya-web - I'm using HOOBS. I know Homebridge and HOOBs are practically the same, there are differences.

@ChristopherJohnKelly
Copy link

I am having exactly the same issue. It seemed to go away temporarily when I updated my config to include the (existing) static IP for the Wiser hub, but back today with the same errors as you.

@timbojoeNBD
Copy link

Me too - any idea how I can help to support any fix for this? I want to help - but don't know how. Thank you!

@andyblac
Copy link

just bought a starter kit, (waiting for it to arrive), s this plugin still working for broken ?

@andyblac
Copy link

andyblac commented Mar 28, 2023

I have an issue with the plugin showing the following information on the Homebridge status page log:

[12/5/2020, 5:07:32 PM] [drayton-wiser] Error during system update Error: system-not-found at WiserClient.request (/usr/local/lib/node_modules/@string-bean/homebridge-drayton-wiser/node_modules/@string-bean/drayton-wiser-client/src/WiserClient.ts:337:15) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) at WiserClient.fullStatus (/usr/local/lib/node_modules/@string-bean/homebridge-drayton-wiser/node_modules/@string-bean/drayton-wiser-client/src/WiserClient.ts:68:22) at WiserPlatformPlugin.updateSystem (/usr/local/lib/node_modules/@string-bean/homebridge-drayton-wiser/src/WiserPlatformPlugin.ts:101:26)

I have no idea why or what it means? It is quite random in it's appearance in the log. The plugin otherwise seems to work fine.

just had a quick look at the code, next time it happens try to open a webpage http://xxx.xxx.xxx.xxx/data/domain/ (use your drayton hubr ip address, it just seems like it failed to respond to the data request.

once I get mine, if i get any errors I will try to debug, I mainly know python and not java, but i'll give it a go.

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

6 participants