Replies: 1 comment 2 replies
-
The error you're getting indicates that Predbat can't read or set the charge start time In the sample luxpower apps.yaml https://raw.githubusercontent.com/springfall2008/batpred/main/templates/luxpower.yaml it has
You probably need to change these to time.lux_ac_charge_start1 and time.lux_ac_charge_end1 if these are what your integration provides |
Beta Was this translation helpful? Give feedback.
2 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Hi everyone. I'm trying to convince Predbat to play ball with a Luxpower inverter. I'm new to HA but I've read the documentation thoroughly and got as far as I can. I am getting the following error in the log file:
"Error: Inverter 0 unable to read charge window time as charge_start_time or charge_end_time is None"
This is what I have in apps.yaml relating to the inverter, I have left it alone so far:
num_inverters: 1
inverter_type: LuxPower
inverter:
name: "LuxPower"
has_rest_api: False
has_mqtt_api: False
has_service_api: True
output_charge_control: "current"
current_dp: 0
has_charge_enable_time: False
has_discharge_enable_time: False
has_target_soc: True
has_reserve_soc: False
has_timed_pause: False
charge_time_format: "HH:MM:SS"
charge_time_entity_is_option: False
soc_units: "%"
num_load_entities: 1
has_ge_inverter_mode: False
time_button_press: False
clock_time_format: "%Y-%m-%d %H:%M:%S"
write_and_poll_sleep: 10
has_time_window: False
support_charge_freeze: False
support_discharge_freeze: False
charge_start_service:
service: switch.turn_on
entity_id: "switch.lux_ac_charge_enable"
charge_stop_service:
service: switch.turn_off
entity_id: "switch.lux_ac_charge_enable"
discharge_start_service:
service: switch.turn_on
entity_id: "switch.lux_force_discharge_enable"
discharge_stop_service:
service: switch.turn_off
entity_id: "switch.lux_force_discharge_enable"
all four of the above entities are on/off switches which enable the charge/discharge schedules, they do not define the times. They are also all enabled and visible in HA.
Charge and Discharge has 3 time slots for each which you can define in the Luxpower app. These have appeared as the following entities:
time.lux_ac_charge_start1
time.lux_ac_charge_end1
time.lux_force_charge_start1
time.lux_force_charge_end1
time.lux_force_discharge_start1
time.lux_force_discharge_end1
(etc, up to 3)
There are also a matching set of entities starting with number.lux_ac_charge_start1 etc.
I'm sure this is a simple setting to change somewhere.. could someone point me in the right direction please?
(happy to share my apps.yaml if that helps)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions