Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access your Comfort with a UCM/USB
#1
Hi,

there is a really simple way to connect to comfort via network without having to get a dedicated UCM/Ethernet. It is really useful to connect iphone app or program with comfigurator without having to be in the same room.

What you need:
UCM/USB
some hardware that runs linux. You can get a PC, a RPi or a router with ddwrt. I tried all and RPi is what i currently use.

1. Get in the cli and install socat
Code:
sudo apt-get install socat
2. Connect the usb cable from the UCM/USB to the PC

3. Find the name of your FTDI usb driver using
Code:
dmesg | grep FTDI
On this case ttyUSB0 is the location, you should change to wharever you find.

4. run the command:
Code:
socat -v tcp-l:1001,reuseaddr,fork /dev/ttyUSB0,raw
You shoud have the PC listening on port 1001 and sending all packets to the serial connection. the -v option is to see the actual communication.

You can now connect for example the comfigurator prog and set up a connection setting the IP address of your PC and the port = 1001.

When you\'re done abort with ctrl+c

5. append to the end of the file /etc/rc.local (before \"exit 0\") the command so it will activte upon boot
Code:
/usr/bin/socat tcp-l:1001,reuseaddr,fork /dev/ttyUSB0,raw &

6. reboot the PC and you should be done. Confirm the command is woking by issuing a
Code:
ps -ef | grep socat

7. Connect your IOS App or comfigurator and have fun

Caveats:
IR learner doesn\'t work


Let me know if it works for you
Cab123
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.