Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 애플
- 월패드
- Python
- raspberry pi
- esp32
- 국내주식
- ConnectedHomeIP
- Espressif
- Apple
- 퀄컴
- RS-485
- 코스피
- 파이썬
- MQTT
- matter
- Bestin
- Home Assistant
- homebridge
- 미국주식
- 힐스테이트 광교산
- 해외주식
- 취미생활
- 홈네트워크
- 현대통신
- 매터
- 나스닥
- 오블완
- 배당
- 엔비디아
- 티스토리챌린지
Archives
- Today
- Total
목록server (1)
YOGYUI
광교아이파크::난방 Apple 홈킷 연동 (3)
[3] 서버 구현하기 기존에 구현해둔 Flask 서버 코드에 난방 관련 코드를 추가하자 아직 어떤 homebridge plug-in을 쓸지 결정하지 않았으므로 뼈대만 구축해둔다 RoomInfo 클래스에 난방 관련 (On/Off, 현재 온도, 설정 온도) 속성 추가 Serial 통신 객체 추가 Serial Packet Parsing (난방 관련) 구문 추가 # app.py import os import sys import time import queue import requests from typing import List from flask import Flask, request, json, render_template from common import RoomInfo from Serial485.Seri..
홈네트워크(IoT)/광교아이파크
2021. 1. 2. 19:26