This accutally workd 100% of the time but only for shutting/closing the shutter. Open wont work. When i Trigger the open command via LCN Pro or the Button on a GT12 they go back up and the Butten i created actually flips to an arrow up action. I think this indicates that it recognized the command … but why does it not trigger it ?
Hi @Shadowstrider,
first of all the LCN-Pro command “motor position” you used in your second screenshot requires a LCN-BS4 connected to the motors. Absolute motor positioning (e.g. go to position 75% open) is not implemented in the LCN cover component and the corresponding PCHK commands are not recognized.
However, if you don’t use a LCN-BS4, the command to use in LCN Pro is the “motor/Shutter” command. Otherwise the bus monitor will show you error messages when sending a down command.
I tested the covers using that command and everything worked as expected.
Implementing the absolute position control (using LCN-BS4s) does not seem to be a big deal. But as I do not own a LCN-BS4 I am not able to test it. So I never put work into it.
The LCN cover uses the exact wiring as it is given in the documentation for the R8H/R4M2H. One relay is for the motor current, the second relay for the direction.
If your wiring differs from the documentation you might have a look at the template cover component. Here you have to define a switch for each LCN relay. After that they can be used in the template cover as you like. But the configuration might be quite complicated.
Then relays 1 and 2 are used.
Your bus monitor messages look good.
Which HASS Version do you use? There were a couple of changes in the cover component in the last weeks.
Could you also post a screenshot of your frontend cover switch, please. Just to be sure we talk about the same things.
I again tested the configuration and it works on my side.
Ok, got it.
The problem here is that you want to control the cover with a single button and the toggle action. Unfortunately the usual toggle behavior is that the cover only toggles if it is in a full open or closed state. Using LCN (without BS4) we only know that after a move action the cover is opening/closing but we do not know if it is fully open or closed. However, it is assumed that if the cover stops the next time (for example by the internal time limit switch of 140secs) the cover will be in a full open or closed state. After this time interval the toggle action should work again. Maybe not an acceptable behavior.
Ok, on my side I will have a look into the LCN cover platform if it is possible to redefine the toggle method to a more useful behavior. But this might take time until the PR is accepted.
Until then you could use another Lovelace card instead of the button card in your Lovelace view. Unfortunately there is no specific card in Lovelace for covers. An easy way here would be to add a new Entities-card to your Lovelace view and select your covers as entities.
this thread is a little bit older, but probably somebody is having the same issue: The LCN-UMR is working but it looks like you have to add the reverse time command, otherwise the up an down funktion is not working correctly.
Maybe someboddy is able to help with another question: The up and down wires of my lcn modules are wired incorrectly and cant be chanced easily: up is down and down is up. Is there an option to chance the icons in the lovelance board so that up is down and down is up?
Thanks for your work till now. I’m comming from IP Symcon and now I want to switch to HA.
In my configruation.yaml I inserted the following lines:
lcn:
connections:
- name: myLCN
host: 192.168.1.123
port: 4114
username: abc
password: def
covers:
- name: KG Büro Straßenseite
address: myhome.s0.m7
motor: motor1
So ligths are fine but the covers-section does not work. There are relays (R8H/R4M2H) without BS4 on the modules. It’d great if that would work and for sure the best would it be, if it shows withoud BS4 also the percentage like on IP-Symcon.