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

Problems with fake cloud script. #8

Open
NihilUnum opened this issue Jun 12, 2024 · 0 comments
Open

Problems with fake cloud script. #8

NihilUnum opened this issue Jun 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NihilUnum
Copy link

Hi
I am not sure that this is a bug.
I am using a Midea AC Mobile 35C with Home Assistant 2024.4.2 and the HACS integration midea_ac_lan.
I didn't know that cloud access is still needed, but there's your fake cloud script.
As per the instructions, I have set up the redirection on my OpenWRT router and tested it with nslookup, resulting in:

Server:  openwrt
Address:  192.168.11.254

Name:    module.appsmb.com
Address:  192.168.11.2

I downloaded the Python script and set it up as a service, on my Home assistant server with Debian 12 resulting in:

$ sudo systemctl status fake-cloud
● fake-cloud.service - Fake Cloud Server for Midea AC
     Loaded: loaded (/etc/systemd/system/fake-cloud.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-06-09 15:07:06 CEST; 1 day 4h ago
   Main PID: 470 (python3)
      Tasks: 1 (limit: 8186)
     Memory: 9.8M
        CPU: 67ms
     CGroup: /system.slice/fake-cloud.service
             └─470 /usr/bin/python3 /usr/local/sbin/fake-cloud-wmp.py

I can see that my AC is connecting to the fake cloud server:

sudo netstat -anp | grep :443
tcp 0 0 192.168.11.2:443 0.0.0.0:* LISTEN 9826/python3
tcp 13 0 192.168.11.2:443 192.168.11.229:40003 VERBUNDEN 9826/python3

But a couple of minutes later, it becomes unavailable. Am I doing something wrong?
Or is my Midea not supported?

best
NihilUnum

@NihilUnum NihilUnum added the bug Something isn't working label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant