This sensor board meets most of my home-automation hardware needs. It fits in a cheap, widely-available enclosure (no 3d printing required), and can be powered either by a LiPo battery ...
If your issue is a general question, starts similar to "How do I..", is related to 3rd party libs, or is related to hardware, please discuss at a community forum like esp8266.com. If you do not follow ...