I tried to put hass-vantage git hub into custom_components/vantage
but not working… (ERROR: Setup of vantage is taking over 10 seconds.)
What i can do?
I tried to put hass-vantage git hub into custom_components/vantage
but not working… (ERROR: Setup of vantage is taking over 10 seconds.)
What i can do?
And this too
‘’’
Error during setup of component vantage
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 229, in _async_setup_component
result = await task
File “/config/custom_components/vantage/init.py”, line 232, in async_setup
await hass.async_add_executor_job(
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.9/site-packages/pyvantage/init.py”, line 1179, in load_xml_db
ts.connect((self._host, self._file_port))
TimeoutError: [Errno 110] Operation timed out
‘’’
Be sure the vantage yaml configuration has “host” set up correctly, and that the hassos instance can access that host over the network. Make sure username and password are correct if you have security turned on.
Thanks for answering me!
My Infusion vedor says i don’t have authentication
I can ping the host from HA Terminal, my config is this
vantage:
host: MYIP
What do you think? Thanks!!
From the HA Terminal, does:
telnet IPADDRESS 3001
work? Can you connect and then enter
help
And get a list of commands from the vantage controller?
Hi, it’s been a couple of years since I last looked at getting my Vantage system working with Homeassistant. I can telnet to the controller and receive a list of commands OK.
The first error message I get is:
Logger: pyvantage
Source: /usr/local/lib/python3.9/site-packages/pyvantage/init.py:518
Error parsing Area vid = 6: invalid literal for int() with base 10: '\n ’
Then I get:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 229, in _async_setup_component
result = await task
File “/config/custom_components/vantage/init.py”, line 232, in async_setup
await hass.async_add_executor_job(
File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.9/site-packages/pyvantage/init.py”, line 1242, in load_xml_db
self.do_parse(xml_db)
File “/usr/local/lib/python3.9/site-packages/pyvantage/init.py”, line 1253, in do_parse
parser.parse()
File “/usr/local/lib/python3.9/site-packages/pyvantage/init.py”, line 383, in parse
self.vid_to_area[area.vid] = area
AttributeError: ‘NoneType’ object has no attribute ‘vid’
I’m hoping someone might have a suggestion as to how to resolve this error.
I have no solution, but I’d suggest you post in GitHub issues, e.g. I have a similar unresolved issue with XML parsing not working for my setup. https://github.com/gjbadros/hass-vantage/issues/12
Don,
Can you tell me what version controller you are using? e.g. IC-24-1 etc
Can you also tell me what version Design Center your are using? e.g. DC 3.9.2 etc
I am having the same issue you are and I suspect it is a case of running too old of hardware and the xml file is different enough from the new version hardware/software that it is not being parsed correctly.
Thanks!
Pete…
I was having the same issues and it turned out that the xml parsing code is expecting every load and load group to be in an “area” within Design Center. I had a few load groups that were not assigned and area and this was making in integration mad. After quickly assigning areas to those load groups in Design Center uploading to the controller and restarting HA all is well.
Hope this helps…
Pete…
Side note I have enable_butttons
set to true and now I am seeing errors on parsing the buttons. But at least I can now control loads via HA. I will continue to work on the buttons issue and report if/when I find a solution.
Vantage dealer came to replace a Keypad and DIN relay
And now my HA vantage integration doesn’t load
Error during setup of component vantage
10:40:22 PM – (ERROR) Vantage (custom integration)
Downloaded short .dc file; check saved cache file on disk
10:40:22 PM – (WARNING) /usr/local/lib/python3.10/site-packages/pyvantage/init.py
File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
result = await task
File "/config/custom_components/vantage/__init__.py", line 232, in async_setup
await hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/pyvantage/__init__.py", line 1242, in load_xml_db
self.do_parse(xml_db)
File "/usr/local/lib/python3.10/site-packages/pyvantage/__init__.py", line 1253, in do_parse
parser.parse()
File "/usr/local/lib/python3.10/site-packages/pyvantage/__init__.py", line 357, in parse
root = ET.fromstring(self._xml_db_str)
File "/usr/local/lib/python3.10/xml/etree/ElementTree.py", line 1345, in XML
return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
But I can telnet to Infusion controller
Trying 192.168.1.111...
Connected to 192.168.1.111.
Escape character is '^]'.
help
BTN <button vid>
BTNPRESS <button vid>
BTNRELEASE <button vid>
LOAD <load vid> <level (0-100)>
RAMPLOAD <load vid> <level (0-100)> <seconds>
GETLOAD <load vid>
LED <button vid> <color1 (0-255)> <color2> <color3> <offcolor1> <offcolor2 (0-255)> <offcolor3> <blinkrate (FAST/MEDIUM/SLOW/VERYSLOW/OFF)>
GETLED <button vid>
TASK <task vid> <eventType (PRESS/RELEASE/HOLD/TIMER/DATA/POSITION/INRANGE/OUTOFRANGE/TEMPERATURE/DAYMODE/FANMODE/OPERATIONMODE/CONNECT/DISCONNECT/BOOT/LEARN/CANCEL/NONE)>
GETTASK <task vid>
STATUS <type (LOAD/LED/BTN/TASK/TEMP/THERMFAN/THERMOP/THERMDAY/SLIDER/TEXT/VARIABLE/BLIND/PAGE/LEDSTATE/IMAGE/WIND/LIGHT/CURRENT/POWER/ALL/NONE)>
GETTEMP <temperature vid>
What might be the problem and what to do?
First off - Thank you very much for your work on this integration. Its great! Vantage is a slick system but their mobile app it pretty rough and this helps bridge that gap. Your work and offering this to the community is truly appreciated.
Could you please give an example of the service calls?
I am attempting to test the vantage.call_task_vid
service but I’m struggling with what I need for the data entry.
I’ve tried a combinations of VID with and without brackets but I cannot seem to get the syntax just right.
I think you’re just asking the basic hass/yaml question about the syntax of this? It just looks like the below. HTH
service: vantage.call_task_vid
data:
vid: 5885
Yep thats it - I was just missing the ‘vid’ portion after data. I was trying to enter the VID right after data - as in:
data: 78
Silly mistake on my part - Thank you for pointing this out.
I appreciate your quick reply.
I am trying to get this in running in the newest prebuilt image. ( HASSOS )
Can the install script be tweaked for this?
It seems runs from the root folder and there are no “homeassistant” directories.
I am very new to HA, and do not know anything about the file structure and where things go. I can SSH and WinSCP (and samba) into the running system just fine. I have modified the YAML files and I need to verify where the “custom_components/vantage” folder goes ( config? ). And I have no idea how the install script should be modified to work in the “HASSOS” to install the pyvantage. GitHub - gjbadros/hass-vantage: Home Assistant custom_component for Vantage Infusion Whole House lighting system..
I am a former Vantage dealer with it in my home. I am new to Home Assistant and am so excited that this could possibly work.
I am happy to help diagnose this in any way. If the only way to make it work is in a Linux install I will do that, but this HassOS image is a pretty slick and easy method.
I am currently running in Virtualbox, but will migrate this to a dedicated box (Proxmox) if I can get this Vantage integration to work.
I look forward to any assistance,
Thanks, Steve
Hi, is anybody a Vantage dealer, or know a Vantage dealer, that would be willing to sell me hardware for self-install (I am in US CA)?
Any pointers appreciated.
Does anybody have experience using DC v4.5 firmware with SSL enabled?
Ports now appear to be 2010 and 3010 vs. 2001 and 3001, I can use the hasvantage python test app, enable ssl, set ports, and connect.
But, no matter what accounts I create in DC, I can’t seem to login using the test app.
Even if I try to login with DC using the newly created accounts it fails.
Maybe I don’t understand the account usage correctly?
I’d prefer to use SSL and not re-add port 2001 and 3001, regardless, my understanding of accounts seem to be wrong?
[Update]
I determined that the only account that logs in over SSL or not SSL is the “administrator” account, creating any other account fails to login?
You can just use “Remote”-only security (I don’t recommend “None” but Local isn’t necessary either if you trust your firewall) and you can still use SSL for the connections. Then you won’t need user accounts to log in.
Ok, I could, but that still exposes lots of dangerous controls to whomever is on the local network, turn all high current loads rapidly on and off, turning heat up, fire on, fans off, lights off, and locking all doors
I’d still like to understand why the accounts do not seem to work, only account that can be used to log in is “administrator”, are they supposed to work, or are the accounts used for something else?
Yea, I’d love to understand that too… the login path is clearly changed – I can neither get the ILogin call on ports 2010 or 2001 to work nor the “LOGIN user password” host command on 3010 or 3001.
Does anyone have Vantage Design Center 3.8 or later?