Hey!
I’m running HA on a RPi 3b+ in a docker container under raspbian.
I’ve been trying to get the HP iLO sensor to work, but I only get errors all the time.
My configuration for the sensor looks as following:
- platform: hp_ilo
host: !secret hpilohost
username: !secret hpilouser
password: !secret hpilopass
port: !secret hpiloport
monitored_variables:
- name: CPU fanspeed
sensor_type: server_health
unit_of_measurement: ‘%’
value_template: ‘{{ ilo_data.fans[“Fan 1”].speed[0] }}’
- name: Server Health
sensor_type: server_health
And the error I get looks like this:
ERROR (MainThread) [homeassistant.components.sensor] hp_ilo: Error on device update!
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 248, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 348, in async_device_update
await self.hass.async_add_executor_job(self.update)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/sensor/hp_ilo.py”, line 142, in update
ilo_data = getattr(self.hp_ilo_data.data, self._ilo_function)()
File “/usr/local/lib/python3.7/site-packages/hpilo.py”, line 989, in get_embedded_health
process=process)
File “/usr/local/lib/python3.7/site-packages/hpilo.py”, line 726, in _info_tag
header, message = self._request(root)
File “/usr/local/lib/python3.7/site-packages/hpilo.py”, line 256, in _request
self._detect_protocol()
File “/usr/local/lib/python3.7/site-packages/hpilo.py”, line 296, in _detect_protocol
header, data = self._communicate(b(‘’), ILO_HTTP, save=False)
File “/usr/local/lib/python3.7/site-packages/hpilo.py”, line 429, in _communicate
sock = self._get_socket()
File “/usr/local/lib/python3.7/site-packages/hpilo.py”, line 418, in _get_socket
return ssl.wrap_socket(sock, ssl_version=self.ssl_version)
File “/usr/local/lib/python3.7/ssl.py”, line 1222, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs
File “/usr/local/lib/python3.7/ssl.py”, line 412, in wrap_socket
session=session
File “/usr/local/lib/python3.7/ssl.py”, line 853, in _create
self.do_handshake()
File “/usr/local/lib/python3.7/ssl.py”, line 1117, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
I’ve been struggling with this for over a week now and it’s starting to feel like i’m just banging my head against the wall.