ä»ã¯Raspberry Pi 4ãŸã§åºãŠããŸããã
ããã¯ãRaspberry Pi Model B+ V1.2ïŒRaspberry Pi 1ïŒïŒ2014ïŒã®è©±ã§ãã
ä»æŽäœ¿ãããšããã®ãïŒãªããŠããšãèããŸãããã¹ããã¯ã¯äœãã§ããã倧ããããšããããªããã°ãé»æºå®¹éã1Aãããã®å°ããã®ã§è¯ãïŒãã®èŸºã«è»¢ãã£ãŠããå®ç©ACã¢ããã¿ã§è¯ãïŒãããããªã«çºç±ããªãããç±åŠçæ°ã«ããªããŠããããã»ã»ã»ãªã©ãªã©ãããŸãæ°ã«ããªããŠãäœãšãªãåããŠãããã®ã§æ¥œãªãã§ãã
ã§ãSmart Homeãå®çŸããããã«æåã¯Home AssistantãRaspberry Pi 1ã«å
¥ããŠæŸã£ãŠããããšæã£ãã®ã§ãããè²ã
è©°ãŸã£ãŠçµå±ãã¡ã ã£ãã®ã§ã·ã§ã¢ããããšæããŸãã
Home Assistantã¯dockerãèµ°ãããšã§åäœããŸãã®ã§ãdockerãåããªããšHome Assistantã¯åããŸããã
ä»ã¯ãRaspberry Pi 3B+ã䜿ã£ãŠHome AssistantãåãããŠããŸã(^^)
Home Assistantã«ã€ããŠã¯ä»¥äž
çµæ Raspberry Pi Model B+ V1.2ïŒRaspberry Pi 1ïŒïŒ2014ïŒã§ã¯dockerã¯åããŸããïŒïŒåããæ¹æ³ã¯ãããŸãã®ã§åŸè¿°ïŒ
æ£ç¢ºã«ã¯ãRasbianã§ã¯åããªãã§ãã
çç± ã¢ãŒããã¯ãã£ã®åé¡ã§ãã
Raspberry Pi 2ããSoC,CPUãå€ãã£ãŠããŸããŠã2ããã¯dockerãåããŸããïŒSoC,CPUã«ã€ããŠã¯Wikiã«èšèŒããããŸãïŒ
å®éã«è©ŠããŠãã ãã£ãŠããæ¹ãããŸãã
ãã®ããšãããããŸã§ã©ãã ãæéãèŠãããã»ã»ã»ç¬
Home Assistantãã€ã³ã¹ããŒã«ããã¯è¯ãããdocker does not working(çãªïŒã¡ãã»ãŒãžãåºç¶ããäœåºŠããçŽããŠããã¡ãè©°ãã§ãŸãããçããŸãæ°ãã€ããã ããã
ããã§ãRaspberry Pi 1ã§Home Assistant(docker) ãåãããã ã§ãå®å
šã«é§ç®ã£ãŠããã§ã¯ãªããdockerãRaspberry Pi 1ã§åããæ¹æ³ã¯ãããŸãã
OSã¯Rasbianã§ã¯ãªãããHypriotOSãã䜿ããŸãã
å
¬åŒãµã€ãã¯ä»¥äž
ã²ãšã€ãªãã®å€§ç§å®æããããŸãããå
容ã¯ãšãŠãçé¢ç®ã§ãïŒçé¡ïŒ
ã¿ããªãã¯ããæããã©ãäžã®äººã¯ãã£ãšãã人ã ãšæã£ãŠããããã§ããç§ãããæããŸãããã
dockerãäºãã€ã³ã¹ããŒã«ãããRaspberry Piçšã®OSã§ããRasbianããŒã¹ãšã©ããã§èããããšããããŸããã詳ããã¯ããããŸããã
ã€ã³ã¹ããŒã«ã«ã¯ä»¥äžãµã€ããããåèã«ãããŠããããŸããã
ããšãç¡ç·LANã§éçšãããã£ãã®ã§ãããwifièšå®ãã©ãããŠãããŸããããŸããã§ãããïŒRasbianã§ã¯åãåšèŸºç°å¢ã§ããŸããããŸããã®ã§ãã®OSã§ããŸãè¡ããªãã£ãã®ã ãšæã£ãŠããŸãïŒ
Raspeberry Pi 1ã§ã¯ãç¡ç·LANã¢ãžã¥ãŒã«ã¯èŒã£ãŠããªãã®ã§ãå€ä»ãã®ç¡ç·LANã¢ããã¿ã䜿ã£ãŠããããšãåå ããªãšã¯æã£ãŠããŸãïŒããã€ã¹ãèªèããŠããªãã£ãçïŒ
ãªã®ã§ãRaspberry Pi 2以éã®åºæ¿ã«ç¡ç·LANã¢ãžã¥ãŒã«ãèŒã£ãŠããã¿ã€ãã§ãããããŸããããããããŸãããã
ã¡ãªã¿ã«ãã§ããã£ã±ãå®å®æ§ã«ã¯æç·ã ãïŒãšå¿å€ããããŠçŸåšã®3B+ã§ã¯æç·ã§éçšããŠããŸãïœãwatchdogãå
¥ãããcronã§åèµ·åããããã«ãããããŠããããã10ã¶æã¯å®å®çã«åããŠãããŠããŸãã...