syssi / homeassistant-goecharger-mqtt

go-eCharger integration for Home Assistant using the MQTT API
Apache License 2.0
88 stars 18 forks source link

Services not working in current release (0.24.x) #159

Open 4homeassistant opened 5 months ago

4homeassistant commented 5 months ago

For some reason the services in the current release seemed to stop working. I just went back to version 0.23 and it is working again but cannot say if it happend with 0.24 or 0.24.1 since I upgraded directly from 0.23 to 0.24.1. Can someone confirm or refute this behaviour? Just saw that there has been a change in 0.24 https://github.com/syssi/homeassistant-goecharger-mqtt/pull/128 that may cause the issue but am no expert. We've got two different go-e chargers: a Home Fix 11 kW from 2022 and a Gemini Fix 11 kW from 2023, are on the current HA release and had the issue on both chargers.

syssi commented 5 months ago

Could you describe the issue in detail? Aren't the sensors updated anymore or are service calls broken?

4homeassistant commented 5 months ago

Thank you @syssi, only the service calls are broken. Everything else is fine. I've got a couple of automations and templates based on services calls that didn't work anymore after updating and also doublechecked with the developer tools.

4homeassistant commented 5 months ago

I also downgraded the chargers firmware to the last known working version (56.1). Can you see that behaviour in your environment?

jusii commented 5 months ago

Same happaned to me, downgraded back to 0.23

Also have made load balancing like this, and it no longer works 0.24+

service: goecharger_mqtt.set_config_key
data:
  serial_number: xxxxxx
  key: amp
  value: "{{ (states.number.go_echarger_201199_amp.state |float|round(0) - 1)}}"
syssi commented 5 months ago

Uh, may be I have an idea what's going on. The unique_id has changed probably and there is another go_echarger_201199_amp entity next to the initial one because of the changed ID. I will have a look!

syssi commented 3 months ago

Please check the MQTT topics / the MQTT traffic of your charger. Does the topics start with or without a slash? How did you configure the integration? Does the integration configuration expect a slash or not?

4homeassistant commented 3 months ago

I am not sure if I am on the right track. Just checked the MQTT output from both chargers with MQTT analyzer and they both start with a slash. Same in the debug Informations of the MQTT integration.

4homeassistant commented 2 months ago

Hi @syssi, is there anything I can do to help you identifying the issue?