Skip to content

Herzborg Binding ​

This binding supports smart curtain motors by Herzborg (http://www.herzborg.com/pro_list.aspx?TypeID=1)

Supported Things ​

  • herzborg A bridge Thing that connects to a RS485 serial bus.
  • curtain A curtain motor Thing that can be controlled via the herzborg bridge .

The binding was developed and tested using DT300TV-1.2/14 type motor; others are expected to be compatible.

Discovery ​

Due to nature of serial bus being used, no automatic discovery is possible.

Thing Configuration ​

Serial Bus Bridge (id "serial_bus") ​

ParameterMeaning
portSerial port name to use

Herzborg devices appear to use fixed 9600 8n1 communication parameters, so no other parameters are needed.

Curtain Motor Thing (id "curtain") ​

ParameterMeaning
addressAddress of the motor on the serial bus.
poll_intervalPolling interval in seconds

Channels ​

channeltypedescriptionRead-only
positionRollerShutterControls position of the curtain. Position reported back is in percent; 0 - fully closed; 100 - fully openN
modeStringReports current motor mode:Y
0 - Stop
1 - Open
2 - Close
3 - Setting
reverseSwitchReverses direction when switched onN
handStartSwitchEnable / disable hand start functionN
extSwitchStringExternal (low-voltage) switch mode:N
1 - dual channel biased switch
2 - dual channel rocker switch
3 - DC246 electronic switch
4 - single button cyclic switch
hvSwitchStringMain (high-voltage) switch mode:N
0 - dual channel biased switch
1 - hotel mode (power on while card in)
2 - dual channel rocker switch

All channels except mode are read-write.

Example ​

herzborg.things:

dsl
Bridge herzborg:serial_bus:my_herzborg_bus [ port="/dev/ttyAMA1" ]
{
    Thing herzborg:curtain:livingroom [ address=1234, poll_interval=1 ]
}

herzborg.items:

dsl
Rollershutter LivingRoom_Window {channel="herzborg:curtain:livingroom:position"}

herzborg.sitemap:

dsl
Frame label="Living room curtain"
{
    Switch item=LivingRoom_Window label="Control" mappings=["DOWN"="Close", "STOP"="Stop", "UP"="Open"]
    Slider item=LivingRoom_Window label="Position [%d %%]" minValue=0 maxValue=100
}