Hey.
Im trying to get the HP iLO sensor to work to no avail.
Anyone knows how to fix it?
Getting this error message:
2017-06-06 22:06:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hp_ilo
2017-06-06 22:06:30 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform hp_ilo
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 160, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/hp_ilo.py", line 89, in setup_platform
unit_of_measurement=monitored_variable[CONF_UNIT_OF_MEASUREMENT])
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/hp_ilo.py", line 114, in __init__
self.update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/hp_ilo.py", line 144, in update
ilo_data = getattr(self.hp_ilo_data.data, self._ilo_function)()
File "/home/homeassistant/.homeassistant/deps/hpilo.py", line 989, in get_embedded_health
process=process)
File "/home/homeassistant/.homeassistant/deps/hpilo.py", line 726, in _info_tag
header, message = self._request(root)
File "/home/homeassistant/.homeassistant/deps/hpilo.py", line 256, in _request
self._detect_protocol()
File "/home/homeassistant/.homeassistant/deps/hpilo.py", line 296, in _detect_protocol
header, data = self._communicate(b('<RIBCL VERSION="2.0"></RIBCL>'), ILO_HTTP, save=False)
File "/home/homeassistant/.homeassistant/deps/hpilo.py", line 429, in _communicate
sock = self._get_socket()
File "/home/homeassistant/.homeassistant/deps/hpilo.py", line 418, in _get_socket
return ssl.wrap_socket(sock, ssl_version=self.ssl_version)
File "/usr/lib/python3.5/ssl.py", line 1077, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python3.5/ssl.py", line 760, in __init__
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)
This is my configuration:
sensor:
- platform: hp_ilo
host: <iLO IP>
username: <user>
password: <passwd>
monitored_variables:
- name: CPU fanspeed
sensor_type: server_health
unit_of_measurement: '%'
value_template: ''
- name: Inlet temperature
sensor_type: server_health
unit_of_measurement: '°C'
value_template: ''
- name: Server Health
sensor_type: server_health