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

Support for Rinnai AC #302

Open
joshualawson opened this issue Jan 30, 2025 · 3 comments
Open

Support for Rinnai AC #302

joshualawson opened this issue Jan 30, 2025 · 3 comments
Labels
msmart-ng Issue is with underlying msmart-ng library need more info Further information is requested

Comments

@joshualawson
Copy link

Hi,

nothing seems to support my AC which is a Rinnai brand (Australian only brand maybe?)

It uses the NetHome Plus app to control the AC.

I used the msmart-ng python script to discover the AC, But it is unsupported.

What can I do to help get it supported so I can use it in Home Assistant.

Here is the msmart-ng output:

{'ip': '192.168.40.4', 'port': 6444, 'id': ##########, 'online': False, 'supported': False, 'type': <DeviceType.AIR_CONDITIONER: 172>, 'name': 'net_ac_AD68', 'sn': '##############', 'key': None, 'token': None}

I have hashed out anything that could be sensitive

@mill1000
Copy link
Owner

Can you run the msmart-ng command with the --debug option?

@mill1000 mill1000 added need more info Further information is requested msmart-ng Issue is with underlying msmart-ng library labels Jan 30, 2025
@joshualawson
Copy link
Author

DEBUG:asyncio:Using selector: EpollSelector
INFO:msmart.cli:Discovering all devices on local network.
DEBUG:msmart.discover:Discovery sent to 255.255.255.255:6445.
DEBUG:msmart.discover:Discovery sent to 255.255.255.255:20086.
DEBUG:msmart.discover:Waiting 5 seconds for responses...
DEBUG:msmart.discover:Discovery response from 192.168.40.4: 837000c8200f00005a5a0111b8007a80000000004bf738061f011914ca860e0000890000000000000000018000000000cfc60f0884d06c24cd672cd4b5354b839e04c0c588b5d59d9b2a2cede945c5d16b28bb53efdcb44dfc9e67110415b2cc79ee505c524dcbc9f455a1004a73f6d656cb43a8d31fb17873dcd19c97dfbf4d16c6d707176882c80eb8922d7b8b4b724bdfb3e16e33d88768cc4c3d0658937d0bb19369bf0317b24d3a4de9e6a13106e52ba12050dfc75879d2d71ecbed896ede0a711b1054b323f11268cb1d283493
DEBUG:msmart.discover:Decrypted data from 192.168.40.4: 0428a8c02c19000030303030303050303030303030305131383846324244343441443638303030300b6e65745f61635f414436380000870002000000000000000000ac00acac0000000088f2bd44ad68150029092122000300000000000000000000000000000000000000000000000000000000000000000000
INFO:msmart.cloud:Using Midea cloud server: https://mp-prod.appsmb.com (China: False).
INFO:httpx:HTTP Request: POST https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get "HTTP/1.1 200 "
DEBUG:msmart.cloud:API response: {"code":"0","msg":"ok","data":{"loginId":"ef1ff021-be0d-4a9b-b0b9-5d785c6e"}}
DEBUG:msmart.cloud:Received loginId: ef1ff021-be0d-4a9b-b0b9-5d785c6e
DEBUG:msmart.discover:Discovered 1 devices.
WARNING:msmart.cloud:Request to https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/mj/user/login timed out.
INFO:httpx:HTTP Request: POST https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/mj/user/login "HTTP/1.1 200 OK"
DEBUG:msmart.cloud:API response: {"code":3144,"msg":"login failed, login ID is empty, please login again.","data":null}
ERROR:msmart.discover:Failed to login to cloud. Error: Code: 3144, Message: login failed, login ID is empty, please login again.
ERROR:msmart.discover:Could not establish cloud connection.
INFO:msmart.cli:Found 1 devices.
INFO:msmart.cli:Found device:
{'ip': '192.168.40.4', 'port': 6444, 'id': 150633093957322, 'online': False, 'supported': False, 'type': <DeviceType.AIR_CONDITIONER: 172>, 'name': 'net_ac_AD68', 'sn': '000000P0000000Q188F2BD44AD680000', 'key': None, 'token': None}

@mill1000
Copy link
Owner

WARNING:msmart.cloud:Request to https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/mj/user/login timed out.
ERROR:msmart.discover:Failed to login to cloud. Error: Code: 3144, Message: login failed, login ID is empty, please login again.
ERROR:msmart.discover:Could not establish cloud connection.

This is likely the problem. Have you tried using the --region options to select an area closer to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msmart-ng Issue is with underlying msmart-ng library need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants