rchrch / homebridge-mhacwifi1-lan

Homebridge Plugin for LAN Control of Mitsubishi Heavy Industries MH-AC-WIFI-1
Apache License 2.0
6 stars 2 forks source link

used the same session id for two devices #2

Closed kasparrov closed 1 year ago

kasparrov commented 3 years ago

7/18/2021, 4:25:46 AM] [Aircon] Unable to get available services { success: false, data: null, error: { code: 1, message: 'Login Required' } } (node:3801) UnhandledPromiseRejectionWarning: #<Object> (node:3801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 20) (node:3801) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:3801) UnhandledPromiseRejectionWarning: #<Object> (node:3801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 21) [7/18/2021, 4:25:47 AM] [Aircon] Unable to refresh state { success: false, data: null, error: { code: 1, message: 'Login Required' } }

Almansio commented 2 years ago

7/18/2021, 4:25:46 AM] [Aircon] Unable to get available services { success: false, data: null, error: { code: 1, message: 'Login Required' } } (node:3801) UnhandledPromiseRejectionWarning: # (node:3801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 20) (node:3801) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:3801) UnhandledPromiseRejectionWarning: # (node:3801) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 21) [7/18/2021, 4:25:47 AM] [Aircon] Unable to refresh state { success: false, data: null, error: { code: 1, message: 'Login Required' } }

Configure each AC as a 'child bridge' and the problem is solved.

rchrch commented 1 year ago

Sorry for the very late response. I haven't had any time for this project.

Did configuring child bridges for each AC solve this problem?

It also looks like maybe the username/password aren't correct as you're getting an authentication problem. Just as a note, you can't log into the built-in webpage at the same time the homebridge plugin is active. The hardware only supports a single admin token at a time. If you log in via the web page, the homebridge app will re-authenticate causing the web page token to invalidate. See #6 for more details.

Almansio commented 1 year ago

No worries at al! First of all, thank you for the effort and making this project! It indeed solved the problem by configuring each AC as a child bridge.Again many thanks!Op 2 okt. 2022 om 03:30 heeft rchrch @.***> het volgende geschreven: Sorry for the very late response. I haven't had any time for this project. Did configuring child bridges for each AC solve this problem?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

rchrch commented 1 year ago

Your welcome. Happy things worked out.