telegram bot 제 2탄

텔레그램 봇을 만들어 보았었지요.

이번엔 그 두 번째 이야기.

HVAC IR Remote라는 라즈베리파이에 올릴 수 있는 IR Transceiver를 구매하고,
원격에서 집에 있는 장치를 리모콘 조작하듯이 켜고 끌 수 있는 것을 만들어 보았습니다.

Github :

# hvac-telegram-bot

## My Hardware

* Raspberry Pi Model B. (old one)
* HVAC IR Remote for arduino / Raspberry Pi

## Setting up HVAC IR Remote for LIRC

* Instructions


* Install lirc package

sudo apt-get install lirc

* Configure kernel module

vi /etc/modules
lirc_rpi gpio_in_pin=18 gpio_out_pin=23
> note I/O port is different than above documentation.
> You can find GPIO port for HVAC IR Remote in arduPi.cpp

vi /etc/lirc/hardware.conf
> see above document

vi /etc/lirc/lirc_options.conf
> set driver to 'default'

* Record IR signal or obtain configuration file.

> My testing board didn't work as expected.
> I can only control IR LED, two buttons, two indication LEDs. but can't read IR signal. I don't know board is broken or something.

## Preparations

following my own blog

### python-telegram-bot
> I tried
git clone

cd python-telegram-bot
git submodule update

> But, today I changed plan.

## programming part

> I referenced

> quickly created

Published by

Deokgon Kim

IT Engineer. Linux.

Leave a Reply

Your email address will not be published. Required fields are marked *