Closed christiandulle closed 7 months ago
In the log ?
Same problem here. Both energy sensors are in Watt as required. The log does not reveal what the exact issue is. Log entry :
Error during setup of component solar_optimizer 07:42:52 – (ERROR) setup.py Your 'devices' configuration is wrong. SolarOptimizer will not be operational until you fix it 07:42:52 – (ERROR) Solar Optimizer (custom integration) 'NoneType' object has no attribute 'get' 07:42:52 – (ERROR) Solar Optimizer (custom integration)
You have a syntax error in your configuration.yaml. Your 'devices' configuration is wrong.
Can you post here your configuration.yaml hidding secrets et formatting with the <> (code markers)
This is my config file for the devices:
`devices:
entity_id: "switch.boiler"
power_max: 2000
duration_min: 15
duration_stop_min: 5
action_mode: "service_call"
activation_service: "switch/turn_on"
deactivation_service: "switch/turn_off"`
Additional info .. I got it working now, forgot the algorithm section. However ... I have no clue how to define this for a power plug (with energy metering) as in my case :
`algorithm: initial_temp: 1000 min_temp: 0.1 cooling_factor: 0.95 max_iteration_number: 1000 devices:
entity_id: "switch.boiler"
power_max: 2000
duration_min: 15
duration_stop_min: 5
action_mode: "service_call"
activation_service: "switch/turn_on"
deactivation_service: "switch/turn_off" `
When you post yaml, you should use the <> formatter option. Else it is not possible to see the real indentation problems or else.
For the algorithm options, don't touch it at first try. The default values works for every one.
Can you please close the ticket if it is now ok ?
Sure but I cannot close it as I am not the original author.
Hello @christiandulle , is it ok for you ? Can you close the ticket if yes.
I tried to integrate within Home Assistant instance on Raspberry. I only get the error message "Couldnt integrate". where can i find the actuel problem?
kind regards