Configuring FS20 Components with nanoCUL 868: A Step-by-Step Guide

Hello everyone, I hope this post finds you well! I’ve been diving into the world of openHAB and FS20 components, and I wanted to share my experience and some tips that might help others who are just starting out with this setup.

First, let me give you a bit of context. I’ve recently set up openHAB 2.2 on a Windows 10 machine with an Intel i5 processor, 8GB of RAM, and a 1TB HDD. My goal is to integrate FS20 components, Somfy RTS Window shutters, and Warema EWFS in my winter garden. I’ve also been exploring the possibility of adding Homematic and MAX! for heating controls in other areas of my home.

One of the first challenges I encountered was configuring the FS20 components. I ordered a nanoCUL 868 to start controlling these devices, and I wanted to make sure I got everything set up correctly. From what I understand, the FS20 binding is primarily designed for openHAB 1.10.0, so manual configuration is necessary for openHAB 2.2.

Here’s what I did: I created a fs20.cfg file with the following content:
plaintext
fs20:device=serial:/dev/ttyACM0

I also used SmartHome Designer to create the FS20.things file, which included the device configuration. For the items file, I added several switches with placeholder HEX codes to test the setup.

Now, here’s where I ran into a bit of confusion. I knew that /dev/ttyACM0 is typically used on Unix systems, but I wasn’t sure how this translates to Windows. After some research, I discovered that on Windows, the device path is usually something like COMx, where x is the port number. To find the correct port, I had to check Device Manager after plugging in the nanoCUL 868.

Once I had the correct port, I updated the fs20.cfg file accordingly. I also realized that I didn’t need to place the fs20.cfg file in /conf/services since openHAB 2.2 handles configuration files differently. Instead, placing it in /conf/things worked perfectly.

I want to emphasize how important it is to test each component after making changes. I started by ensuring that the nanoCUL 868 was recognized by my system and that the correct drivers were installed. Then, I tested each switch individually to make sure they were responding as expected.

One thing I’d like to share is that patience is key. Setting up these components can be a bit overwhelming at first, but taking it step by step and verifying each part of the configuration makes the process much smoother. I also found the openHAB community forums incredibly helpful, and I encourage anyone new to this to join in and ask questions.

In conclusion, configuring FS20 components with a nanoCUL 868 on openHAB 2.2 is definitely achievable, but it does require some careful setup and testing. I hope this guide helps someone else avoid some of the common pitfalls and get their system up and running smoothly. Happy tinkering! :smile: