Skip to content

kyokeefesally/clicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clicker

TV monitoring and control over RS-232 using Raspberry Pi + USB Serial Adapter

WORK IN PROGRESS

RPi Setup Steps

Install requirements:

sudo apt-get update
sudo apt-get -y install python-pip
sudo apt-get -y install python-serial
sudo pip install paho-mqtt

Add udev rule: Connect USB Serial Adapter and run udev_pair script with sudo:

sudo python udev_pair.py

Test udev rule: Disconnect and reconnect USB Serial Adapter and run:

ls -l /dev/usb_serial

output should be:

lrwxrwxrwx 1 root root 7 Jan 20 00:25 /dev/usb_serial -> ttyUSB0

Now, regardless of USB port the adapter is connected to, or any other USB devices connected to the RPi, the USB Serial Adapter will have the persistent name: '/dev/usb_serial'

About

TV monitoring and control over RS-232 using Raspberry Pi + USB Serial Adapter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages