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…

2019/05/29

https://www.rabbitmq.com/tutorials/tutorial-one-python.html

yum install rabbitmq-server

pip install pika

https://github.com/deokgonkim/rpi_sensor/commit/dc95b7408ff36fca38d0cc3044760f6c5d9b5967

https://github.com/deokgonkim/lirc-telegram-bot/commit/30d019286a8e30f3f7d9f31804d7c402b4e09f7e

 

2019/05/30

https://www.cooking-hacks.com/forum/viewtopic.php?f=43&t=19434&sid=b35e377ce464afdb35b206048f90ee3d

Ok, I guess I can do, (first, I need to know the pin)

https://www.cooking-hacks.com/documentation/tutorials/raspberry-pi-to-arduino-shields-connection-bridge/

And It works,

And the codes,

https://github.com/deokgonkim/rpi_sensor/commit/763ba06985067a11f95ae087e8ac224c8b49e86d

To be continued.

 

2019/06/02

I switched MQ from direct queue to fanout-exchange.

I defined protocol, for extensible.

I prepared persistent storage. RDB.

so the code. https://github.com/deokgonkim/dgkimnet-homeserver/commit/cc46a6b67904dd8a54466b30499119748dbf3304

To be continued…

 

2019/06/03

Just, server project, progress. one milli-codes?

https://github.com/deokgonkim/dgkimnet-homeserver/commit/1b6b13d06214422393dfad2cd32baaffa93b4990

 

2019/06/15

Finally, the original idea has completely implemented.

https://github.com/deokgonkim/dgkimnet-homeserver/commits/master

글쓴이

김 덕곤

IT Engineer. Linux.

6 thoughts on “2019 May IoT project”

  1. 빠른 답변 감사합니다. 간단한 얘기를 나누고 싶은데 혹시 가능할까요?? 이러한 사이트개발에 관심이 있습니다. 저는 약사구요. 약사들을 위한 저런 사이트를 만들어 보고 싶습니다.

  2. 그런데 주신 링크를 따라 들어갔는데 오픈소스인데 어떻게 사용하죠… 공식사이트도 접속이 안되네요.

  3. 예. 아쉽게도 더이상 공식 사이트는 운영되지 않고 있는 것 같으며, 기능이 유사한 다른 소프트웨어를 찾아 보면 비슷한 것이 있을 것입니다. 구글에서 osqa alternative 같은 것으로 검색을 하시면..

  4. 혹시 간단한 얘기를 나누고 싶은데…카카오톡 아이디라도 혹시… 가능할까요…

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다