Closed pozsothereal closed 1 year ago
Hi and thank you! I was looking for a way to control a motor managing my shunt-valve for my heating system and stumbled upon this. I am already using the integration to control some floorheating-actuators successfully. Could you please elaborate how you ensure that both of the outputs are never active simultaneously? You are talking about a helper automation, how do you implement it?
Hi, the section started from 'id: floor_relay_control_1' is the exclusion automation to help keep only one climate output active at the same time.
Sorry, when i am looking at it now it is clear. I was mistaken it for the connection between the thermostat and the output, but i guess that configuration is placed somewhere else in your configuration.yaml.
I was also thinking about the PWM-periods. Are all thermostat PWM periods starting at the same time (as long as the period length is the same)? I guess otherwise it can be problem. Assuming that the the temperature is correct, the period of the thermostats are 10 seconds and the servo is first closing 5 sec and then opening 5 sec instead of just standing still for 10 seconds?
Regarding your exclusion, simple and elegant! Think I will use it in my coming control of my shunt-motor. Thank you!
No problem, btw my conf looks like this, the waiting period is manageable with the right pwm, cycle time and k values i think, try to start with this;)
- platform: smart_thermostat #https://github.com/ScratMan/HASmartThermostat
name: floor_heating_water_thermostat_decreasing
heater: input_boolean.floor_water_decreasing
target_sensor: sensor.28_00000d5e304b_temperature
min_temp: 20
max_temp: 40
# boost_pid_off: true
min_cycle_duration:
seconds: 1
min_off_cycle_duration:
seconds: 1
# sensor_stall:
# seconds: 60
cold_tolerance: 0
hot_tolerance: 0
ac_mode: true
# target_temp: 'input_number.floor_water'
keep_alive:
seconds: 10
initial_hvac_mode: cool
# outdoor_sensor: sensor.outdoor_temperature
sampling_period: 0
# milliseconds: 100
away_temp: 20
kp : 100
ki : 40
kd : 60
pwm : 00:00:04
- platform: smart_thermostat #https://github.com/ScratMan/HASmartThermostat
name: floor_heating_water_thermostat_increasing
heater: input_boolean.floor_water_increasing
target_sensor: sensor.28_00000d5e304b_temperature
min_temp: 20
max_temp: 40
# boost_pid_off: true
min_cycle_duration:
seconds: 1
min_off_cycle_duration:
seconds: 1
# sensor_stall:
# seconds: 60
cold_tolerance: 0
hot_tolerance: 0.2
ac_mode: false
# target_temp: 'input_number.floor_water'
keep_alive:
seconds: 10
initial_hvac_mode: heat
# outdoor_sensor: sensor.outdoor_temperature
sampling_period: 0
# milliseconds: 100
away_temp: 20
kp : 100
ki : 40
kd : 60
pwm : 00:00:04
Thank you for the guidance @pozsothereal, it was very helpful! It took me some time to understand that it was helpers You were using since i haven´t used such before. I have not tested the configuration to manipulate the motor but the "click" and indicated states of my relay is telling me that it is working as intended.
Hi,
Happy to help you!
Viktor
mocklarn @.***> (időpont: 2022. okt. 1., Szo, 21:56) ezt írta:
Thank you for the guidance @pozsothereal https://github.com/pozsothereal, it was very helpful! It took me some time to understand that it was helpers You were using since i haven´t used such before. I have not tested the configuration to manipulate the motor but the "click" and indicated states of my relay is telling me that it is working as intended.
— Reply to this email directly, view it on GitHub https://github.com/ScratMan/HASmartThermostat/issues/85#issuecomment-1264464636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOT4BWWYB5PGU5EHOEBX6ZLWBCJOJANCNFSM56R6PPQQ . You are receiving this because you were mentioned.Message ID: @.***>
Hello, I don't understand what is your issue ? Should this be changed to a discussion instead ?
Hi, yes sure we can, the point is to have both switch in one climate.
Like this: heater: switch.study_heater cooler: switch.study_cooler
Viktor
Hello, I don't understand what is your issue ? Should this be changed to a discussion instead ?
Hi, first thx for your good work, i would use it with a servo like mixing valve to control the primary water temp of my floor heating. It needs to be a dual climate with both heating and cooling switch unit, for turning the servo cw and ccw. Now i done this by 2 climate with altered temp of -0.1°C on one of them, and using a helper automation to keep one switch off for sure when heating/cooling is in on state. Thx in advance!
id: floor_water_temp alias: floor_water_temp trigger:
id: floor_relay_control_1 alias: relay controller 1 trigger:
id: floor_relay_control_2 alias: relay controller 2 trigger: