# Modbus binding of rollershutter

**URL:** <https://community.openhab.org/t/modbus-binding-of-rollershutter/3273>\
**Category:** Bindings\
**Tags:** openhab, modbus, binding\
**Created:** [October 12, 2015, 2:42pm UTC](https://community.openhab.org/t/modbus-binding-of-rollershutter/3273 "2015-10-12T14:42:45Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Jens\_Zeidler](https://community.openhab.org/user_avatar/community.openhab.org/jens_zeidler/32/42106_2.png) [@Jens\_Zeidler](https://community.openhab.org/u/Jens_Zeidler)\
**Post date:** [November 25, 2015, 3:24pm UTC](https://community.openhab.org/t/modbus-binding-of-rollershutter/3273/10 "2015-11-25T15:24:33Z")

</div>

Hi,

Sorry for my late reply but currently I only have limited time for this topic.

1. When you have a look at `ModbusGenericBindingProvider.java::validateItemType(...)` you will see that RollershutterItem.class is not supported. That means whatever you do with Rollershutter items and Modbus binding will not work.

2. So I took the decision to implement the modbus Rollershutter binding by my own.

3. How does it work: The Modbus binding needs to be configured as follows:  
`{ modbus:slave1:>readReg:<writeReg) }`

As you can see I need 2 consecutive `writeReg` to control the rollershutter. This was the only way to have a quick and simple implementation inside the modus-binding module.  
Furthermore it is important to know that both `writeReg` needs to be cleared with ZERO after the command has been processed by the modus controller.

1. I have to check how I can deploy my code to the github-repository. Or am I allowed to upload my SNAPSHOT version directly here in this post?

Cheers.

---

_[View the full topic](https://community.openhab.org/t/modbus-binding-of-rollershutter/3273)._
