ãã«ããCAM2ãTapo C200 ã Homeassistant ã§åãã
ãŸããã 以åãã©ãºãã€ã§ç«ã«ã¡ã©ãäœããŸããïŒã«ããCAM1ïŒã ä»åã¯ã2ã§ãã homeassistantãšTP-linkã®ipã«ã¡ã© Tapo C200 ã䜿ã£ãŠæ§ç¯ããŸããã ãã£ã¡ã®ã»ããå šç¶ç°¡åã§ãç¬ã ã«ããCAM1 part1ãã8ãŸã§èšäºãåãããŠããŸãã å šäœã¯8ãèŠãã°ããããŸãã 8ã®ãªã³ã¯ã®ã¿èŒããŠãããŸãã ã«ããCAM1ããã®æ§èœã¢ããå 容 ã«ããCAM1ã¯ç»åãLINEã§å®æéä¿¡ïŒ30åããšïŒãæ©èœã§ããããããã«å ããŠä»¥äžãè¿œå ããŸããã ã»ãšãã©ã«ã¡ã©ã®ããã©ã«ãã®æ©èœã§ããã æèŠ åäœæ€ç¥ åç»é ä¿¡ ã«ã¡ã©èšçœ®ã®èªç±åºŠåäž ç»è³ªåäž ç°¡çŽ å 以äžã«è©³ããèšèŒããŸãã æèŠ ã«ã¡ã©ã®ããã©ã«ãã®æ©èœã§ãã IRã«ã¡ã©ãæèŒãããŠãããåšãã®æããã«å¿ããŠèªåã§ã«ã¡ã©ãåãæ¿ãããŸãã æãã®ãããå€ãè¶ããã°IRã«ã¡ã©ã«åãæ¿ãããŸãã ã«ããCAM1ã§ã¯æ®éã®webã«ã¡ã©ã䜿ã£ãŠããã®ã§ãæããªããšå šãæ ããŸããã ãã®ãããå€ã§ãèæãé»æ°ãã€ããŠããŸããã 2ã§ã¯ãã®å¿ èŠããªããªã£ããããã«ãããã®è² æ ãæžãã§ãããã äžå¿ãã«ããCAM1ã§ãIRã®webã«ã¡ã©ãè²·ã£ãŠåäœç¢ºèªã¯ããŸããããé¢åããããŠå®å šå°å ¥ã¯ããŠããŸããã§ããç¬ã åäœæ€ç¥ ãããã«ã¡ã©ã®ããã©ã«ãæ©èœã§ãã 30åããšã®æ®åœ±ã§ã¯è¯ãã¿ã€ãã³ã°ãéããŠããŸãããšã¯å€ã ãããŸãã ã«ã¡ã©ã®èšçœ®ç®çã¯ãçå®çªã«åé¡ãªãããªïŒã®ç¢ºèªçšãšã¯èšã£ãŠãããã£ä»ãŠã³ã³ð©ããïŒã飯é£ã¹ãŠãïŒããªã¢ã«ã¿ã€ã ã«ãããã®ã¯å¬ããã§ãã åç»é ä¿¡ ãããããã©ã«ãæ©èœã§ãã ããŸãèŠãŸãããããªã¢ã«ã¿ã€ã ã§èŠãããšããå®å¿æã¯å€§ããã§ãã homeassistantã®ãªãŒããŒãã¥ãŒã«è¡šç€ºããŠããŸãããå€åºå ããã¯tailscale(VPN)ã§ã¢ã¯ã»ã¹ããŠç¢ºèªããŸãã ã«ã¡ã©èšçœ®ã®èªç±åºŠåäž ã«ã¡ã©ãšé»æºã³ãŒãã®ã¿ãªã®ã§çœ®ãå Žæã®èªç±åºŠãããããŸãã ã«ããCAM1ã§ã¯ã©ãºãã€æ¬äœãšwebã«ã¡ã©2å°ããã€ãœãŒã®ã¯ã€ã€ãŒãããã«åºå®ããŠããã®ã§å€§ããããèšçœ®äœçœ®ãéãããŸããã ããã解æ¶ããŸããã ãŸããipã«ã¡ã©ãªã®ã§ãã«ã¡ã©ã容æã«å¢ãããã®ãã¡ãªããã§ãã ç°¡çŽ å homeassistantæ¬äœïŒã©ãºãã€ïŒã¯ã«ãŒã¿ãŒããã¯ã¹ã«åžžèšããŠããWOLãµãŒãçšã©ãºãã€ã«å ¥ããã®ã§ãã«ã¡ã©äœ¿çšæã¯ã«ã¡ã©ã ãèšçœ®ããã°è¯ããªããŸããã ã€ãã§ã«WOLæ©èœãhomeassistantã«æ§ç¯ããŠããŸãã åŸã»ã©çŽ¹ä»ããŸãã ãããã ãããŸã§èªãã§ããã ããŠèšãã®ãããã§ãããããããhomeassistantã䜿ããªããŠãtp-linkã®ã¢ããª(tapoã¢ããª)ã䜿ã£ãŠæ®éã«äœ¿ãã ãã§ååé«æ§èœã§ãã äžèšããåäœæ€ç¥ãæèŠã¯äœ¿ããŸãããã¢ãã€ã«åç·ãããåç»ãèŠããŸãã ãããäœã§ããããïŒãªã®ã§ããã以äžãçç±ã§ãã tp-linkã®ãµãŒãã«åç»ããããããªã LINEã§ç»åã確èªããã homeassistantã§æ§ç¯ã§ããæ©èœã䜿ããã 1ã«ã€ããŠã¯ãã¢ãã€ã«åç·ããåç»ãèŠããŠããæç¹ã§tp-linkã®ã©ã£ãã®ãµãŒãã«åç»ãäžãã£ãŠããããã§ãã åç»ã®ãããªãã©ã€ããŒãæ§ã®é«ããã®ãç¥ããªããµãŒãã«äžããã®ã¯æ°æã¡ãæªãã§ããïŒãããèšã£ããä»ã®ã¯ã©ãŠããµãŒãã¹ãäžç·ã§ããã©ãïŒ Amazonã®ã¬ãã¥ãŒãèŠããšãã«ã¡ã©ãåæã«åãããšãtapoã¢ããªã®ãã©ã€ãã·ãŒããªã·ãŒã«ã¯ç¬¬3è ãåç»ãèŠãŸããïŒïŒâããèªãã§ãªãïŒçãªããšãæžããŠãã£ãŠåæããªããšã¢ããªã䜿ããªããšãäœãšãã ãªã©è«žã ãèããŠLANã®ã¿ã®éçšã«ããŸããã åŸã»ã©è©³ããèšèŒããŸãããã«ãŒã¿ã®èšå®ã§tapoã®ã€ã³ã¿ãŒãããã¢ã¯ã»ã¹ãé®æããŠããŸãã WANããã¯tailscale(VPN)ã䜿ã£ãŠã¢ã¯ã»ã¹ããŸãã 2ã«ã€ããŠã¯ã«ããCAM1ã®æ©èœãç¶æããããã§ãã tapoçŽæ£ã§ã¯ãã®æ©èœã¯ç¡ãïŒèª¿ã¹ãŠãªãããæ£ããïŒã®ã§ãäœãããšã«ããŸããã 3ã«ã€ããŠã¯ãWOLãtailscaleã®ããšã§ãã æ¥ã ã®éçšæ¹æ³ homeassistantã¯åžžã«èµ·åããŠãããWOLãtailscaleã®ãµãŒããšããŠåäœããŠããŸãã ãããŠå¿ èŠãªãšãã«ã«ã¡ã©ã®é»æºãå ¥ããã°homeassistantããèŠããããã«ãªããç£èŠãéå§ããŸãã ã«ã¡ã©ãäžèŠã«ãªã£ãããã«ã¡ã©ã®é»æºãæãã°ããã§çµããã§ãã ç°å¢ raspi 3B+ 32GB SDã«ãŒã 倱æã¡ã¢ 以äžã«èšèŒããã®ã¯æ§ç¯æã®èªåã¡ã¢ã§ãã...