I’m trying to get the original setup working by jnimmo with my hassio install of home assistant but am having no success.
I made a new folder called custom_components in my hassio config folder and have copied intesishome.py and the climate folder with another intesishome.py file inside of it.
I then added the following to the bottom of my configuration.yaml file
intesishome:
username: ‘myusername’
password: ‘mypassword’
(I use indents for username and password above, I just can’t get it to work on this post)
When i restart home assistant i get:
Invalid Config
The following components and platforms could not be set up:
intesishome
After i reset a few folders and files get added inside the custom_components folder
“pycache”
“intesishome.cpython-36.pyc”
I’m still relatively new to home assistant and have only done basic stuff so far but it would be awesome to get this going so any help would be much appreciated!
Thanks!
The default.json file needs to exist in the /config directory.
You can use a volume reference when starting the Docker container to refer to a file on your host OS.
Thanks for the work @grischard. I have just had a play with your component and the issue I have is that when the device is off, I am not able to get it to turn on through Home Assistant. However, if the device has been turned on my another means (Intesis App or remote) then I can change states and turn it off via HA.
I have 2 devices attached to my Intesis account and I notice this problem only seems to affect 1 device at a time. 1 of the device I will be able to get to turn on from an off state. But not the other.
That’s very odd. Both your intesis-mqtt script and pyIntesisHome? The same device always? And the app manages to switch it on reliably? Probably a faulty assumption we’re making. Is there any chance you could mitmproxy the API calls?
I will have a sniff of the packets once I get a chunk of time to look into it properly.
I have noticed something else: I have an automation that turns on both heatpumps at once via a script that sets the operation_mode. And, that works every time.
So I wonder if it is something to do with what the HA UI is doing when you toggle things through the UI. I might look at the code in the UI to see what its doing also
@jnimmo I’n very interested in the component you are developing. I have 3 Fuji electric duct type ACs and after extensive google research I realized that Intesishome is my only practical option for remote control. However, before spending my money on a badly reviewed item, I would appreciate your advise on the controller and this component. How reliable is it ?Can it be controlled locally or I have to be connected to the internet ?
I will be only buying IntesisHome kit for this component, and would highly appreciate any advise.
Have you found that Home assistant does not properly restart from the Config menu when running this component?
Recently I have found my instance does not. And in the logs it looks like after I click the restart button the only log entries are from this Intesis component
I just setup this component, but I am getting the following error in the log file.
2018-07-29 23:38:48 ERROR (MainThread) [homeassistant.setup] Error during setup of component intesishome
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/setup.py”, line 146, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/intesishome.py”, line 38, in setup
from pyintesishome import IntesisHome
ModuleNotFoundError: No module named ‘pyintesishome’
Hey @datzent83, I got the component working from that same error by just copying pyintesishome.py from /config/deps/lib/python3.6/site-packages/ directly into /config/deps/ (GL trying that)
Heres hoping @jnimmo sees @grischard 's PR and they continue to polish this extremely useful component.
I just updated to the latest version .82 and now I am getting an error below.
Error during setup of component intesishome
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/setup.py”, line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/intesishome.py”, line 48, in setup
hass.async_add_job(async_load_platform(hass, ‘climate’, DOMAIN))
TypeError: async_load_platform() missing 2 required positional arguments: ‘discovered’ and ‘hass_config’
The component seems to be working fine, however, the target temperature is in celsius and the current is in fahrenheit. My congratulation file is set to imperial. Is it my setup or that’s the component?