Hello all,
I am a newbie and just starting into the world of Home Assistant. I hope to get some support for rollershutters.
The history:
I control my rollershutters in the house with a PLC (Wago 750-881). I have physical switches at the wall and simple motors for the rollershutters. The PLC takes over some logic (protection, moving down shutters for sun protection, some virtual switches in the interface for enabling automatic opening and closing of the rollershuters in the morning).
I reach the position for the sun protection with a defined runtime (moving shutter completly up for time x then moving down for y seconds) - there is no position detection.
I would like to control the rollershutters als with Home Assistant now. Maybe I will put also some additional automation logic into HA in the future.
What I achieved:
I can control the movement via modbus and I have the following entities:
- shutter up (Rollade auf)
- shutter down (Rollade ab)
- shutter shading (Rollade Abschattung)
- shutter auto up/down (Rollade Auto HR controls in the PLC if the shutter will be moved up automatically in the morning and automatically down in the evening)
- shutter auto shading (Rollade Auto Abschattung - controls in the PLC if the shutter will be automatically moved down for x sec. for sun protection at specific times)
This is what the modbus cofiguration looks like (included modbus.yaml):
- name: "wago750-881"
type: tcp
host: 172.30.1.10
port: 502
timeout: 3
message_wait_milliseconds: 50
switches:
- name: "EG Büro Rollade auf"
unique_id: wago_EG_Buero_Rollade_Auf
address: 12308
write_type: coil
verify:
- name: "EG Büro Rollade ab"
unique_id: wago_EG_Buero_Rollade_Ab
address: 12309
write_type: coil
verify:
- name: "EG Büro Rollade Abschattung"
unique_id: wago_EG_Buero_Rollade_Abschattung
address: 12310
write_type: coil
verify:
- name: "EG Büro Rollade Auto HR"
unique_id: wago_EG_Buero_Rollade_Auto_HR
address: 12311
write_type: coil
verify:
- name: "EG Büro Rollade Auto Abschattung"
unique_id: wago_EG_Buero_Rollade_Auto_Abschattung
address: 12312
write_type: coil
verify:
In addition I read the digital outputs of the PLC which are used to switch ob the motors of the rollershuttters via modbus.
binary_sensors:
### Rolladen Motoren EG Büro
- name: "EG Büro Rollade Motor Auf"
address: 520
device_class: moving
input_type: coil
scan_interval: 1
#slave: 1
#slave_count: 0
unique_id: wago_DO_EG_Buero_M5_1_Rollade_AUF
- name: "EG Büro Rollade Motor Ab"
address: 521
device_class: moving
input_type: coil
scan_interval: 1
#slave: 1
#slave_count: 0
unique_id: wago_DO_EG_Buero_M5_1_Rollade_Ab
### Rolladen Motoren DG Ankleide
- name: "DG Ankleide Rollade Motor Auf"
address: 534
device_class: moving
input_type: coil
scan_interval: 1
#slave: 1
#slave_count: 0
unique_id: DO_DG_Ankleide_M13_1_Rollade_AUF
- name: "DG Ankleide Rollade Motor Ab"
address: 535
device_class: moving
input_type: coil
scan_interval: 1
#slave: 1
#slave_count: 0
unique_id: DO_DG_Ankleide_M13_2_Rollade_AB
I use also the HACS helper “Cover Time-based Component“ GitHub - duhow/hass-cover-time-based: Add a cover (time-based) to Home Assistant using switch or lights.
I created a script for Stop of the rollershutters due to the PLC doesn’t have a specific register/coil for stopping - in the physical world it is enough to press the up or down switch at the wall shortly.
Generally it is working and I can control the rollershuters with HA.
But I have another issue:
I still have physical switches which are just triggering the PLC. If they are triggered, then HA is not regonizing it and HA cover position gets out of sync (e.g. if the shutter is halfway down and the physical up button is pressed then HA still things that is is half way down.
Maybe the binary_sensors of the digital outputs (DO_DG_Ankleide_M13_1_Rollade_AUF / DO_DG_Ankleide_M13_2_Rollade_AB) could help here, but I have no clou.
I am a little bit perplexed how to solve this issues.
Does anyone have ideas how to get foward?
And I guess to set everything up for 15 rollershutters is also not fun.
Can the set up be simplified? Is it possible to create some kind of template which includes everything for one rollershutter?
Or am I thinking to complicated and it is possible to set up in a completly different way?
I am looking forward to your tips, hints and recommendations!
Best regards
Christian ![]()