donavanbecker / homebridge-rainbird

The Homebridge RainBird plugin allows you to access your RainBird Controller from HomeKit with Homebridge.
ISC License
20 stars 0 forks source link

Bug: RainBird controller request failed. #390

Closed tbaur closed 1 year ago

tbaur commented 1 year ago

Describe The Bug

1.8.0 TypeError

To Reproduce

Upgrade to 1.8.0

Expected behavior

N/A

Relevant log output

[10/19/2022, 11:22:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:22:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:23:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:23:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:24:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:24:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:25:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:25:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:26:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:26:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:27:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:27:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:28:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:28:53 AM] [RainBird] Will retry in 60 seconds
[10/19/2022, 11:29:53 AM] [RainBird] RainBird controller request failed. [TypeError: Cannot read properties of undefined (reading 'post')]
[10/19/2022, 11:29:53 AM] [RainBird] Will retry in 60 seconds

Config for homebridge-rainbird

N/A

Screenshots

No response

Device & Model

N/A

Node.js Version

16.18.0

NPM Version

8.19.2

Homebridge Version

1.5.0

Homebridge Rainbird Plugin Version

1.8.0

Homebridge Config UI X Plugin Version

No response

Operating System

macOS

donavanbecker commented 1 year ago

Can you try the latest beta:

npm version

Click here to find out how to install Beta

donavanbecker commented 1 year ago

Fixed in v1.8.1