iot sensor

Tables (5)

iot_auth_info

  • idx — int(11) — Primary key — NOT NULL — iot 인증 정보
  • user_idx — int(11) — Primary key — NOT NULL — 유저 인덱스
  • board_tempname — int(11) — NOT NULL — 보드 임시 번호(사용자에게 보여주는 코드)
  • board_serial — int(11) — NOT NULL — 보드 시리얼 번호(개발자만 아는 코드)
  • created_at — DATATIME(6) — NOT NULL — 생성 날짜
  • updated_at — DATATIME(6) — NOT NULL — 업데이트 날짜
  • deleted_at — DATATIME(6) — 삭제 날짜

iot_board_personal

  • idx — int(11) — Primary key — NOT NULL — 고유값
  • user_idx — int(11) — Primary key — NOT NULL — 유저인덱스
  • idx (auth_idx) — int(11) — Foreign key → iot_auth_info.idx — NOT NULL — 인증 코드 인덱스
  • cage_name — verchar(32) — NOT NULL — 보드명(케이지 이름)
  • current_uvb_light — int(5) — NOT NULL — 현재 uvb 램프 현황
  • current_heating_light — int(5) — NOT NULL — 현재 히팅 조명 현황
  • auto_chk_light — int(5) — NOT NULL — 조명 자동화 현황
  • auth_chk_temp (auto_chk_temp) — int(5) — NOT NULL — 온도 자동화 현황
  • auth_chk_humid (auto_chk_humid) — int(5) — NOT NULL — 습도 자동화 현황
  • current_temp — float — 첫번째 현재 온도
  • current_temp2 — float — 두번째 현재 온도
  • max_temp (maxtemp) — float — 최고 온도
  • min_temp (mintemp) — float — 최저온도
  • current_humid — float — 첫번째 현재 습도
  • current_humid2 — float — 두번째 현재 습도
  • max_humid — float — 최고습도
  • min_humid — float — 최저습도
  • usage — verchar(32) — 보드 사용 용도
  • auto_light_utctime_on — verchar(40) — pico에서 켜지는 시간
  • auto_light_utctime_off — verchar(40) — pico에서 꺼지는 시간
  • created_at — DATATIME(6) — NOT NULL — 생성 날짜
  • updated_at — DATATIME(6) — NOT NULL — 업데이트 날짜
  • deleted_at — DATATIME(6) — 삭제 날짜

iot_control_record

  • idx — int(11) — Primary key — NOT NULL — 센서 상태 리스트
  • idx (board_idx) — int(11) — Foreign key → iot_board_personal.idx — NOT NULL — 보드 인덱스
  • uvb_light — int(5) — NOT NULL — uvb 조명 현황
  • heating_light — int(5) — NOT NULL — 히팅 조명 현황
  • water_pump — int(5) — NOT NULL — 워터펌프 현황
  • cooling_fan (coolingpan) — int(5) — 쿨링팬 현황
  • type (type) — int(5) — NOT NULL — 1. auto, 2. passive
  • created_at — DATETIME(6) — NOT NULL — 생성날짜
  • updated_at — DATETIME(6) — NOT NULL — 업데이트 날짜
  • deleted_at — DATETIME(6) — 삭제 날짜

iot_emergency

  • idx — int(11) — Primary key — NOT NULL — 센서 상태 리스트
  • idx (board_idx) — int(11) — Foreign key → iot_board_personal.idx — NOT NULL — 고유값
  • Field (module) — int(5) — 발생 모듈
  • Field2 (limit) — verchar(32) — 한계를 넘은 부분
  • Field3 (current_temp) — float — 첫번째 현재 온도
  • Field4 (current_humid) — float — 첫번째 현재 습도
  • Field5 (current_temp2) — float — 첫번째 현재 온도2
  • Field6 (current_humid2) — float — 첫번째 현재 습도2
  • type (type) — int(5) — NOT NULL — 1. auto, 2. passive
  • date (created_at) — DATETIME(6) — NOT NULL — 생성날짜
  • Field (updated_at) — DATETIME(6) — NOT NULL — 업데이트 날짜
  • Field2 (deleted_at) — DATETIME(6) — 삭제 날짜

iot_nature_record

  • idx — int(11) — Primary key — NOT NULL — iot 내부 상태
  • idx (board_idx) — int(11) — Foreign key → iot_board_personal.idx — NOT NULL — 보드인덱스
  • current_temp — float — 첫번째 현재 온도
  • current_humid — float — 첫번째 현재 습도
  • current_temp2 — float — 첫번째 현재 온도2
  • current_humid2 — float — 첫번째 현재 습도2
  • type — int(5) — NOT NULL — 1. auto, 2. passive
  • created_at — DATATIME(6) — NOT NULL — 생성 날짜
  • updated_at — DATATIME(6) — NOT NULL — 업데이트 날짜
  • deleted_at — DATATIME(6) — 삭제 날짜