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

Cielo plugin doesn't appear to properly start up #3

Open
fractically opened this issue Jul 15, 2023 · 6 comments
Open

Cielo plugin doesn't appear to properly start up #3

fractically opened this issue Jul 15, 2023 · 6 comments
Labels
question Further information is requested

Comments

@fractically
Copy link

fractically commented Jul 15, 2023

Describe Your Problem:

I used a different plugin successfully in the past with the same AC unit and WiFi dongle. However, since rebuilding my Homebridge system/setup (which is based on Hoobs, running on a Raspberry Pi) and installing this plugin, my Mr. Cool device - which is connected to and functional on my home network and controllable via the app - is not showing up in Homebridge, nor does it appear in Apple Homekit. I've entered my environmental values as instructed by the documentation to no avail, and most notably there are numerous errors (text in red) and a warning (text in orange) in the console when the plugin initializes.

FWIW, I've been perplexed by the 'Accessory Port Pool' start and end port fields - I don't see any mention of them in the instructions, but should these be set to something?

And in case it's helpful, here are other system component versions:
npm: '8.19.4'
node: '16.20.1'
v8: '9.4.146.26-node.26'
uv: '1.43.0'
zlib: '1.2.11'
brotli: '1.0.9'
ares: '1.19.1'
modules: '93'
nghttp2: '1.47.0'
napi: '8'
llhttp: '6.0.11'
openssl: '1.1.1u+quic'
cldr: '41.0'
icu: '71.1'
tz: '2022f'
unicode: '14.0'
ngtcp2: '0.8.1'
nghttp3: '0.7.0'

Thanks for any help you can provide!

Logs:

7/14/2023, 6:41:00 PMCielo Bridge-MrCool starting
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolLoaded plugin 'homebridge-cielo'
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolLoading 1 platforms...
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolBridge is running on port 51856.
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolERRORTypeError: Cannot read properties of undefined (reading 'user')
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolERRORat /var/lib/hoobs/cielobridge-mrcool/node_modules/node-smartcielo-ws/Cielo.js:264:52
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolERRORat processTicksAndRejections (node:internal/process/task_queues:96:5)
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolERRORat CieloAPIConnection.#getAccessTokenAndSessionId (/var/lib/hoobs/cielobridge-mrcool/node_modules/node-smartcielo-ws/Cielo.js:260:23)
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolERRORat CieloAPIConnection.establishConnection (/var/lib/hoobs/cielobridge-mrcool/node_modules/node-smartcielo-ws/Cielo.js:119:5)
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolERRORat HomebridgeAPI.<anonymous> (/var/lib/hoobs/cielobridge-mrcool/node_modules/homebridge-cielo/src/platform.ts:73:7)
7/14/2023, 6:41:14 PMCielo Bridge-MrCoolWARNINGunhandled rejection: TypeError: Cannot read properties of undefined (reading 'sessionId')

Plugin Config:

{
    "platform": "Smartcielo",
    "username": "[email protected]",
    "password": "xxxxx",
    "ip": "xx.xx.181.120",
    "macAddresses": [
        "500291e4d507"
    ]
}

Screenshots:

pluginconfig

Environment:

  • Plugin Version: 1.1.5
  • Homebridge Version: 1.6.0
  • Node.js Version: 16.20.1
  • NPM Version: 8.19.4
  • Operating System: Raspbian
@fractically fractically added the question Further information is requested label Jul 15, 2023
@jardilio
Copy link

jardilio commented Sep 1, 2023

Any update? I see the same error, but it was working previously. I'm also running as a child bridge and it keeps restarting over and over.

@BMWAdriano
Copy link

Any update? I see the same error, but it was working previously. I'm also running as a child bridge and it keeps restarting over and over.

I am having the exact same issue. I tried using the plugin as a child bridge and it continuously restarts. Without using as a child bridge, it crashes the Homebridge completely. Help?

@fractically
Copy link
Author

bump

At this point I'd be happy with "leave me alone, I have no idea what's going wrong", "I don't have time to continue working on this", or even a simple "NO", and I'll give up and move onto another solution. I get it, no one is making money off of whether this works for end users, but it would be great if the person who built this project would say something... Many of us are having the exact same issue, so it's not just a single, crazy-weird environmental issue...

@SkyJetty
Copy link

Tried to get this working and it just crashes and forces home bridge to reboot over and over just like all the other versions I have tried.

@rdjfraser
Copy link

@fractically looks like a lot more discussion here on issues caused by frequent changes to API causing breaks. I don't see anyone actively working on it :( isaac-webb#3

@salmundo11
Copy link

Same issue here, have installed and configured the plugin and it causes a reboot loop.

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

No branches or pull requests

6 participants