For my new flat I wanted controllable RGB LED stripes. Problem is, most of the controllable cheap ones only have IR remotes, so the receiver must be in line of sight of the remote somehow. That has several drawbacks: you cannot install it behind some furniture without the receiver sticking out, and synchronizing across several rooms is hard.
My solution was to pick some of the RGB LED WiFi controllers (LW12). These come with a neat Smartphone-App to control them.
The ESP2866 is a nifty and cheap WiFi cheap with which you can easily let an arduino talk over WiFi, or send sensor data even without an arduino by just reading the ESPs GPIOs.
In this article I will describe the wiring of the module, how to add an PIR movement sensor, provide Arduino code as well as a simple python REST-Server to which the data will be sent.
In my recent activities with different atmegas and lcd displays I had the need to save some images as pixel data to display them (e.g. icons, images, etc.). I used matlab to open the images, convert them to pixel data and save them as integer arrays: