You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Setting three to one phase switch current to X.X failed
Also in the Zaptec App there is a toggle button 'Use only 1 phase'. This swich/toggle button cannot be set, it does not change through the integration.
Thanks for the screenshots. The most likely cause is that your installation uses Automatic charging (Automatisch laden) with the Sense P1. In that mode Zaptec's power management controls the installation. Zaptec's API then rejects every change to installation settings, including the 3‑to‑1 phase switch current (Terugschakelen van drie naar één fase). That's why every value fails while reading still works. #309 is about the same problem.
To confirm:
Temporarily switch the charging mode to Default charging (Standaard Laden) in the Zaptec app and set the value again. It should work then.
Or enable debug logging for custom_components.zaptec and share the failing request. We expect an HTTP 500 with Cannot update installation when using APM.
This limit is set by Zaptec, not by the integration, so the integration can't get around it. #427 will at least show this reason in Home Assistant instead of the generic "failed" message.
Okay, so when Automatic charging (Automatisch laden) with the Sense P1 is enabled the phase switching will not work. Only when the charging mode is set to Default charging (Standaard Laden) the phase switch will work. So how to overcome this issue? I want to switch phases when the cable is not connected, so not during the loading session. Because the Renault Zoe cannot handle this. So I was thinking, is it possible to automate this as follows: select charging mode Default Charging, switch the phase, select charging mode Automatic. Will this work you think? Is this possible? Maybe with pauses in between? What is the entity called to select the charging mode? Kind regards, Karansingh Lala
-------- Oorspronkelijk bericht --------Van: rhammen ***@***.***> Datum: 01-11-2026 15:34 (GMT+01:00) Aan: custom-components/zaptec ***@***.***> Cc: karansinghlala ***@***.***>, Author ***@***.***> Onderwerp: Re: [custom-components/zaptec] Switching phases 3 to 1 or 1 to 3 fails (Issue #449) rhammen left a comment (custom-components/zaptec#449)
Thanks for the screenshots. The most likely cause is that your installation uses Automatic charging (Automatisch laden) with the Sense P1. In that mode Zaptec's power management controls the installation. Zaptec's API then rejects every change to installation settings, including the 3‑to‑1 phase switch current (Terugschakelen van drie naar één fase). That's why every value fails while reading still works. #309 is about the same problem.
To confirm:
Temporarily switch the charging mode to Default charging (Standaard Laden) in the Zaptec app and set the value again. It should work then.
Or enable debug logging for custom_components.zaptec and share the failing request. We expect an HTTP 500 with Cannot update installation when using APM.
This limit is set by Zaptec, not by the integration, so the integration can't get around it. #427 will at least show this reason in Home Assistant instead of the generic "failed" message.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
Okay, so when Automatic charging (Automatisch laden) with the Sense P1 is enabled the phase switching will not work. Only when the charging mode is set to Default charging (Standaard Laden) the phase switch will work. So how to overcome this issue? I want to switch phases when the cable is not connected, so not during the loading session. Because the Renault Zoe cannot handle this. So I was thinking, is it possible to automate this as follows: select charging mode Default Charging, switch the phase, select charging mode Automatic. Will this work you think? Is this possible? Maybe with pauses in between? What is the entity called to select the charging mode? Kind regards, Karansingh Lala
You can try, but if I recall correctly this will NOT work.
As stated in the Zaptec App:
Automatisch laden: de beschikbare stroom wordt beheerd door Zaptect Sense
(Automatic charging: the available current is controlled by Zaptec Sense).
So in Automatic mode, I expect the Sense to override any charging current limit/3-to-1-phase switching current you have set while in Default mode (Standaard laden).
Why would they otherwise disable this 3-to-1-phase switching current setting while in Automatic Charging mode?
If you want manual control over the charging current/3-to-1-phase switching current, I expect you cannot use the Automatic Charging mode. You then must use either the Standaard Laden or Gepland Laden options.
But give it a try...
NOTE
The Zaptec API does not offer the possibility to set the charging mode.
So you need to set the charging mode in the official Zaptec App, you cannot do that using this integration.
Thank you for your quick response. In the app, when Automatic Mode is on, I can turn on/off use-1-phase-only. Why is this protected from outside? An other possibility is to set the Ampère to 32 or 0. But rhis won't also work because of the Automatic Mode? I want to use the Sense of course because of the protection. How to solve this issue? Or is this impossible because of the protection/limitation of the API?Do you have contact with Zaptec about this issue? So for now, if I want to switch phases, I have to use the Zaptec App or the Portal. And it is not possible to automate this, am I correct? Kind regards, Karansingh Lala
-------- Oorspronkelijk bericht --------Van: rhammen ***@***.***> Datum: 03-11-2026 19:14 (GMT+01:00) Aan: custom-components/zaptec ***@***.***> Cc: karansinghlala ***@***.***>, Author ***@***.***> Onderwerp: Re: [custom-components/zaptec] Switching phases 3 to 1 or 1 to 3 fails (Issue #449) rhammen left a comment (custom-components/zaptec#449)
Okay, so when Automatic charging (Automatisch laden) with the Sense P1 is enabled the phase switching will not work. Only when the charging mode is set to Default charging (Standaard Laden) the phase switch will work. So how to overcome this issue? I want to switch phases when the cable is not connected, so not during the loading session. Because the Renault Zoe cannot handle this. So I was thinking, is it possible to automate this as follows: select charging mode Default Charging, switch the phase, select charging mode Automatic. Will this work you think? Is this possible? Maybe with pauses in between? What is the entity called to select the charging mode? Kind regards, Karansingh Lala
You can try, but if I recall correctly this will NOT work.
As stated in the Zaptec App:
Automatisch laden: de beschikbare stroom wordt beheerd door Zaptect Sense
(Automatic charging: the available current is controlled by Zaptec Sense).
So in Automatic mode, I expect the Sense to override any charging current limit/3-to-1-phase switching current you have setals volgt automatiseren while in Default mode (Standaard laden).
Why would they otherwise disable this 3-to-1-phase switching current setting while in Automatic Charging mode?
If you want manual control over the charging current/3-to-1-phase swithcign current, I expect you cannot use the Automatic Charging mode. You then must use either the Standaard Laden or Gepland Laden options.
But give it a try...
NOTE
The Zaptec API does not offer the possibility to set the charging mode.
So you need to set the charging mode in the official Zaptec App, you cannot do that using this integration.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
My previous response was about the 3-to-1-phase switching current (0A vs 32A).
As I explained, I expect this will not work because in Automatic mode the current is controlled by the Sense P1.
The "Gebruik alleen 1 fase" (use 1 phase only) setting in the app is not currently available in this integration.
I checked and it is available in the Zaptec API. I tested, and reading the setting works fine, but writing the settings via the API does not seem to work: I get a 200 (=OK) HTTP code response, which suggests the write was accepted, but the switch does not actually change.
That means adding such switch to the integration would not bring anything.
I think there are 2 options for you:
you use the Sense P1, so "Automatic charging", and you use the "Gebruik alleen 1 fase" (use 1 phase only) switch in the Zaptec App.
You can use this integration to read all kind of values but you cannot control the phases used from within this integration.
you use "Default charging", so basically do not use the Sense P1. You can control the phases used and the max. current per phase from within this integration and with HA automations. If you have a P1 meter (NOT Sense P1) connected directly to HA, you can build some automation(s) that set the current used by Zaptec based on the values of the currents/powers of the P1 meter.
This 2nd option is what I personally have chosen to do: I also have a Sense P1, and like you I also found out that with it enabled (mode: "Automatic charging") I have too little control over what I want. So I decided to use the Standard charging mode instead.
But Note: I am not using the maximum power with my Zaptec (I have a Hybrid car, so charging it even at lower power goes fast enough), so max. current per phase protection is not at the top of my list.
This integration is not directly affiliated to Zaptec. If you need any support or have feature requests regarding you Zaptec charger, contact your installer and/or Zaptec directly.
In #192 we do collect Zaptec API features we would like to have for this integration, and Zaptec people occasionally have forwarded our feedback back to Zaptec. But so far actual changes to the Zaptec API as a result of this are (close to?) None, so I would not count on that.
Hello,I tested the entity "terugschakelen van drie naar één fase (A)" which sets 32 or 0 in HA.In situation Standaard Laden this works perfect.In situation Automatisch Laden it fails via HA.In situation Automatisch Laden when I use the Zaptec Portal en enter 0 or 32 it works just fine!I contacted Zaptec and they say that it should work. See also https://docs.zaptec.com/docs/3-to-1-phase-switching-with-zaptec-go-2Gemini answers: Dat bewijst dat de Zaptec-installatie het in Automatic Mode wél ondersteunt, maar dat de Home Assistant Zaptec-integratie het verkeerde API-endpoint of een foutieve validatie gebruikt wanneer de modus op Automatic staat (een bekende bug in de Python-bibliotheek achter de HACS-integratie, waarbij availableCurrentPhase of threeToOnePhaseSwitchCurrent via een verouderde call wordt verstuurd).So the call is deprecated. Could you please look into this please 🙏. Thank you very much! Kind regards, Karansingh Lala
-------- Oorspronkelijk bericht --------Van: rhammen ***@***.***> Datum: 03-11-2026 21:07 (GMT+01:00) Aan: custom-components/zaptec ***@***.***> Cc: karansinghlala ***@***.***>, Author ***@***.***> Onderwerp: Re: [custom-components/zaptec] Switching phases 3 to 1 or 1 to 3 fails (Issue #449) rhammen left a comment (custom-components/zaptec#449)
My previous response was about the 3-to-1-phase switching current (0A vs 32A).
As I explained, I expect this will not work because in Automatic mode the current is controlled by the Sense P1.
The "Gebruik alleen 1 fase" (use 1 phase only) setting in the app is not currently available in this integration.
I checked and it is available in the Zaptec API. I tested, and reading the setting works fine, but writing the settings via the API does not seem to work: I get a 200 HTTP code response, which suggests the write was accepted, but the switch does not actually change.
That means adding such switch to the integration would not bring anything.
I think there are 2 options for you:
you use the Sense P1, so "Automatic charging", and you use the "Gebruik alleen 1 fase" (use 1 phase only) switch in the Zaptec App.
You can use this integration to read all kind of values but you cannot control the phases used from within this integration.
you use "Default charging", so basically do not use the Sense P1. You can control the phases used and the max. current per phase from within this integration and with HA automations. If you have a P1 meter (NOT Sense P1) connected directly to HA, you can build some automation(s) that set the current used by Zaptec based on the values of the currents/powers of the P1 meter.
This 2nd option is what I personally have chosen to do: I also have a Sense P1, and like you I also found out that with it enabled (mode: "Automatic charging") I have too little control over what I want. So I decided to use the Standard charging mode instead.
But Note: I am not using the maximum power with my Zaptec (I have a Hybrid car, so charging it even at lower power goes fast enough), so max. current per phase protection is not at the top of my list.
This integration is not directly affiliated to Zaptec. If you need any support or have feature requests regarding you Zaptec charger, contact your installer and/or Zaptec directly.
In #192 we do collect Zaptec API features we would like to have for this integration, and Zaptec people occasionally have forwarded our feedback back to Zaptec. But so far actual changes to the Zaptec API as a result of this are (close to?) None, so I would not count on that.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
You also confirmed that it works in Standard charging, so the call itself is correct.
Why do you believe this endpoint is deprecated, and which endpoint do you think is the correct one? Please share a link to Zaptec documentation if you have one. I can't find any replacement endpoint.
Q5.2 says that when Eco Mode, Schedule or APM (Automatic charging / Sense) is active, updates through POST /api/installation/{id}/update should be treated as not supported, and may be rejected with error 527. In my own tests in Automatic charging, the API returns HTTP 500 with Cannot update installation when using APM.
Can you check whether that's what happens for you?
Go to Settings → Devices & services → Zaptec → Enable debug logging.
Make sure the installation is in Automatic charging, then set the 3-to-1 phase switch current to 0 or 32 in HA.
Turn debug logging off again; HA then offers the log as a download. Look for failed with status 500 and the PAYLOAD line right after it.
If you see that error, please send it to Zaptec together with the FAQ link and ask them:
Why do they say it should work in Automatic charging, when their own FAQ says it's not supported and their API rejects it?
Why does changing the same value in the Zaptec Portal work in Automatic charging, but not through the public API?
The integration can only use the public API, so if Zaptec blocks the change there, we can't work around it.
The first check is that the installation is in Default mode, with no Eco, APM or Schedule active. Otherwise the installation should be treated as "not externally controllable". You can see the mode in GET /api/installation/{id}, which the integration already polls:
availableCurrentMode: 0 = Manual, 1 = Schedule, 2 = Auto
#427 is a related open PR. It turns Zaptec's error response, including this 527 rejection, into a clear message in HA instead of a generic error. It doesn't block the change up front: the request is still sent and Zaptec still rejects it. A pre-check like Q7.1 could be a follow-up.
Either way, according to the FAQ, the setting can't be changed through the API in Automatic charging. @karansinghlala, please ask Zaptec why they told you it should work when their own FAQ says otherwise.
Activity
karansinghlala commentedon Oct 30, 2026
I want to set 0 or 32 to switch to 1 or 3 phases.
karansinghlala commentedon Oct 30, 2026
This is the other way in the Zaptec App to force 1 phase (unable to set):
rhammen commentedon Nov 1, 2026
Thanks for the screenshots. The most likely cause is that your installation uses Automatic charging (Automatisch laden) with the Sense P1. In that mode Zaptec's power management controls the installation. Zaptec's API then rejects every change to installation settings, including the 3‑to‑1 phase switch current (Terugschakelen van drie naar één fase). That's why every value fails while reading still works. #309 is about the same problem.
To confirm:
custom_components.zaptecand share the failing request. We expect an HTTP 500 withCannot update installation when using APM.This limit is set by Zaptec, not by the integration, so the integration can't get around it. #427 will at least show this reason in Home Assistant instead of the generic "failed" message.
karansinghlala commentedon Nov 3, 2026
rhammen commentedon Nov 3, 2026
You can try, but if I recall correctly this will NOT work.
As stated in the Zaptec App:
Automatisch laden: de beschikbare stroom wordt beheerd door Zaptect Sense
(Automatic charging: the available current is controlled by Zaptec Sense).
So in Automatic mode, I expect the Sense to override any charging current limit/3-to-1-phase switching current you have set while in Default mode (Standaard laden).
Why would they otherwise disable this 3-to-1-phase switching current setting while in Automatic Charging mode?
If you want manual control over the charging current/3-to-1-phase switching current, I expect you cannot use the Automatic Charging mode. You then must use either the Standaard Laden or Gepland Laden options.
But give it a try...
NOTE
The Zaptec API does not offer the possibility to set the charging mode.
So you need to set the charging mode in the official Zaptec App, you cannot do that using this integration.
karansinghlala commentedon Nov 3, 2026
rhammen commentedon Nov 3, 2026
My previous response was about the 3-to-1-phase switching current (0A vs 32A).
As I explained, I expect this will not work because in Automatic mode the current is controlled by the Sense P1.
The "Gebruik alleen 1 fase" (use 1 phase only) setting in the app is not currently available in this integration.
I checked and it is available in the Zaptec API. I tested, and reading the setting works fine, but writing the settings via the API does not seem to work: I get a 200 (=OK) HTTP code response, which suggests the write was accepted, but the switch does not actually change.
That means adding such switch to the integration would not bring anything.
I think there are 2 options for you:
you use the Sense P1, so "Automatic charging", and you use the "Gebruik alleen 1 fase" (use 1 phase only) switch in the Zaptec App.
You can use this integration to read all kind of values but you cannot control the phases used from within this integration.
you use "Default charging", so basically do not use the Sense P1. You can control the phases used and the max. current per phase from within this integration and with HA automations. If you have a P1 meter (NOT Sense P1) connected directly to HA, you can build some automation(s) that set the current used by Zaptec based on the values of the currents/powers of the P1 meter.
This 2nd option is what I personally have chosen to do: I also have a Sense P1, and like you I also found out that with it enabled (mode: "Automatic charging") I have too little control over what I want. So I decided to use the Standard charging mode instead.
But Note: I am not using the maximum power with my Zaptec (I have a Hybrid car, so charging it even at lower power goes fast enough), so max. current per phase protection is not at the top of my list.
This integration is not directly affiliated to Zaptec. If you need any support or have feature requests regarding you Zaptec charger, contact your installer and/or Zaptec directly.
In #192 we do collect Zaptec API features we would like to have for this integration, and Zaptec people occasionally have forwarded our feedback back to Zaptec. But so far actual changes to the Zaptec API as a result of this are (close to?) None, so I would not count on that.
karansinghlala commentedon Nov 15, 2026
rhammen commentedon Nov 15, 2026
Thanks for testing, that's useful information.
The integration uses exactly the endpoint that Zaptec documents for this setting:
POST https://api.zaptec.com/api/installation/{id}/updatewith body{"threeToOnePhaseSwitchCurrent": <value>}threeToOnePhaseSwitchCurrentis a documented field, and the page has no deprecation notice.0= three phases,32= one phase.You also confirmed that it works in Standard charging, so the call itself is correct.
Why do you believe this endpoint is deprecated, and which endpoint do you think is the correct one? Please share a link to Zaptec documentation if you have one. I can't find any replacement endpoint.
In fact, Zaptec's own developer FAQ says this is expected:
https://docs.zaptec.com/docs/zaptec-load-balancing-telemetry-developer-faq#q52-when-a-nondefault-mode-is-active-can-an-external-system-still-perform-load-balancing-via-post-apiinstallationidupdate
Q5.2 says that when Eco Mode, Schedule or APM (Automatic charging / Sense) is active, updates through
POST /api/installation/{id}/updateshould be treated as not supported, and may be rejected with error 527. In my own tests in Automatic charging, the API returns HTTP 500 withCannot update installation when using APM.Can you check whether that's what happens for you?
failed with status 500and thePAYLOADline right after it.If you see that error, please send it to Zaptec together with the FAQ link and ask them:
The integration can only use the public API, so if Zaptec blocks the change there, we can't work around it.
rhammen commentedon Nov 15, 2026
A small addition: Q7.1 of the same Zaptec FAQ lists the checks to run before calling
POST /api/installation/{id}/update:https://docs.zaptec.com/docs/zaptec-load-balancing-telemetry-developer-faq#q71-what-prechecks-are-recommended-before-calling-post-apiinstallationidupdate-for-load-balancing
The first check is that the installation is in Default mode, with no Eco, APM or Schedule active. Otherwise the installation should be treated as "not externally controllable". You can see the mode in
GET /api/installation/{id}, which the integration already polls:availableCurrentMode: 0 = Manual, 1 = Schedule, 2 = AutoenabledFeatures: bitmask with 4 = APM, 8 = Eco Mode, 16 = Schedule#427 is a related open PR. It turns Zaptec's error response, including this 527 rejection, into a clear message in HA instead of a generic error. It doesn't block the change up front: the request is still sent and Zaptec still rejects it. A pre-check like Q7.1 could be a follow-up.
Either way, according to the FAQ, the setting can't be changed through the API in Automatic charging. @karansinghlala, please ask Zaptec why they told you it should work when their own FAQ says otherwise.