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

Ports 8888 and 2787 closed, random ports open #30

Open
jamiekris opened this issue Jul 10, 2021 · 3 comments
Open

Ports 8888 and 2787 closed, random ports open #30

jamiekris opened this issue Jul 10, 2021 · 3 comments

Comments

@jamiekris
Copy link

Hi,

I am trying to get this integration working with a new Samsung AC, (AR12TXFYAWKXEU) and it seems impossible to get the token with the suggested method, with a constant connection refused error.
I tried to dig a bit deeper into this and running NMAP from to the AC's IP shows that neithtr 8888 or 2787 are open. There seems to be one random port open which seems to change after a few hours, therefore not very predictable.
Also, tried to use the server.py and actest.py on the open port, however, no luck on that front as well.

Has anyone faced similar issues with quite new AC models?

@ropmip
Copy link

ropmip commented Oct 1, 2021

Yes, having the same issue with a new AR24TXFYAWKN.

@Arise
Copy link

Arise commented Dec 12, 2022

How did you find that random open port?

I have a Samsung Cebu (AR12TXFYAWKNEU/AR12TXFYAWKXEU).

At first I wasnt able to find even the IP address of the air conditioner unit, but then pressing the timer button for 3 seconds allowed me to put the air conditioner unit in AP mode. Used wifi analyzer android app to find the new AP and its MAC Address. With that I've added it in my router DHCP list and I got finally an IP.

But now I'm stuck at the port part.

@Arise
Copy link

Arise commented Dec 13, 2022

For people looking to investigate and searching for open ports on those new AC units, I found out those use OCF.

You can get some more details with OCF Spy installed, you can see here the open port (49154?!?), how to connect to it in order to get more data.
But it looks like commands to switch on/off the air conditioner are only processed from the internet side, through smartthings api.

OCF_Spy

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

No branches or pull requests

3 participants