Upgrade to Pro — share decks privately, control downloads, hide ads and more …

部屋をナイトシフトする in Node-RED UG

部屋をナイトシフトする in Node-RED UG

HomeKit + homebridge + Node-RED + irMagician で部屋の明かりを調光してみた話

Shingo Tamaki

June 27, 2016
Tweet

More Decks by Shingo Tamaki

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ ۄ৓ ৴ޛ • iOS ΤϯδχΞ • ޷͖ͳiOSͷϑϨʔϜϫʔΫ HomeKit •

    ΨδΣοτ޷͖ • ిࢠ޻࡞࢝Ί·ͨ͠ɻRaspberry PiɺArduinoɺEdison
  2. irMagicianͱ͸ʁ • PCରԠܕͷ੺֎ઢϦϞίϯγεςϜ • ϗετͱͷ઀ଓ͸USB • ΤΞίϯͷϦϞίϯͷֶश͕Մೳ • CDC-ACMΛ࠾༻͠ɺओཁͳOS(Windows, MacOSX,

    Linux, ͦͷଞ)ʹରԠ • ٕज़ࢿྉΛެ։͍ͯ͠ΔʢΦʔϓϯιʔεԽʣ http://www.omiya-giken.com/?page_id=837
  3. !

  4. σόΠε৘ใҰཡΛදࣔͨ͠Γ $ irMagician info ----------------------------------- [irMagician Infomation] 0) Version :

    1.0.3 1) IR change point : 60 (3c) 2) Max of high IR signal : 33578 (832a) 3) Min of high IR signal : 1178 (49a) 4) Max of low IR signal : 3819 (eeb) 5) Min of low IR signal : 1183 (49f) 6) postScaler : 256 (100) 7) current bank : 0 (0) -----------------------------------
  5. HelpݟͨΓ͢Δࣄ͕Ͱ͖·͢ $ irMagician CLI Tool for irMagician Usage: irMagician <command>

    [file] Command capture Capture a IR data play Send a IR data dump Dump written data write Write a IR data from json info Show irMagician Infomation showPorts Show device ports Options -p, --port Device port Examples irMagician capture irMagician dump data.json irMagician write data.json