{"id":2766,"date":"2022-03-24T22:10:50","date_gmt":"2022-03-24T22:10:50","guid":{"rendered":"http:\/\/funkboxing.com\/wordpress\/?p=2766"},"modified":"2022-08-22T21:00:20","modified_gmt":"2022-08-22T21:00:20","slug":"i-love-lamp","status":"publish","type":"post","link":"http:\/\/funkboxing.com\/wordpress\/?p=2766","title":{"rendered":"I Love Lamp"},"content":{"rendered":"\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" loading=\"lazy\" width=\"2560\" height=\"1920\" src=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2022\/03\/IMG_20220322_074022445-scaled.jpg\" alt=\"\" data-id=\"2768\" data-full-url=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2022\/03\/IMG_20220322_074022445-scaled.jpg\" data-link=\"http:\/\/funkboxing.com\/wordpress\/?attachment_id=2768\" class=\"wp-image-2768\" srcset=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2022\/03\/IMG_20220322_074022445-scaled.jpg 2560w, http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2022\/03\/IMG_20220322_074022445-300x225.jpg 300w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" loading=\"lazy\" width=\"2560\" height=\"1920\" src=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2022\/03\/IMG_20220322_074104033-scaled.jpg\" alt=\"\" data-id=\"2767\" data-full-url=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2022\/03\/IMG_20220322_074104033-scaled.jpg\" data-link=\"http:\/\/funkboxing.com\/wordpress\/?attachment_id=2767\" class=\"wp-image-2767\"\/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>I like these gooseneck desk lamps a lot and I&#8217;ve had this one for more than 10 years.<\/p>\n\n\n\n<p>For the past 2-3 it&#8217;s had a E27 socket to AC adapter powering a USB charger powering a bare ESP32cam dangling out of the head as a really lazy security camera rig. It ran esphome and piped to hassio.<\/p>\n\n\n\n<p>I finally got a wild hare to make it less obviously lazy and popped in a raspberry pi zero W with a camera and a relay controlling the head light The raspi runs motioneyeos and pipes to hassio. The relay fires from the motioneyeos UI and I finally got it to fire from hassio by a shell command switch that uses ssh to run a gpio script on the pi.<\/p>\n\n\n\n<p>I had to remove the base weight to get all the electronic in and that left it a little top-heavy, so I just hot-glued in a half-pound or so of bismuth pellets because I am a person who owns a startling quantity of bismuth for reasons that are probably explained elsewhere on this site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like these gooseneck desk lamps a lot and I&#8217;ve had this one for more than 10 years. For the past 2-3 it&#8217;s had a E27 socket to AC adapter powering a USB charger powering a bare ESP32cam dangling out of the head as a really lazy security camera rig. It ran esphome and piped <a href='http:\/\/funkboxing.com\/wordpress\/?p=2766' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[47],"tags":[],"_links":{"self":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2766"}],"collection":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2766"}],"version-history":[{"count":1,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2766\/revisions"}],"predecessor-version":[{"id":2769,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2766\/revisions\/2769"}],"wp:attachment":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2766"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}