Climate_IP - ClimateDevice for IP based units (not only Samsung AC)

Hi Sasha,

could please give us more info?

I have installed the docker image but I tried once with mqtt user/pwd and it does not work. I configured for anonymous access and it connects to my device but it only show information, I am not sure if I can send commands or just receive date from my device.

Thanks for your contribution

1 Like

Im suddenly having huge problems with this.

2020-06-03 20:25:27 ERROR (MainThread) [custom_components.climate_ip.climate] Sending command failed
2020-06-03 20:25:27 ERROR (MainThread) [custom_components.climate_ip.climate] Traceback (most recent call last):
  File "/config/custom_components/climate_ip/samsung_2878.py", line 189, in send_socket_command
    sslSocket = self.socket
  File "/config/custom_components/climate_ip/samsung_2878.py", line 245, in socket
    self.create_connection()
  File "/config/custom_components/climate_ip/samsung_2878.py", line 234, in create_connection
    sslSocket.connect((cfg.host, cfg.port))
  File "/usr/local/lib/python3.7/ssl.py", line 1172, in connect
    self._real_connect(addr, False)
  File "/usr/local/lib/python3.7/ssl.py", line 1159, in _real_connect
    super().connect(addr)
OSError: [Errno 113] Host is unreachable

2020-06-03 20:25:30 ERROR (MainThread) [custom_components.climate_ip.climate] Sending command failed
2020-06-03 20:25:30 ERROR (MainThread) [custom_components.climate_ip.climate] Traceback (most recent call last):
  File "/config/custom_components/climate_ip/samsung_2878.py", line 189, in send_socket_command
    sslSocket = self.socket
  File "/config/custom_components/climate_ip/samsung_2878.py", line 245, in socket
    self.create_connection()
  File "/config/custom_components/climate_ip/samsung_2878.py", line 234, in create_connection
    sslSocket.connect((cfg.host, cfg.port))
  File "/usr/local/lib/python3.7/ssl.py", line 1172, in connect
    self._real_connect(addr, False)
  File "/usr/local/lib/python3.7/ssl.py", line 1159, in _real_connect
    super().connect(addr)
OSError: [Errno 113] Host is unreachable

2020-06-03 20:25:34 ERROR (MainThread) [custom_components.climate_ip.climate] Sending command failed
2020-06-03 20:25:34 ERROR (MainThread) [custom_components.climate_ip.climate] Traceback (most recent call last):
  File "/config/custom_components/climate_ip/samsung_2878.py", line 189, in send_socket_command
    sslSocket = self.socket
  File "/config/custom_components/climate_ip/samsung_2878.py", line 245, in socket
    self.create_connection()
  File "/config/custom_components/climate_ip/samsung_2878.py", line 234, in create_connection
    sslSocket.connect((cfg.host, cfg.port))
  File "/usr/local/lib/python3.7/ssl.py", line 1172, in connect
    self._real_connect(addr, False)
  File "/usr/local/lib/python3.7/ssl.py", line 1159, in _real_connect
    super().connect(addr)
OSError: [Errno 113] Host is unreachable

2020-06-03 20:25:37 ERROR (MainThread) [custom_components.climate_ip.climate] Sending command failed
2020-06-03 20:25:37 ERROR (MainThread) [custom_components.climate_ip.climate] Traceback (most recent call last):
  File "/config/custom_components/climate_ip/samsung_2878.py", line 189, in send_socket_command
    sslSocket = self.socket
  File "/config/custom_components/climate_ip/samsung_2878.py", line 245, in socket
    self.create_connection()
  File "/config/custom_components/climate_ip/samsung_2878.py", line 234, in create_connection
    sslSocket.connect((cfg.host, cfg.port))
  File "/usr/local/lib/python3.7/ssl.py", line 1172, in connect
    self._real_connect(addr, False)
  File "/usr/local/lib/python3.7/ssl.py", line 1159, in _real_connect
    super().connect(addr)
OSError: [Errno 113] Host is unreachable

Previously worked flawlessly. Now prevents Home Assistant from even starting.

1 Like

a real shame not to be able to integrate Samsung air conditioners with port 2878 into HA … In my opinion, the mqtt protocol should be used. I’m not a programmer, I can only be a tester

