Hi SebuZet,
you component works very well, thanks.
I’m trying to enable also the switches in the UI (like “purify” or “auto_clean”) but I can’t see them.
I see only widget of type “modes” (like “special”, “fun”).
Into climate state I see them (ie: “auto_clean: off”) but not in the UI.
I have a problem with the temperature unit, it marks me 72 celsius, when it really is 22 … there is something that doesn’t work well for my machine, but I don’t know if it is something of my air conditioner. I’m going to investigate it.
@tode I’m not using HA anymore. I can try Instal it and check hot to do this but after weekend.
@vcnt this is not a bug. Your device is reporting this temp in Fahrenheit. I don’t use HA anymore so I cannot help you right know but please look for solution on this forum. It can be changed in yaml configuration file. Someone has similar issue so the solution is here - you just need to find it
After updating to last version of HA (0.102), the climate_ip component is giving this error:
2019-11-21 19:32:14 ERROR (MainThread) [homeassistant.components.hassio] Platform error climate.climate_ip - cannot import name 'ATTR_HVAC_ACTIONS' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)
In addition, wherever the cause the units on different rooms lose the WiFi connection, the component start giving a lot of errors and the CPU is at 100%, impacting on the rest of services. I need to restart.
I have another question, sometimes the units have lost the connection and the log shows:
2019-11-22 08:53:52 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
When this happens, the CPU is almost full dedicated to python process and blocks the rest. Is there any way to control and mitigate the impact on system performance? For examplo, ping unit and when 5 time no answer, deactivate climate_ip component?
from a linux machine (ill run up a vm) use python and the scripts to get token
download the files, upload them to hass, but here is where im lost, where do i put them and how do i get it exposed?
EDIT:
Im stuck.
Traceback (most recent call last):
File "actest.py", line 4, in <module>
resp = s.post("https://172.25.0.9:8888/devicetoken/request", data={"DeviceToken":"xxxxxxxxxxx"}, headers=headers, stream=True, verify=False, cert='cert.pem')
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 567, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 520, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 630, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='172.25.0.9', port=8888): Max retries exceeded with url: /devicetoken/request (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f14e235c470>: Failed to establish a new connection: [Errno 111] Connection refused',))
I have another problem, when I install climate_ip with HACS it seems there is a background process that implements a loop with a responsiveness delay, I mean, if I switch on and switch off a light through HA I can do it in a very responsive way during 8-10 seconds and after that time it does not repond during 5 seconds. Any similar behaviour? How to fix/debug it?
I’m keep getting the:
2019-12-16 01:10:43 ERROR (SyncWorker_9) [homeassistant.util.yaml.loader] while parsing a block mapping
in “/config/configuration.yaml”, line 3, column 1
expected , but found ‘-’
in “/config/configuration.yaml”, line 18, column 1
2019-12-16 01:10:43 ERROR (MainThread) [homeassistant.components.homeassistant] Error loading /config/configuration.yaml: while parsing a block mapping
in “/config/configuration.yaml”, line 3, column 1
expected , but found ‘-’
in “/config/configuration.yaml”, line 18, column 1
2019-12-16 01:12:49 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while parsing a block mapping
in “/config/configuration.yaml”, line 3, column 1
expected , but found ‘-’
in “/config/configuration.yaml”, line 12, column 1
2019-12-16 01:12:49 ERROR (MainThread) [homeassistant.components.homeassistant] Error loading /config/configuration.yaml: while parsing a block mapping
in “/config/configuration.yaml”, line 3, column 1
expected , but found ‘-’
in “/config/configuration.yaml”, line 12, column 1
I also had to work with the CPURAM post regarding:
near line 25, remove “ATTR_HVAC_ACTIONS” and its preceding comma
near line 251, commnet/delete the below 3 lines
@property
def hvac_action(self):
return self.rac.get_property(ATTR_HVAC_ACTIONS)
re-start HA