01-16-2013, 12:11 AM
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
2. Connect the usb cable from the UCM/USB to the PC
3. Find the name of your FTDI usb driver using
On this case ttyUSB0 is the location, you should change to wharever you find.
4. run the command:
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
6. reboot the PC and you should be done. Confirm the command is woking by issuing a
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
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 socat3. Find the name of your FTDI usb driver using
Code:
dmesg | grep FTDI4. run the command:
Code:
socat -v tcp-l:1001,reuseaddr,fork /dev/ttyUSB0,rawYou 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 socat7. Connect your IOS App or comfigurator and have fun
Caveats:
IR learner doesn\'t work
Let me know if it works for you
Cab123