I think he is thanking him in advance.
Thank you. finnaly got that damn token.
Tomislav
HI,
Since i updated the HA to 0.96.5 i got the following error (i was on 0.90.2 before). Can anyone help ?
2019-08-05 12:50:38 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.climate_ip. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 338, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/climate_ip/__init__.py", line 3, in <module>
from .controller_yaml import (
File "/config/custom_components/climate_ip/controller_yaml.py", line 25, in <module>
from homeassistant.components.climate import (
ImportError: cannot import name 'ATTR_OPERATION_MODE' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)
Component does not work with 0.96 yet. We waiting for component to be updated.
Devices working with port 8888 should work - the main is working
I will look at old devices after the weekend.
And one more thing, I have got only one device which is working on port 8888. I’m not able to help you with getting tokens. Especially with old or newest devices. Please use google to find a way to get a valid token. If your device is not working on port 8888 nor 2878 then I’m not able to help you.
Excellent. Look forward to 2878 update. Lol sounds like ya over token questions.
HI,
Thank you- now the component is working OK (on 8888), but there is another issue - it is not updating when i turn ON/OFF or do anything (like change temperature etc.) with a physical remote. There is no error or warning in log. Before it was working well. Is there something i need to change in the code or configuration ?
Try to enable polling… On my ha work well
SmartThings need to be used for new series air conditioners. My problem solved.
Hi Everyone,
Devices working with port 8888 are ported to new HA. It looks like everything is working ok.
I need some help with old devices (port 2878). Can someone turn debugs on and PM me device_state from Developer tab?
Thanks in advance.
i get config error.
“Integration climate_ip_6 not found when trying to verify its climate platform.”
climate_ip_6 is my folder in custom_components.
i’m using 2878 version
never mind just figured out that the folder now has to stay “climate_ip” and not change it.
Well I tried to get device_state for ya but I don’t get a climate entity. Does not seem to be any log errors.
Hi,
2878, updated the custom component.
this is the log:
2019-08-16 16:26:40 ERROR (MainThread) [homeassistant.config] Invalid config for [climate.climate_ip]: [friendly_name] is an invalid option for [climate.climate_ip]. Check: climate.climate_ip->friendly_name. (See /home/homeassistant/.homeassistant/configuration.yaml, line 229). Please check the docs at https://home-assistant.io/components/climate.climate_ip/
then i removed the friendly_name config and now i have this new error:
2019-08-16 16:38:24 ERROR (MainThread) [custom_components.climate_ip.climate] climate_ip: error while creating controller!
2019-08-16 16:38:25 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform climate_ip
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 149, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/home/homeassistant/.homeassistant/custom_components/climate_ip/climate.py", line 97, in async_setup_platform
device_controller = create_controller(config.get(CONF_CONTROLLER), config, _LOGGER)
File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller.py", line 68, in create_controller
if c.initialize():
File "/home/homeassistant/.homeassistant/custom_components/climate_ip/controller_yaml.py", line 128, in initialize
connection = create_connection(connection_node, self._config, self._logger)
File "/home/homeassistant/.homeassistant/custom_components/climate_ip/connection.py", line 43, in create_connection
if c.load_from_yaml(node, None):
File "/home/homeassistant/.homeassistant/custom_components/climate_ip/samsung_2878.py", line 92, in load_from_yaml
if CONFIG_DEVICE_CONNECTION in node:
NameError: name 'CONFIG_DEVICE_CONNECTION' is not defined
Thanks
Righto now in getting logs. Looks to be the same as previous post.
Log Details (ERROR)
Fri Aug 16 2019 23:47:05 GMT+1000 (Australian Eastern Standard Time)
Error while setting up platform climate_ip
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 149, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for return fut.result() File “/config/custom_components/climate_ip/climate.py”, line 97, in async_setup_platform device_controller = create_controller(config.get(CONF_CONTROLLER), config, _LOGGER) File “/config/custom_components/climate_ip/controller.py”, line 68, in create_controller if c.initialize(): File “/config/custom_components/climate_ip/controller_yaml.py”, line 128, in initialize connection = create_connection(connection_node, self._config, self._logger) File “/config/custom_components/climate_ip/connection.py”, line 43, in create_connection if c.load_from_yaml(node, None): File “/config/custom_components/climate_ip/samsung_2878.py”, line 92, in load_from_yaml if CONFIG_DEVICE_CONNECTION in node: NameError: name ‘CONFIG_DEVICE_CONNECTION’ is not defined
Thank you. New version available on repo. Can you please try latest version.
I believe that everything should work if device is powered on.
If you confirm that it is working please edit samsung_2878.yaml file and comment out line #25 and uncomment line #26. I need to know if old device can handle two requests at once.
Thanks in advance
Thanks
Have just tried new version. All working . commented #25 and uncommented #26 and still working. Just no Power on/off in H.A.
Thanks @joelFORCE,
If device won’t power on after uncommenting line #26 it means that only one request is handled at once.
I need to make some improvements and everything will be working.
Ps. Power off should be available as one of hcav_modes.
Yeah off works fine. Cheers again for ya hard work. Good to have some control back again.
Ive got everything working, I think. However I have no way of turn my AC on. There is no on/off switch in the UI.
The AC responds with a beep when I select an operation however nothing actually happens
EDIT: If I use the states page I can turn the AC on. From there the addon can be used. How do I add an on switch?
Oh and thanks for such a great addon.
EDIT:
Im a moron and didnt read the above post sorry
Lol. I’m sure we’ve all done that at least once.
I can’t turn on using states. No switch there for me.
New version on repo. Can anyone check if last version is working correctly?
There won’t be any switch. Device will turn on automatically when you change/select mode. It is new approach to climate device in HA.
If you want to turn device off you need to select Off mode.