2019 May IoT project

As I previously posted, I made a WiFi AC remote controller project. see telegram bot for HVAC

Today, I begin a new project to go further.

I purchased another Raspberry Pi 3 Model B, AND Raspberry Pi Sensor Kit. (http://m.eleparts.co.kr/goods/view?no=3730500 and http://m.eleparts.co.kr/goods/view?no=3030452)

(I just wanted to purchase sensor only, but I can’t sure, I could attach these sensors to my existing RPi, so I posted a question to a forum https://www.cooking-hacks.com/forum/viewtopic.php?f=43&t=19434&sid=d89e064868d4a0dce0c58ea7a6490bde)

And, I tested DHT11 as https://github.com/deokgonkim/rpi_sensor

 

My next step will be,

  1. set up a messaging queue, like Rabbit MQ

  2. set up a web/api server for gathering the data and the controll center.

  3. my existing bot code shoud be migrated to a new server, and these two RPi should listen to MQ for commands, and should send data to MQ.

 

To be continued…

Read full post gblog_arrow_right

My first Apple Watch died.

My first Apple Watch died. (1st generation 42mm stainless steel) I have worn it for about 3.5 years. (since 2015.08. ~ 2019.02. ) Yesterday, I noticed top panel is popped up. So, I googled some known issues like this kind of accident. and I found there was an issue regarding battery swollen. (you may see the swollen battery or not. I think it is swollen.) The warranty is limited to 3 years, so I can’t get the repair service from authorized apple repair center.
Read full post gblog_arrow_right

Test

Test page your code here import Tkinter as tk root = tk.Tk() app = tk.Frame(root) app.pack() root.mainloop()

Year 2018

Python Tkinter Desktop App Raspberry pi HVAC Wifi Remote, Telegram chatbot 9월 : 쌀밥 -> 고기야채로 전환 (저녁만 해당, 아침은 라면(밥->라면으로 복귀)) Hulk server reborn -> 빈 서버로 몇 달간 방치되어 있다가, 일반적인 개발 서버로 용도 전환. (메모리도 32GB로 확장) 10월 iPhone 7으로 바꿈. (iPhone 6S 3년) iOS 앱 개발 준비중(Objective-C) : 여전히 앱스토어에는 올리지 못하고, 연습만 계속 중. Python 개발 기록 3월 : 에이전트 형태의 데몬 개발.
Read full post gblog_arrow_right

telegram bot 제 2탄

텔레그램 봇을 만들어 보았었지요. 이번엔 그 두 번째 이야기. HVAC IR Remote라는 라즈베리파이에 올릴 수 있는 IR Transceiver를 구매하고, 원격에서 집에 있는 장치를 리모콘 조작하듯이 켜고 끌 수 있는 것을 만들어 보았습니다. Github : https://github.com/deokgonkim/lirc-telegram-bot # hvac-telegram-bot My Hardware Raspberry Pi Model B. (old one) HVAC IR Remote for arduino / Raspberry Pi https://www.cooking-hacks.com/hvac-ir-remote-shield-for-raspberry-pi https://www.cooking-hacks.com/documentation/tutorials/control-hvac-infrared-devices-from-the-internet-with-ir-remote/ Setting up HVAC IR Remote for LIRC Instructions https://www.
Read full post gblog_arrow_right

Year 2017

2016년 기록과 마찬가지로, 2017년말에 작성했어야 하는데, … 2017년 기록을 17일이나 지나서 기록하게 되었다. … 2017년에는 무슨 일이 있었나? 2017년, 2가지 막일을 했다. 한 2달? 따뜻했던 여름, … 정장을 갖춰 입던 것 보다는, 가벼운 옷차림이라, 여름이 별로 덥지 않다고 생각했다. 그래서, 몸무게가 많이 줄었었다. 10월, SM을 하는 직장을 구했다. 처음에는 Python이라 올ㅋ 했었으나, 지금은 헐ㅋ 하고 있다. ㅋㅋㅋ 그리고, 봄에는, 차 가벼운 접촉사고도 있었다. 지른 것? Yubikey - Google, Dropbox에는 2FA 등록하였고, Comodo SMIME 인증서 담았고, Vostro 260s 로그인 보안으로 사용한다.
Read full post gblog_arrow_right

Yubikey 이메일 인증 및 전자서명용으로 사용해보다.

yubikey 질렀었지요. 오늘은, 그동안 사용하지 않았던, 개인인증서를 다시 써볼까 싶어서 잠시 시간을 내었습니다. comodossl에서 해보자. https://www.comodossl.co.kr/certificate/Secure-Email-Stages.aspx 국내 리셀러?를 통하지 않고 comodo에서 바로 온라인으로 구매합니다. https://secure.comodo.net/products/frontpage?area=SecureEmailCertificate¤cy=USD®ion=Asia%20%26%20Pacific&country=KR%20 이름, 이메일 주소를 입력하면, 인증서를 발급 받을 수 있습니다. 개인용 이메일 인증서는 무료로 제공하지요. 별도의 심사 같은 것 없고, 딱 위에 입력한 것만으로 발급이 바로 진행됩니다. 발급시에는 yubikey로 바로 넣는 것이 아닌, 소프트웨어 인증서 저장소를 택했습니다. (혹시나 핸들링에 문제가 있을까 싶어서) 그리고, 인증서를 파일로 백업한 후, PIV Manager 통해서 다시 넣었습니다.
Read full post gblog_arrow_right

yubikey를 질렀습니다.

yubikey를 질렀습니다. https://www.yubico.com/product/yubikey-4-series/ 물론, 해외직구를 하면 좋으나(?) 배송비가 배보다 배꼽이 커서, … 국내 대행사를 통해서 구매하였습니다. 처음에는, 인증서 저장도 염두에 두었습니다. (사실, 2FA보다 여기에 무게를 더 두었습니다.) 그리고, 받아서 사용해 볼려고 끄적거렸고, Mac에서 잘 되었습니다. 하지만, 아직은 Mac로그인용으로는 사용하지 않고, SMIME인증서 저장으로 활용해 보려 했습니다. Firefox, Thunderbird에서 라이브러리 설치해서 인식은 하는데, 인증서 저장에서 에러가 발생하더군요. 그리고, OpenOffice에서 서명을 시도했습니다. 마찬가지로, 인식해서 뜨긴 하는데, 인증서는 뜨지 않았고, … 찾다보니, yubikey에서 제공하는 프로그램에서 인증서를 넣는 것이 보였습니다.
Read full post gblog_arrow_right