Today I added an OpenEVSE sensor, but I keep getting errors in the log, and no entities (see log below).
I took note of the InvalidAuthentication
… Is there a need to enter the username/password used to log in to the OpenEVSE web UI? It’s not mentioned in the docs, so if so, any idea how? Just adding username
and password
is not supported.
If not, any idea what’s wrong?
openevse: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 432, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 601, in async_device_update
await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/openevse/sensor.py", line 96, in update
self._state = float(self.charger.getUsageTotal()) / 1000
File "/usr/local/lib/python3.9/site-packages/deprecated/classic.py", line 285, in wrapper_function
return wrapped_(*args_, **kwargs_)
File "/usr/local/lib/python3.9/site-packages/openevsewifi/__init__.py", line 526, in getUsageTotal
return self.usage_total
File "/usr/local/lib/python3.9/site-packages/openevsewifi/__init__.py", line 532, in usage_total
usage = self._send_command(command)
File "/usr/local/lib/python3.9/site-packages/openevsewifi/__init__.py", line 115, in _send_command
raise InvalidAuthentication
openevsewifi.InvalidAuthentication
My sensor.yaml:
- platform: openevse
host: !secret openevse_ip
monitored_variables:
- status
- charge_time
- rtc_temp
- ir_temp
- ambient_temp
- usage_session
- usage_total
Edit: the IP in secrets.yaml is 10.0.20.27
. If I add http://
in front, the sensors load, but all show as “unknown”. So I guess that is the wrong path to go down? I don’t use http://
for any other integration.
1 post - 1 participant