Comments (12)
Hi there,
I have the Garo wallbox (model GLBDCWM-T222WO). I saw that support for it has been added in a recent release of hass-peaq and tried an install using the main branch.
I quickly found some errors in garowallbox.py regarding entity names that was easy to correct. That got rid of some errors at start-up. The first problem in the log is now:
2023-05-25 23:40:08.078 WARNING (MainThread) [custom_components.peaqev.peaqservice.chargertypes.types.garowallbox] You are initiating GaroWallbox as Chargertype. Bare in mind that this chargertype has not been signed off in testing and may be very unstable. Report findings to the developer.
<peaqevcore.services.locale.Locale.LocaleData object at 0x11bdf84f0>
[]
2023-05-25 23:40:08.449 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number
2023-05-25 23:40:08.451 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number
A bit later I have:
2023-05-25 23:40:12.390 WARNING (MainThread) [peaqevcore.models.hub.chargerswitch] Chargerobject state was None while getting current. Updatecurrent will still process but you may see a missmatch in frontend.
2023-05-25 23:41:07.956 ERROR (MainThread) [homeassistant.helpers.event] Error while processing state change for sensor.peaqev_energy_including_car
Traceback (most recent call last):
File "/Users/jonas/git/hass-peaq/venv/lib/python3.10/site-packages/homeassistant/helpers/event.py", line 288, in _async_state_change_dispatcher
hass.async_run_hass_job(job, event)
File "/Users/jonas/git/hass-peaq/venv/lib/python3.10/site-packages/homeassistant/core.py", line 577, in async_run_hass_job
hassjob.target(*args)
File "/Users/jonas/git/hass-peaq/venv/lib/python3.10/site-packages/homeassistant/components/utility_meter/sensor.py", line 366, in async_reading
for sensor in self.hass.data[DATA_UTILITY][self._parent_meter][
KeyError: 'utility_meter_data'```
And the state for sensor "Peaqev Charger controller" goes from Stop to Error.
I'm interested in continuing with this. What do you think is the best way to proceed?
from hass-peaq.
https://github.com/sockless-coding/garo_wallbox/tree/master/custom_components/garo_wallbox
from hass-peaq.
Hi, just wondering about the status regarding the GARO integration?
from hass-peaq.
Hi!
I havent heard from anyone trying to set it up (i dont have one myself so have to rely on others).
Did you attempt to install it?
from hass-peaq.
Great, yeah I need testers for Garo ;).
Ill have a look and get back with how to proceed!
from hass-peaq.
2023-05-25 23:40:08.449 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number
This particular log I think is unrelated to Garo. What do you use as power meter sensor? I don't think i'm floatparsing before putting it into the average-sensors. So i'll double check that.
from hass-peaq.
Which ones of all sensors for peaqev are unavailable for you after boot?
from hass-peaq.
@joek-makewave are these garo-states actually written in caps, or are they lower-case?
def _set_charger_states(self) -> None:
self.chargerstates[ChargeControllerStates.Idle] = ["NOT_CONNECTED"]
self.chargerstates[ChargeControllerStates.Connected] = [
"CONNECTED",
"CHARGING_PAUSED",
"CHARGING_CANCELLED",
]
self.chargerstates[ChargeControllerStates.Done] = ["CHARGING_FINISHED"]
self.chargerstates[ChargeControllerStates.Charging] = ["CHARGING"]
from hass-peaq.
@joek-makewave are these garo-states actually written in caps, or are they lower-case?
def _set_charger_states(self) -> None: self.chargerstates[ChargeControllerStates.Idle] = ["NOT_CONNECTED"] self.chargerstates[ChargeControllerStates.Connected] = [ "CONNECTED", "CHARGING_PAUSED", "CHARGING_CANCELLED", ] self.chargerstates[ChargeControllerStates.Done] = ["CHARGING_FINISHED"] self.chargerstates[ChargeControllerStates.Charging] = ["CHARGING"]
They are in lower case.
"Vehicle not connected"
"Vehicle connected"
"Charging paused"
"Charging cancelled"
"Charging finished"
"Charging"
from hass-peaq.
2023-05-25 23:40:08.449 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number
This particular log I think is unrelated to Garo. What do you use as power meter sensor? I don't think i'm floatparsing before putting it into the average-sensors. So i'll double check that.
OK. I use the load balancer of the Garo wallbox. The power sensor seems to be ok. It works as expected in other places. But I think I might have spotted an error in the Garo wallbox integration. It looks like some of the sensors in the garo wallbox integration with string state cast to int in native_value
.
from hass-peaq.
Which ones of all sensors for peaqev are unavailable for you after boot?
from hass-peaq.
I made a pull request with the changes I did for the sensor names. There is also a fix for the values of the set mode service call.
from hass-peaq.
Related Issues (20)
- Scheduler - set more than possible and short span, no charging
- Maxmin issue with avg < 0 HOT 1
- Error state on powersensor HOT 1
- Make sure change to stop calls observer
- Make sure to reset session on every disconnect
- Decrease required resolution on powersensor to lessen strain on recorder
- Scheduler, make sure current hour is not negatively calculated as permittance
- Configuration fails at setup of price aware charging HOT 5
- Redo EMA to accommodate 24h better
- Goes straight to done when connected after short idle HOT 1
- See if we need to delay failed stop attempt
- Refactor day changes to act in sequence
- Peblar
- Not recognizing that peaqev started charger (high prio)
- Scheduler done updates observed peak
- Chargerswitch (chargeamps) not turned of at peaqev done. No api-hickup
- Unhandled peaqerror when bad spotprice-update HOT 1
- Selector for pricing service favor
- Scheduler issue HOT 11
- Peaqev can't stop charger HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-peaq.