FHEM with CUL

FHEM is a cool software utility with a web-based GUI that is used in conjunction with different hardware devices to control amongst others FS20 and HomeMatic devices.

CUL is a little USB stick that runs an opensource firmware. It can be used to control the above devices through the air.

First time Use - Flash the Firmware

  • download the latest version of culfw and unpack it
  • cd culfw/Devices/CUL
  • apt-get install dfu-programmer
  • make usbprogram_v3

    (depends on your hardware version which is visible on the stick)

  • after flashing the green led should blink

Using it with FHEM

  • start fhem
  • run the command
    define CUL1 CUL /dev/ttyACM0@9600 1234

    in fhem

  • to pair an actor, define a new actor in fhem
    define myActor FS20 12341234 0012

    set the actor to the learning mode (by long-pressing the button) and send a on/off command through the webinterface to this actor.