Modbus set Position for covers no working "Aufrufen des Diensts cover/set_cover_position"

Hi,
i want to use the gui for set the position of the cover, but it isn’t working.

Error Message:
“Fehler beim Aufrufen des Diensts cover/set_cover_position. Entity cover.jalschlaf does not support this service”

Modbus Cover/Shutter configuration:

  • name: JalSchlaf
    device_class: shutter
    input_type: holding
    address: 12325
    state_open: 0
    state_closed: 100
    status_register: 12326
    status_register_type: holding

i can open and close the cover, but i am not be able to set the position.

NodeRed:

If i use Modbus directly to set the position it is working. How can i fix the service, for setting the position. so the gui elements which depends on it will also work?

best regards

chris

set position is not working, because the cover is not recognized for this feature:

image
What should i change?

best regards

Chris

modbus doesn’t support set position for covers

from what I can tell, you’d have to do this with a template cover that uses a modbus binary_sensor (for on/off) and a modbus sensor (for the position) and the modbus.write_register service to set the position for on/off and the position between on/off.

hi, this is working:


image

then i can use set position :slight_smile: perfect.

Hi,

is it possible to get a working example?

a) configuration ymal you allready provided
b) from the PLC configuration

Many Thanks
Daniel

Hi Daniel, the post directly above yours has a working version in the screenshot.

Hi Petro,

thanks for you replay.

I just miss the PLC Configuration. Thats my problem.

Many Thanks
Daniel

Hello,

is it possible to get the Logo programm for a shutter?

Many Thanks
Daniel

Hello everyone,

image

is this the configuration from the configuration.yaml in the modbus section for the Logo?
Or is this from another file (automations.yaml or scripts.yaml)
I think the Entry Point is missing. This confuses me…

Many Thanks
Daniel