2020年8月31日 星期一

Resumable Upload

上傳斷點續傳

Tus
https://uppy.io/docs/tus/

Resumable.js

A JavaScript library providing multiple simultaneous, stable
and resumable uploads via the HTML5 File API

http://resumablejs.com/

2020年8月6日 星期四

Home Assistant

Home Assistant 官方
https://www.home-assistant.io/

Home Assistant 中文化
https://home-assistant.cc/

LG ThinQ Devices integration for HomeAssistant
https://github.com/ollo69/ha-smartthinq-sensors

阿佑桑:
Homeassistant 做為居家的控制中心
ESP 系統 DIY 模組, 改刷 ESPHome 自製為體接入
Zigbee 系統, 樹莓+cc2531 做 zigbee2mqtt 網關接入
藍芽體系, 弄個 ESP32 開發版刷 OpenMQTTGateway 做網關接入
IR/RF 體系, 選擇 Broadlink RM Pro 做網關接入

docker run --init -d --name="home-assistant" -e "TZ=Asia/Taipei" -v /c/config:/config -p 8123:8123 homeassistant/home-assistant:stable

docker pull homeassistant/home-assistant:stable

docker run -it -p 1883:1883 -p 9001:9001 eclipse-mosquitto

https://github.com/thomasnordquist/MQTT-Explorer

Google Home types

  • alarm_control_panel (arm/disarm)
  • camera (streaming, requires compatible camera)
  • group (on/off)
  • input_boolean (on/off)
  • input_select (option/setting/mode/value)
  • scene (on)
  • script (on)
  • switch (on/off)
  • fan (on/off/speed)
  • light (on/off/brightness/rgb color/color temp)
  • lock
  • cover (on/off/set position)
  • media_player (on/off/set volume (via set volume)/source (via set input source)/control playback)
  • climate (temperature setting, hvac_mode)
  • vacuum (dock/start/stop/pause)
  • sensor (temperature setting for temperature sensors and humidity setting for humidity sensors)
  • humidifier (humidity setting/on/off/mode)