Averelll / node-red-contrib-evohome

MIT License
3 stars 1 forks source link

Error on userID #1

Open deggle opened 5 years ago

deggle commented 5 years ago

I'm just getting:

"TypeError: Cannot read property 'userID' of undefined"

Any thoughts?

Kind regards,

Tim

Averelll commented 5 years ago

Let me check when back home in the next few days

Averelll commented 5 years ago

apparently related to node-red version, on 0.17.4 I didn't have it, now I upgraded to 0.19.5 I have the same thing. I will debug later today.

robtheminnie commented 5 years ago

Hi, I also have Node-Red v0.19.5 and I'm getting the same userID error. TypeError: Cannot read property 'userID' of undefined

Averelll commented 5 years ago

So what I found out is this error occurs when the external call to the evohome service fails. In the past it hardly ever did, but recently it fails often, sometimes many times in a row, sometimes only once in a while.

I will clean up the errors a bit, but for now focused on getting the values locally via a hgi80, the unreliable service frustrates me.

Sent from my iPhone

On 16 Feb 2019, at 09:36, robtheminnie notifications@github.com wrote:

Hi, I also have Node-Red v0.19.5 and I'm getting the same userID error. TypeError: Cannot read property 'userID' of undefined

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.