cathiele / goecharger Goto Github PK
View Code? Open in Web Editor NEWPython API for accessing the go-eCharger EV-Charger via local http-Endpoint
License: MIT License
Python API for accessing the go-eCharger EV-Charger via local http-Endpoint
License: MIT License
see goecharger/go-eCharger-API-v1#6
tma is an array of 4 sensors, that actually give plausible values.
It started today and I have no clue why as I haven't changed anything, FW is still 0.41....
2022-11-06 20:39:48.401 ERROR (MainThread) [custom_components.goecharger] Unable to fetch state for Charger Garage
2022-11-06 20:39:48.402 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 348, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 533, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 571, in _async_write_ha_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 539, in _stringify_state
if (state := self.state) is None:
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 970, in state
if (is_on := self.is_on) is None:
File "/config/custom_components/goecharger/switch.py", line 122, in is_on
return True if self.coordinator.data[self._chargername][self._attribute] == "on" else False
KeyError: 'Garage'
Hi
after updating HA to 2024.3 I get the following warning:
TEMP_CELSIUS was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/cathiele/homeassistant-goecharger/issues
ENERGY_KILO_WATT_HOUR was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/cathiele/homeassistant-goecharger/issues
and in second warning:
STATE_CLASS_TOTAL_INCREASING was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/cathiele/homeassistant-goecharger/issues
Can look for this?
regards
Georg
Hey,
it seems that some behaviour with amp/amx changed with the new firmware version.
I am using amx to set the actual power flow and until the new firmware was released it was set and then reading the amp value was the one which was set via amx.
Now the amp value is not changed anymore it seems, can you confirm this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.