Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eddi reverting mode by itself #616

Open
Keysersose12 opened this issue Jan 8, 2025 · 11 comments
Open

Eddi reverting mode by itself #616

Keysersose12 opened this issue Jan 8, 2025 · 11 comments

Comments

@Keysersose12
Copy link

Similar to the issue regarding the zappi, i have the same issue recently with the eddi hot water diverter. Its reverting the mode without any input from me. For example last night I had an automation to set the eddi to normal mode at midnight so I can heat the water at a cheaper rate and 46 seconds later it decided to change the mode to stopped. In recent weeks I noticed it was turning on to heat hot water during the day when I have an automation to disable that in the morning. This was first night it reverted the mode after midnight.

This is mode change last night

myenergi eddi-23301313 Operating Mode changed to Stopped
12:00:46 AM - 20 hours ago
myenergi eddi-23301313 Operating Mode changed to Normal triggered by automation Eddi on at midnight triggered by time
12:00:00 AM - 20 hours ago

@G6EJD
Copy link

G6EJD commented Jan 8, 2025

So this is an Home Assistant issue whereby an Automation is causing uncertain behaviour, you need to be reporting this to the HA developers.

@Keysersose12
Copy link
Author

It's happening outside of the automation. I'm saying the automation is changing the mode as required and sometime after the automation has finished its job something else is making the eddi change it's operating mode.

@G6EJD
Copy link

G6EJD commented Jan 8, 2025

So if you disable the automation you're saying the Eddi mode is still being changed - which I doubt?

@AJediIAm
Copy link

It's happening outside of the automation. I'm saying the automation is changing the mode as required and sometime after the automation has finished its job something else is making the eddi change it's operating mode.

I think this is the right spot to discuss the issue.
There are other integration which had similar problems. The root cause can be with MyEnergi server, the integration, home assistant or the interactions between the components. It's not always the same.

@Keysersose12: While this issue is being investigated, you can create a helper and automation to try to force the desired state.

In the example below, an input boolean helper is used to capture the desired state.
The automation will enforce the desired state onto the zappi charger in this case.
When a user changes the desired state, the automation will update the zappi charger in this case to take the desired state.
If the zappi charger would revert mode by itself, the automation would trigger again and set the zappi back to the desired state.

description: ""
mode: single
triggers:
  - trigger: state
    entity_id:
      - select.myenergi_zappi_charge_mode
    for:
      hours: 0
      minutes: 0
      seconds: 2
conditions: []
actions:
    # IF charge mode is on and expected charge mode is off
  - if:
      - condition: state
        entity_id: select.myenergi_zappi_charge_mode
        state: Fast
      - condition: state
        entity_id: input_boolean.charger_fast_override
        state: "off"
    then:
      - action: select.select_option
        metadata: {}
        data:
          option: Stopped
        target:
          entity_id: select.myenergi_zappi_charge_mode
    # IF charge mode is off and expected charge mode is on
  - if:
      - condition: state
        entity_id: select.myenergi_zappi_charge_mode
        state: Stopped
      - condition: state
        entity_id: input_boolean.charger_fast_override
        state: "on"
    then:
      - action: select.select_option
        metadata: {}
        data:
          option: Fast
        target:
          entity_id: select.myenergi_zappi_charge_mode

I use this strategy to overcome a firmware bug with my a particular zigbee lamp. It's an effective workaround for years, but I can't test it with Zappi since I don't experience the revert issue myself.

Keep an eye on the logbook to see if it works as expected.

I hope it helps.

@ajdunlop
Copy link

ajdunlop commented Jan 22, 2025

I seem to also be experiencing this problem or something similar.

I have an automation to put my Eddi into the 'Stopped' state when I am exporting to the grid from my battery to stop it thinking this is excess PV export. I haven't been running this automation recently until this week but I noticed that the Eddi had reverted back to 'Normal' mode.

I've tried this with a different automation and have had the same behaviour. Sometimes it flips a couple of times sometimes it just goes back to the original state within a few seconds to a minute after home assistant has changed it.

I have also verified the same behaviour when I manually change the operating mode from home assistant so it isn't specific to automations.

I am on the latest release of the home assistant pligin v0.0.29 and Home Assistant 2025.1.2

@AndyBowden
Copy link

AndyBowden commented Jan 22, 2025

It's affecting me too when I run an HA automation to stop the Eddi.
Additionally, Eddi reverts to Normal shortly after me setting it to Stopped by means of the iPhone app, but if I shut down HA the Eddi stays in Stopped if set by the app.

@AndyBowden
Copy link

Further to my post last evening, during the night my eddi reverted to Normal.
I've implemented an automation similar to that proposed in:
#616 (comment)

This morning the Eddi is toggling between Stopped and Normal with the automation being trigger by every change to Normal.

As yet, I've found no pattern in the timing of the changes from Stopped to Normal nor anything in a DEBUG log to explain them.

@e10kstarfire
Copy link

I am having the same issue also, my Eddi is reverting any changes I perform from HA within a few minutes.

I have resorted to having to call the action multiple times with a wait period in between to get my desired state to "stick"

@garmcqui
Copy link

garmcqui commented Mar 4, 2025

Just to add to this, I am also seeing similar behaviour in home assistant with my Eddi (and sometimes with Zappi too).

Image

What is the cause, and possible solution? Thanks

@AndyBowden
Copy link

I'm still seeing the effect, but I'm no wiser what might be causing it.

@sjoram
Copy link

sjoram commented Mar 10, 2025

I too cannot seem to use HA to change the Eddi state anymore. It reverts immediately to the state before the change. Even when I try directly from the Device screen it doesn't work. I can only change through the App which then reports back properly to HA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants