{"id":10154,"date":"2015-03-31T11:31:56","date_gmt":"2015-03-31T15:31:56","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=10154"},"modified":"2015-03-31T11:31:56","modified_gmt":"2015-03-31T15:31:56","slug":"adding-esp8266-module-ikea-molgan-light","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/adding-esp8266-module-ikea-molgan-light\/","title":{"rendered":"Adding ESP8266 module to IKEA Molgan Light"},"content":{"rendered":"<p><a href=\"http:\/\/www.ikea.com\/sg\/en\/catalog\/products\/40263730\/\" target=\"_blank\">IKEA Molgan<\/a> is a battery powered night light with a built-in motion (PIR) sensor. This <a href=\"http:\/\/www.terenceang.com\/archives\/31\" target=\"_blank\"><strong>hack<\/strong> <\/a>describes how to add the ESP8266 WiFi module and use it for motion detection and remote notification through Internet.<\/p>\n<div id=\"attachment_10155\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/?attachment_id=10155\" rel=\"attachment wp-att-10155\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10155\" class=\"size-medium wp-image-10155\" alt=\"Night light notifies the user about motion detection through WiFi\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/03\/MH6-550x412.jpg\" width=\"550\" height=\"412\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/03\/MH6-550x412.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2015\/03\/MH6.jpg 660w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-10155\" class=\"wp-caption-text\">Night light notifies the user about motion detection through WiFi<\/p><\/div>\n<blockquote><p>My original plan was to use an cheap Ebay PIR and 3D printed case for this project but I happen to have a spare<a href=\"http:\/\/www.ikea.com\/sg\/en\/catalog\/products\/40263730\/\">Ikea Molgan PIR light<\/a>\u00a0lying around, I opened it up and take a peek inside and decided to work this hack with it, overall this is an attractive and cheap unit.<\/p>\n<p>Removing the top dome was easy as it is friction fitted and held together with some tape, upon closer examination, it uses the same parts as most cheap Ebay PIR, just with a bigger dome lens, LEDs and battery holder. Running on 3 x AAA battery , voltage wise it is pretty ideal but I don\u2019t think it will last too long once I hook the ESP8266 to it.<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IKEA Molgan is a battery powered night light with a built-in motion (PIR) sensor. This hack describes how to add the ESP8266 WiFi module and use it for motion detection and remote notification through Internet. My original plan was to use an cheap Ebay PIR and 3D printed case for this project but I happen to have a spareIkea Molgan PIR light\u00a0lying around, I opened it up and take a peek inside and decided to work this hack with it, overall this is an attractive and cheap unit. Removing the top dome was easy as it is friction fitted and<\/p>\n","protected":false},"author":1,"featured_media":10155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1044],"tags":[1130,1131],"class_list":["post-10154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esp8266","tag-esp8266-hacks","tag-iot-notification"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/10154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=10154"}],"version-history":[{"count":2,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/10154\/revisions"}],"predecessor-version":[{"id":10157,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/10154\/revisions\/10157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/10155"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=10154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=10154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=10154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}