Is this component still supported or will it be deprecated? you no longer answer for problems…

Hi,
don’t know if this topic is still followed, been reading most of it and would need some assistance as I can’t manage to get that token.
Tried with Homebridge for both port version, tried also with the acdc but I never manage to get the token. Always receive a connection refused or nothing happens which is really frustrating.
Anyone has managed to get that token for Samsung AR07TXFCAWKN ?
Just got these units installed and would really like the hook them up on my dashboard.
They are connecting fine with smartings but it s very limited compared to what the others are showing with that integration.
Thanks

Seb

Hey Sebastien,

I’ve tried it with my AR12TXEAA but it seems like Samsung closed the local APIs and Smartthings is the only option. My A/C is currently not really supported, I can only set the temperature and mode, no fan speed or anything else via Home Assistant.
Also I don’t like connecting IoT stuff to the internet so I’m currently decoding the IR signals sent by the remote, 90% done

Hi Everyone,
I’m really sorry but I’m very busy at the moment.
I’ve moved to another place and I don’t have any samsung AC which is supported. I bought new models which seems to be supported only via SmartThings (which is very bad).
To make this component much better someone has to move device communication to another thread. To not block HA because of IO operations.
I hope someone will find time for this.
BR,
Seba

3 Likes

@atxbyea Please could you do something to adapt to the new home assistant version?
It would be very useful for many people

Thanks

Hi mate, I am having exactly same issue after upgrading to 114. tried going back to 113 but issue still persists. could you let me know how did you resolve it? thanks in advance.

Hey mate, I just commented it out and waited for 111 or 112 I cant remember. One of my two aircons just started working again and the other is offline (i think I need to power it off and on again). Are you able to access your GUI? Mine totally borked when it did have the error.

EDIT: For those in the know is it a python problem??

never mind. found a solution on whirlpool (I know, strange)
All I needed to do was just power cycle the aircon system. everything thing is working normal again. thanks for getting back to me though. appreciate it.

Some one solved the F/C issue in this link Samsung AC

Hey Seba,

Thanks for all your work on this, it has been very useful to me. I get it that you don’t have the time/motivation to continue to support it having moved on from HA/Samsung but I’m glad you made it in the first place!

Thanks to @atxbyea for forking/fixing it, I finally got around to installing your fork (the original version fell-over this weekend and HA wouldn’t start until I power cycled the AC units. Took me all day to work that out.) I no longer have to look at the “ClimateDevice is deprecated, modify ClimateIP to extend ClimateEntity” message in the log.

Cheers

Hi Walkie,

I got the component working but for 6 A/Cs it brings HA to an halt. It looks like you are the last person getting it to work. Did you experience the same issues ? If so, what did you do exactly ? I read something about @atxbyea fork but didn’t read anything that could be helpful but I could be mistaken.
I started test @Alex_Gontmakher code and responded in the following treat : Samsung AC
At this moment, I’m getting the following error message and don’t know what to do…

I strongly believe that the use of MQTT will be the way forward but need help.
@joelFORCE, it looks you spend a lot of time on this topic. Can you please have a look at this method ?
Thank you so much,
Jens

Hey Jens
I would definitely recommend trying the @atxbyea fork. This worked out well for me.

I am only using it for 2 A/C units and didn’t really notice any slow downs that you and others have mentioned but then when I did change to the fork I’m sure I saw a performance improvement. It was much quicker when restarting HA. I haven’t checked to see if there were any changes in the fork other than fixing the deprecation of ClimateDevice issue.

Only downside is that it has to be installed manually rather than by HACS but that’s just a minor thing. Edit: now in HACS.

I didn’t really have any issues getting it working, although I did struggle to get the tokens from the units once that was resolved it just worked. Same when I changed over to the fork, just worked.

Cheers

Hi Walkie,

I’ve gone over the thread multiple times without success in finding the forked repo of @atxbyea. Can you please send me the link or the relevant changes to @SebuZet custom component ?
Thank you so much,
Jens

2 Likes

Thank you so much. I tried it this morning but unfortunately, with 6 A/Cs it brings my HA to its knees.

How Can I add atxbyea repo on HACS?
Thanks

It has been added to HACS few hours ago

2 Likes