Manual start charging when Authorization is required and Scheduled Charging is ON
First of all, thanks for this integration.
Is it possible to manually start the charge immediately after the authorization if the "scheduled charging mode" is set in the native app? I explain better:
I have the Native Zaptec App set to:
- "Scheduled Charging" so that it charges when the spot-price is at minimum and
- "Authorization required" set to ON, so that I have to authorize the charging when the cable is connected.
Now, the authorization works fine in HA and the charge starts according the schedule. However in the native app, after the authorization is done, there is the possibility to start immediately the charge without waiting for the scheduled time. This is done clicking (in the native app) the "start charging" button.
Is it possible to "force" the start of the charging session directly in HA if the Authorization and scheduled time is set to ON ?
I haven´t find the solution yet..
Zaptec Go
Thanks!
Short answer: This is (most likely) not possible in the current integration, but you can probably achieve the same effect by disabling "Scheduled Charging" and create your own scheduling in an HA automation.
Long answer:
The ability to override Scheduled Charging is probably what is referred to in the neither Scheduler is active (state NextScheduleEvent, 763 is set)-line in the restriction of the 507-command in the API. This case was skipped when we added restrictions on the Pause/Resume-buttons in #187 because the description was unclear, and because I assumed most users would want to control any scheduling themselves in an HA automation.
It will probably be added eventually, but requires some testing/investigation, and I don't know when it will be prioritized. It's probably a good starter issue for anyone who want's to start contributing, since the necessary changes are contained to the is_command_valid-function.
As mentioned, I think you can do the scheduling you want in an HA automation if you disable "Scheduled Charging". This also means you can keep your settings and controls in a single app (HA), and you could even expand with the Nord Pool integration to adjust automatically based on the spot prices.